Windows 10 , Spark error (bin/bin) does not find winutils.exe file

Asked

Viewed 122 times

1

I installed Spark and Hadoop on Windows 10, and I have an error in the file path winutils.exe. I have already put in the appropriate folder, already set the environment variable HADOOP_HOME as C:\hadoop\bin, but in error appears:

ERROR Shell: Failed to locate the winutils Binary in the Hadoop Binary path
java.io.Ioexception: Could not locate Executable C: Hadoop bin bin winutils.exe in the Hadoop binaries.

These two "bin" appear when it should be one. Strange.

In the directory spark/bin either type spark-shell or pyspark, shows the same error.

I did some tests with Hadoop and it is ok. If anyone can help me thank you.

  • 1

    Thanks to Denis, that’s right, I was looking for where he determined the variable , this was the best solution. Thanks

1 answer

1


Define HADOOP_HOME only as C:\hadoop, error shows the folder bin twice

Browser other questions tagged

You are not signed in. Login or sign up in order to post.