Hadoop 命令提示/home/hadoop/src/hadoop-2.7.1/bin/hadoop: line 166: /home/hadoop/src/hadoop-2.7.1//bin/ja

By | 2019年2月13日

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_26840065/article/details/51067319

提示

/home/hadoop/src/hadoop-2.7.1/bin/hadoop: line 166: /home/hadoop/src/hadoop-2.7.1//bin/java: No such file or directory
/home/hadoop/src/hadoop-2.7.1/bin/hadoop: line 166: exec: /home/hadoop/src/hadoop-2.7.1//bin/java: cannot execute: No such file or directory

原因

hadoop-env.sh中的

JAVA_HOME=指定的路径错误

发表评论