在编写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,然后重新启动项目,方可生效!!

相关文章:

  • 2022-01-23
  • 2021-09-23
  • 2022-02-26
  • 2022-12-23
  • 2022-12-23
  • 2022-01-03
  • 2021-07-10
猜你喜欢
  • 2021-12-12
  • 2021-05-16
  • 2021-10-21
  • 2021-12-15
  • 2021-03-31
相关资源
相似解决方案