解决spark运行中failed to locate the winutils binary in the hadoop binary path的问题
1.下载hadoop-common-2.2.0-bin并解压到某个目录
https://github.com/srccodes/hadoop-common-2.2.0-bin
2.设置hadoop.home.dir
System.setProperty("hadoop.home.dir", "F:\\hadoop-common-2.2.0-bin-master")
原创
2020-05-26 17:40:28 ·
160 阅读 ·
0 评论