作者:手机用户2502896851 | 来源:互联网 | 2023-09-25 17:15
各个节点的主机名为什么不一致?
namenode:hadoop1
datanode:localhost
secondarynamenode:0.0.0.0
1 2 3 4 5 6 7 8 9
| [hadoop@localhost hadoop-2.7.2]$ sbin/start-dfs.sh
Starting namenodes on [hadoop1]
hadoop@hadoop1's password:
hadoop1: starting namenode, logging to /home/hadoop/hadoop-2.7.2/logs/hadoop-hadoop-namenode-hadoop1.hadoopdomain.out
hadoop@localhost's password:
localhost: starting datanode, logging to /home/hadoop/hadoop-2.7.2/logs/hadoop-hadoop-datanode-hadoop1.hadoopdomain.out
Starting secondary namenodes [0.0.0.0]
hadoop@0.0.0.0's password:
0.0.0.0: starting secondarynamenode, logging to /home/hadoop/hadoop-2.7.2/logs/hadoop-hadoop-secondarynamenode-hadoop1.hadoopdomain.out |