Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Big Data Hadoop & Spark by (11.9k points)

I am getting the following error while starting NameNode for latest hadoop-2.2 release. I didn't find winutils exe file in hadoop bin folder. 

I tried below commands

$ bin/hdfs namenode -format

$ sbin/yarn-daemon.sh start resourcemanager

ERROR [main] util.Shell (Shell.java:getWinUtilsPath(303)) - Failed to locate the winutils binary in the hadoop binary path

java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

    at org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.java:278)

    at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:300)

    at org.apache.hadoop.util.Shell.<clinit>(Shell.java:293)

    at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:76)

    at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:863)

1 Answer

0 votes
by (32.1k points)

Here is a Simple Solution: 

Download it from here

And add to $HADOOP_HOME/bin

Browse Categories

...