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, 2019 in Big Data Hadoop by nitinrawat895
• 11,380 points
6,329 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 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, 2019 by ravikiran
• 4,620 points

Related Questions In Big Data Hadoop

–1 vote
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
• 69,220 points
1,792 views
0 votes
1 answer
+1 vote
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
• 11,380 points
11,077 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
• 11,380 points
2,575 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
109,076 views
–1 vote
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,350 points
4,642 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, 2019 in Big Data Hadoop by ravikiran
• 4,620 points
10,447 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, 2019 in Big Data Hadoop by ravikiran
• 4,620 points
2,100 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP