I am receiving a warning which says: Failed to locate the winutils binary in the Hadoop binary path

0 votes

My system is throwing the following error while I tried to start the Name-node for my latest Hadoop-2.2 Version. My system did not find winutils.exe file in my Hadoop bin folder. I tried below codes to fix the issue but it hardly worked. Help me out to sort this out.

$ 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)
May 31 in Big Data Hadoop by nitinrawat895
• 10,510 points
53 views

1 answer to this question.

0 votes

I see that you are facing multiple issues on this one, I wish to help you from scratch.

Download winutils.exe from the following link. This particular link will redirect you to GitHub and your winutils.exe must download from this.

Once your WinUtils.exe is downloaded, try to set your Hadoop Home by editing your Hadoop environmental variables.

You can get the sources from this following link.

You can download Hadoop Binaries from this following link.

Pointing Hadoop Directory #HADOOP_HOME from the external storage alone will not help. You also need to provide System Properties -Djava.library.path=[path]\bin to load the native libraries (DLL).

I hope this must fix your issue. Have a glad day.

answered May 31 by ravikiran
• 4,200 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,290 points
161 views
0 votes
1 answer
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,510 points
2,406 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,510 points
245 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
12,233 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,240 points
898 views
0 votes
1 answer

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

I will redirect you to a link ...READ MORE

answered Jun 20 in Big Data Hadoop by ravikiran
• 4,200 points
45 views
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
• 4,200 points
24 views