please see below screenshots , i am getting same issue while running spark prog,can you please helpjava.io.IOException: Could not locate executable C:\hadoop\bin\bin\winutils.exe in the Hadoop binaries.i have added necessary paths.
CodePudding user response:
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\\")



