老师您好,我想问一下我启动dfs的时候DataNode启动不了了,是为什么呢?
来源:1-20 -YARN环境搭建及提交作业到YARN上运行
陈素素
2019-03-20
[hadoop@hadoop001 sbin]$ ./start-dfs.sh
19/03/20 04:57:23 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable
Starting namenodes on [hadoop001]
hadoop001: namenode running as process 21103. Stop it first.
localhost: starting datanode, logging to /home/hadoop/app/hadoop-2.6.0-cdh5.7.0/logs/hadoop-hadoop-datanode-hadoop001.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: secondarynamenode running as process 21386. Stop it first.
19/03/20 04:57:32 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform… using builtin-java classes where applicable
[hadoop@hadoop001 sbin]$ jps
21386 SecondaryNameNode
21103 NameNode
22428 Jps
2回答
-
去logs目录下,看data node的日志信息。估计是cluster ID的问题。
042019-03-21 -
Michael_PK
2019-03-20
你去看下日志
00
相似问题
回答 4
回答 1