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

java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

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

 

 

出现这个问题的原因是我们在windows上模拟开发环境,但并没有真正的搭建hadoop和spark

解决办法:当然也并不需要我们真的去搭建hadoop

下载这个winutils:链接:https://pan.baidu.com/s/12o-QubOX2B5RdFYYXUG4Ag 提取码:951p 复制这段内容后打开百度网盘手机App,操作更方便哦

放到任意的目录下,我这里是放到了D:\winutils\bin

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

然后配置环境变量:

新建HADOOP_HOME

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

编辑PATH

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

重启电脑再运行程序就可以了


————————————————
版权声明:本文为CSDN博主「草莓味的风」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/hr786250678/article/details/89702671

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

上一篇:安装pycuda的正确办法


下一篇:windows下将Anaconda移位置(C盘转移至D盘)