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即可运行正常了
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/bigdata/9058.html