啟動(dòng)最新的hadoop-2.2版本的namenode時(shí),出現(xiàn)以下錯(cuò)誤。我在hadoop bin文件夾中找不到winutils exe文件。我嘗試了以下命令$ bin/hdfs namenode -format$ sbin/yarn-daemon.sh start resourcemanagerERROR [main] util.Shell (Shell.java:getWinUtilsPath(303)) - Failed to locate the winutils binary in the hadoop binary pathjava.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)
添加回答
舉報(bào)
0/150
提交
取消