hadoop命令给出了与java相关的错误(没有这样的文件或目录)

时间:2015-02-14 11:49:05

标签: java hadoop

运行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但无法解决此问题。请帮帮我。

0 个答案:

没有答案