我在 Ubuntu 上有 Hadoop 2.9.0
/usr/local/hadoop
但是当我尝试start-dfs.sh
启动namenode时没有显示错误但是当我输入时jps
,只有
10900 SecondaryNameNode
11047 Jps
10696 DataNode
接缝已经开始,而不是namenode
尝试过的事情:=>删除了临时文件并格式化了namenodehadoop namenode -format
终端:
blaze@blazian:/tmp$ start-dfs.sh
Starting namenodes on [localhost]
blaze@localhost's password:
localhost: starting namenode, logging to /usr/local/hadoop/logs/hadoop-blaze-namenode-blazian.out
blaze@localhost's password:
localhost: starting datanode, logging to /usr/local/hadoop/logs/hadoop-blaze-datanode-blazian.out
Starting secondary namenodes [0.0.0.0]
blaze@0.0.0.0's password:
0.0.0.0: starting secondarynamenode, logging to /usr/local/hadoop/logs/hadoop-blaze-secondarynamenode-blazian.out
blaze@blazian:/tmp$ jps
10900 SecondaryNameNode
11047 Jps
10696 DataNode