Here is a good explanation of your problem with the solution.
-
Download the version of winutils.exe from https://github.com/steveloughran/winutils.
-
Set up your
HADOOP_HOMEenvironment variable on the OS level or programmatically:System.setProperty("hadoop.home.dir", "full path to the folder with winutils"); -
Enjoy