winutils error:Error while running spark on windows
Solution 1:
Add this comments in your program
downloaded the winutils.exe and placed it in C:/Bin/Winutils.exe
then added the following line to my project at the start of the function
System.setProperty("hadoop.home.dir", "C:\\winutil\\")