windows上先调试该程序,然后再转到linux下。

  程序运行的过程中,
  报 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源码里面的bin目录拷贝到安装hadoop解压包bin目录下(网上有编译好的直接下载)
2、在环境变量中配置一下HADOOP_HOME即可运行正常了

相关文章:

  • 2021-11-10
  • 2021-10-14
  • 2021-11-25
  • 2022-12-23
  • 2021-12-21
  • 2022-01-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-21
  • 2021-05-02
  • 2021-09-01
  • 2022-01-01
  • 2021-06-18
  • 2021-12-16
相关资源
相似解决方案