Window下启动Hadoop出错,Failed to locate the winutils binary in the hadoop binary path!!!

在编写Hadoop项目时,已经完成了在map中分词操作,以及reduce中的计算统计。就在即将成功的时候,一道晴天霹雳从天而降,痛不欲生!!

Failed to locate the winutils binary in the hadoop binary path!!!

Window下启动Hadoop出错,Failed to locate the winutils binary in the hadoop binary path!!!
言归正传,出现上述问题可采取以下步骤
1、在window下安装hadoop(版本随意,尽量选取版本较新且使用量多的)

2、安装完成后,导入winutils.exe和hadoop.dll到安装路径的bin目录下(两个文件需要自己去网上当)
推荐网址:https://github.com/4ttty/winutils

3、设置环境变量
Window下启动Hadoop出错,Failed to locate the winutils binary in the hadoop binary path!!!
Window下启动Hadoop出错,Failed to locate the winutils binary in the hadoop binary path!!!
4、切记,配置文成后需要关闭idea,然后重新启动项目,方可生效!!