报错内容

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%

Windows本地运行调试Spark或Hadoop程序失败:ERROR util.Shell: Failed to locate the winutils binary in the hadoop binary path

 

 3. 配置系统变量PATH

Windows本地运行调试Spark或Hadoop程序失败:ERROR util.Shell: Failed to locate the winutils binary in the hadoop binary path

 

 4.重启程序即可

 

相关文章:

  • 2022-01-23
  • 2021-09-08
  • 2022-02-26
  • 2021-09-23
  • 2021-03-31
  • 2021-05-16
  • 2021-08-15
猜你喜欢
  • 2021-10-31
  • 2021-06-15
  • 2021-10-21
  • 2021-12-15
  • 2021-12-12
相关资源
相似解决方案