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

提示

/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=指定的路径错误

你可能感兴趣的:(Hadoop 命令提示/home/hadoop/src/hadoop-2.7.1/bin/hadoop: line 166: /home/hadoop/src/hadoop-2.7.1//bin/ja)