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

1.  问题导读:

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.

2.  问题解决:

仔细查看报错是缺少winutils.exe程序。

Hadoop都是运行在Linux系统下的,在windowseclipse中运行mapreduce程序,要首先安装Windows下运行的支持插件(我的是hadoop2.6-common-bin.zip),
到网上下载与自己版本吻合的插件安装并配置。

3.  安装并配置插件

1.文件解压后如下:
Could not locate executable null\bin\winutils.exe in the Hadoop binaries._第1张图片
2.将解压后的文件全部放到Windows下解压的hadoopbin目录下。(即eclipsehadoop installation directory指定目录的bin目录下)如下:
Could not locate executable null\bin\winutils.exe in the Hadoop binaries._第2张图片

3.设置环境变量:

Could not locate executable null\bin\winutils.exe in the Hadoop binaries._第3张图片

Could not locate executable null\bin\winutils.exe in the Hadoop binaries._第4张图片

Could not locate executable null\bin\winutils.exe in the Hadoop binaries._第5张图片

至此便可以解决问题了!

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/30172158/viewspace-2132138/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/30172158/viewspace-2132138/

你可能感兴趣的:(Could not locate executable null\bin\winutils.exe in the Hadoop binaries.)