java - Spark 1.6-Failed to locate the winutils binary in the hadoop binary path -
i know there similar post one(failed locate winutils binary in hadoop binary path), however, have tried every step suggested , same error still appears.
i'm trying use apache spark version 1.6.0 on windows 7 perform tutorial on page http://spark.apache.org/docs/latest/streaming-programming-guide.html, using code:
./bin/run-example streaming.javanetworkwordcount localhost 9999
however, error keeps appearing:
after reading post failed locate winutils binary in hadoop binary path
i realized needed winutils.exe file, have downloaded hadoop binary 2.6.0 it, defined environment variable called hadoop_home:
value c:\users\geral\desktop\hadoop-2.6.0\bin
and placed on path this: %hadoop_home%
yet same error still appears when try code. know how solve this?
if running spark on windows hadoop, need ensure windows hadoop installation installed. run spark need have winutils.exe , winutils.dll in hadoop home directory bin folder.
i ask try first:
1) can download .dll , .exe fils bundle in below link.
https://codeload.github.com/sardetushar/hadooponwindows/zip/master
2) copy winutils.exe , winutils.dll folder $hadoop_home/bin. 3) set hadoop_home either in spark-env.sh or @ command, , add hadoop_home/bin path.
and try running.
if need assistance hadoop installation help, there nice link, can try it.
http://toodey.com/2015/08/10/hadoop-installation-on-windows-without-cygwin-in-10-mints/
but, can wait. can try first few steps.
Comments
Post a Comment