获取java执行,尝试安装hadoop单节点群集时出错

wko9yo5t  于 2021-06-02  发布在  Hadoop
关注(0)|答案(1)|浏览(322)

我在运行hadoop时遇到了与前面提到的相同的错误。我只有用户级的访问权限,而不是整个linux机器的根访问权限。有什么解决办法吗??任何帮助都将不胜感激。tia:)linux平台:redhat linux(redhat enterprise linux as release 4(nahant update 5))

[aa86980@HMLINUX1 hadoop-1.2.1]$ bin/hadoop namenode -format
bin/hadoop: line 350: /home/aa86980/jdk1.7.0_60/bin/java: cannot execute binary file
bin/hadoop: line 434: /home/aa86980/jdk1.7.0_60/bin/java: cannot execute binary file
bin/hadoop: line 434: /home/aa86980/jdk1.7.0_60/bin/java: Success

相关问题