IDEA运行spark程序错误解决:Failed to locate the winutils binary in the hadoop binary path

版权声明:本文为博主原创文章,如需转载,请注明出处: https://blog.csdn.net/MASILEJFOAISEGJIAE/article/details/89281982

第一步:下载winutils的windows版本。打开GitHub地址:https://github.com/srccodes/hadoop-common-2.2.0-bin, 直接下载此项目的zip包,下载后是文件名是hadoop-common-2.2.0-bin-master.zip,随便解压到一个目录。例如解压目录为:e:\env\

第二步:配置环境变量 。增加系统变量名HADOOP_HOME,变量值为刚刚解压的目录,例如E:\env\hadoop-common-2.2.0-bin-master。  

第三步:重启开发工具idea,再次运行程序,正常执行。


参考资料:https://blog.csdn.net/iamlihongwei/article/details/79876947

猜你喜欢

转载自blog.csdn.net/MASILEJFOAISEGJIAE/article/details/89281982
今日推荐