此次错误仍有遗留问题,留待深入学习后再来解决
[ylwu@hadoop81 ~]$ ssh-agent bash //由于起先在用户主目录下执行了 rm -rf .bash*,故这里ssh-agent bash不能使用了
bash-4.2$ exit
exit
[ylwu@hadoop81 ~]$ jps //执行过namenode初始化后再次启动hdfs此机器出现了namenode,(并未配置,暂留疑问)
1504 NameNode
2673 Jps
1698 DataNode
[ylwu@hadoop81 ~]$ /app/hadoop-2.7.6/sbin/stop-dfs.sh
Stopping namenodes on [hadoop82 hadoop84]
hadoop82: no namenode to stop
hadoop84: no namenode to stop
hadoop83: stopping datanode
hadoop84: stopping datanode
hadoop81: stopping datanode
hadoop82: stopping datanode
Stopping journal nodes [hadoop84 hadoop82 hadoop83]
hadoop84: stopping journalnode
hadoop82: stopping journalnode
hadoop83: stopping journalnode
Stopping ZK Failover Controllers on NN hosts [hadoop82