当前位置:   article > 正文

Java ERROR util.Shell: Failed to locate the winutils binary in the hadoop

error util.shell: failed to locate the winutils binary in the hadoop binary

  在使用idea进行对HBase数据库操作时报了如下错误
  ERROR util.Shell: Failed to locate the winutils binary in the hadoop
在这里插入图片描述
  这个问题的主要原因是因为Hadoop在windows下兼容性问题,Idea在找的时候,找不到HADOOP_HOME下的winutils.exe这个文件

解决办法:配置环境变量
  配置HADOOP_HOME

在这里插入图片描述

  配置Path

在这里插入图片描述

  配置后需要重启机器,再次去运行项目,这个报错就会消失

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Monodyee/article/detail/686166
推荐阅读
相关标签
  

闽ICP备14008679号