运行hadoop命令时出现以下错误。
Downloads/hadoop-1.2.1/bin/hadoop: line 350: /usr/lib/java/jdk1.7.0_75/bin/java: No such file or directory
Downloads/hadoop-1.2.1/bin/hadoop: line 434: /usr/lib/java/jdk1.7.0_75/bin/java: No such file or directory
java和hadoop路径是:
$JAVA_HOME = /usr/lib/java/jdk1.7.0_75
$HADOOP_HOME = Downloads/hadoop-1.2.1
我安装了Java 1.6和1.7,并在hadoop-env.sh中更新了Java 1.7的路径
我已完成此link但无法解决此问题。请帮帮我。