Could not locate executable nullinwinutils.exe in the Hadoop binaries
Posted 秋华
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Could not locate executable nullinwinutils.exe in the Hadoop binaries相关的知识,希望对你有一定的参考价值。
java.io.IOException: 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
然后配置环境变量:
新建HADOOP_HOME
编辑PATH
重启电脑再运行程序就可以了
————————————————
版权声明:本文为CSDN博主「草莓味的风」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/hr786250678/article/details/89702671
以上是关于Could not locate executable nullinwinutils.exe in the Hadoop binaries的主要内容,如果未能解决你的问题,请参考以下文章
iOS 12 真机调试 Xcode 9 提示 Could not locate device support files.
Could not locate executable nullinwinutils.exe in the Hadoop binaries.
Could not locate executable nullinwinutils.exe in the Hadoop binaries.
Harbor断电重启postgres报错 could not locate a valid checkpoint record
Harbor断电重启postgres报错 could not locate a valid checkpoint record
新版Retrofit 2可运行例子(解决Could not locate ResponseBody converter for问题)