Error: Failed to locate WinUtils binary in the Hadoop Binary Path

0 votes

I tied to run Hadoop version 2.2 which resulted in the following error. I tried the following 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)


Trying to get rid of that error message I set -Dhadoop.home.dir to a meaningful value. Now I am getting something like (local path replaced by variable name): Could not locate executable ${HADOOP_HOME}\bin\winutils.exe in the Hadoop binaries. And guess what: Setting the variable did not make that binary appear. Also, the priority ERROR is wrong, as the application seems to continue. In my eyes that is a bug in Hadoop 2.2.0

Help me out to solve this issue.

Jun 20 in Big Data Hadoop by nitinrawat895
• 10,110 points
24 views

1 answer to this question.

0 votes

I will redirect you to a link where can download winutils.exe  

Then move it to your HADOOP_HOME/bin directory.

This should work.

answered Jun 20 by ravikiran
• 3,560 points

Related Questions In Big Data Hadoop

0 votes
1 answer

IDE Eclipse: Failed to locate the winutils binary in the hadoop binary path

Try this: First, click on file import appliance. Now ...READ MORE

answered Dec 31, 2018 in Big Data Hadoop by Omkar
• 67,120 points
129 views
0 votes
1 answer

failed to start the Namenode format in hadoop generation 2

Hi, You can check this out: 1. Delete all ...READ MORE

answered Jul 2 in Big Data Hadoop by Ria

edited Jul 2 by Gitika 58 views
0 votes
1 answer
0 votes
1 answer

Moving files in Hadoop using the Java API?

I would recommend you to use FileSystem.rename(). ...READ MORE

answered Apr 15, 2018 in Big Data Hadoop by Shubham
• 13,190 points
688 views
0 votes
1 answer

Hadoop giving java.io.IOException, in mkdir Java code.

I am not sure about the issue. ...READ MORE

answered May 3, 2018 in Big Data Hadoop by Shubham
• 13,190 points
330 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,110 points
2,052 views
0 votes
1 answer

hadoop.mapred vs hadoop.mapreduce?

org.apache.hadoop.mapred is the Old API  org.apache.hadoop.mapreduce is the ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,110 points
197 views
0 votes
1 answer
0 votes
1 answer

Unable to Locate WinUtils Library in Hadoop binary path.

If you are facing this problem while running a ...READ MORE

answered Jul 11 in Big Data Hadoop by ravikiran
• 3,560 points
14 views