我正在尝试根据this guide设置Hadoop在Windows上的单个节点上运行。
当我到达这一部分时:
%HADOOP_PREFIX%\bin\hdfs namenode -format
我收到此错误:
C:\deploy\etc\hadoop>%HADOOP_PREFIX%\bin\hdfs namenode -format
15/07/29 14:51:11 ERROR util.Shell: Failed to locate the winutils binary in the
hadoop binary path
java.io.IOException: Could not locate executable C:\deploy\bin\winutils.exe in the Hadoop binaries.
at org.apache.hadoop.util.Shell.getQualifiedBinPath(Shell.java:355)
at org.apache.hadoop.util.Shell.getWinUtilsPath(Shell.java:370)
at org.apache.hadoop.util.Shell.<clinit>(Shell.java:363)
at org.apache.hadoop.util.StringUtils.<clinit>(StringUtils.java:78)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:14
72)
什么是winutils.exe?我不认为它是hadoop tar文件的一部分:(