解决spark运行中failed to locate the winutils binary in the hadoop binary path的问题
Posted 教程之父
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了解决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")
以上是关于解决spark运行中failed to locate the winutils binary in the hadoop binary path的问题的主要内容,如果未能解决你的问题,请参考以下文章