Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. QA Testing
  3. Question
QA Testing

Error Failed to locate WinUtils binary in the Hadoop Binary Path

Asked by Bhaanumati Shukla Jul 18, 2021 1.4K views 1 answer
Share

About this question

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 nullbinwinutils.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.(Shell.java:293)
    at org.apache.hadoop.util.StringUtils.(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}binwinutils.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.


Your answer

1 Answer

More QA Testing discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest QA Testing Blogs

Guides, tips and career advice on QA Testing from JanBask experts.