Windows本地运行调试Spark或Hadoop程序失败:ERROR util.Shell: Failed to locate the winutils binary in the hadoop binary path
报错内容
ERROR util.Shell: 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.
解决方法
1. 下载windows编译版的Hadoop
2. 新增系统环境变量%HADOOP_HOME%

3. 配置系统变量PATH

4.重启程序即可
浙公网安备 33010602011771号