java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries. spark Eclipse on windows 7

前端 未结 12 740
名媛妹妹
名媛妹妹 2020-11-28 02:49

I\'m not able to run a simple spark job in Scala IDE (Maven spark project) installed on Windows 7

Spark core dependency has be

12条回答
  •  -上瘾入骨i
    2020-11-28 03:27

    Here is a good explanation of your problem with the solution.

    1. Download winutils.exe from http://public-repo-1.hortonworks.com/hdp-win-alpha/winutils.exe.
    2. SetUp your HADOOP_HOME environment variable on the OS level or programmatically:

      System.setProperty("hadoop.home.dir", "full path to the folder with winutils");

    3. Enjoy

提交回复
热议问题