今天在IDEA开发工具上面跑了一个任务,结果出现了:如下图:

 

解决办法:没有配置hadoop的环境变量

1.首先下载一个win10环境下的hadoop

 链接:https://pan.baidu.com/s/1BaJKVb8IYUt-Qb9sg6_H8A 

提取码:vq29

2。配置path的hadoop的环境

 

3.配置HADOOP _HOME的路径

 

转载于:https://www.cnblogs.com/yumengfei/p/11426841.html

GitHub 加速计划 / wi / winutils
5
1
下载
Windows binaries for Hadoop versions (built from the git commit ID used for the ASF relase)
最近提交(Master分支:2 个月前 )
e8089ecf - 2 年前
d4f71517 point people at cdarlint/winutils for binaries and call out the fact that we could remove the need for this entirely just to run spark on windows 6 年前
Logo

新一代开源开发者平台 GitCode,通过集成代码托管服务、代码仓库以及可信赖的开源组件库,让开发者可以在云端进行代码托管和开发。旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐