我试图格式化名称节点。 为此,我都试过了。
hduser@Ubuntu:/usr/hadoop/hadoop-2.7.1$ bin/hdfs namenode -format
它说:
bin/hdfs: line 304: /root/software/jdk1.8.0_45/bin/java: Permission denied
bin/hdfs: line 304: exec: /root/software/jdk1.8.0_45/bin/java: cannot execute: Permission denied