windows运行Hadoop报错:Did not find winutils.exeCould not locate Hadoop executable:
Posted 小企鹅推雪球!
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了windows运行Hadoop报错:Did not find winutils.exeCould not locate Hadoop executable:相关的知识,希望对你有一定的参考价值。
文章目录
错误提示
java.io.FileNotFoundException: Could not locate Hadoop executable: D:\\main\\hadoop-3.1.3\\bin\\winutils.exe -see https://wiki.apache.org/hadoop/WindowsProblems
at org.apache.hadoop.util.Shell.getQualifiedBinInner(Shell.java:620)
at org.apache.hadoop.util.Shell.getQualifiedBin(Shell.java:593)
at org.apache.hadoop.util.Shell.(Shell.java:690)
at org.apache.hadoop.util.StringUtils.(StringUtils.java:78)
错误原因
- 没有在windows上配置hadoop的环境变量,把本地的hadoop配置一下就可以了
- 在window上的hadoop/bin中缺少winutils.exe、hadoop.dll文件,也可以将hadoop.dll文件复制到C盘中的system32目录中,然后重启电脑,再运行就可以了
以上是关于windows运行Hadoop报错:Did not find winutils.exeCould not locate Hadoop executable:的主要内容,如果未能解决你的问题,请参考以下文章
Inspector did not run successfully.
Android studio初次运行出现Installation did not succeed. The application could not be installed
Android studio初次运行出现Installation did not succeed. The application could not be installed
Android studio初次运行出现Installation did not succeed. The application could not be installed
video.js 报错:your browser did not support
解决JavaWeb项目报错:The origin server did not find a current representation for the target resource or is