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
• 9,570 points
19 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 2,520 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
• 66,990 points
111 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
• 9,570 points
1,866 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
• 9,570 points
164 views
0 votes
10 answers

hadoop fs -put command?

copy command can be used to copy files ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Sujay
9,305 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,260 points
674 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 4 days ago in Big Data Hadoop by ravikiran
• 2,520 points
10 views
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.