windows 配置hadoop环境

在idea运行spark程序的时候报错:java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.

因为windows没有配置hadoop环境变量

1.下载安装包地址:https://pan.baidu.com/s/1J2sE9TcVh-KFWtxIcFAtkA  提取码:rgfw

2.下载好Hadoop2.7.5配置HADOOP环境变量

 

3.把hadoop2.7.5/bin/hadoop.dll复制到C:\Windows\System32

4.电脑重启

猜你喜欢

转载自www.cnblogs.com/chong-zuo3322/p/11864892.html