其他分享
首页 > 其他分享> > 问题解决:Could not locate executable null\bin\winutils.exe in the Hadoop binaries

问题解决:Could not locate executable null\bin\winutils.exe in the Hadoop binaries

作者:互联网

Hadoop报错:Failed to locate the winutils binary in the hadoop binary path

Could not locate executable null\bin\winutils.exe in the Hadoop binaries

原因:window本地无法获取hadoop的配置

解决方法:

1、http://archive.apache.org/dist/hadoop/core/hadoop-2.5.1/   将以下压缩包下载到本地并解压

2、下载https://github.com/srccodes/hadoop-common-2.2.0-bin到本地并解压

3、将D:\hadoop-common-2.2.0-bin-master\bin下的所有文件copy到 D:\hadoop-2.5.1\bin下

4、配置环境变量:

 

 

 

 

5、在命令行运行 hadoop version

如果此时出现以下错误:The system cannot find the batch label specified - make_command_arguments

解决办法:

(1)call 要顶行写,不能有空格

 (2) :make_command_arguments (命令参数标签)需要放在cmd脚本的最后面

问题解决:

 

标签:locate,bin,executable,Hadoop,hadoop,winutils,2.2
来源: https://www.cnblogs.com/zling/p/10842638.html