解决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", "D:\\hadoop-common-2.2.0-bin-master")
文章来自:http://www.cnblogs.com/yrqiang/p/5321948.html
© 2021 jiaocheng.bubufx.com  联系我们
ICP备案:鲁ICP备09046678号-3