jps个别线程没有起来?
来源:3-8 HDFS伪分布式环境搭建
冯世宁
2018-01-12
把/etc/hosts下的localhost和hadoop000改成了自己主机的IP,跟着视频做下来发现jps的时候没有datanode的线程
2回答
-
看dn的日志
042018-01-12 -
冯世宁
提问者
2018-01-12
[hadoop@hadoop000 bin]$ cd ../sbin/
[hadoop@hadoop000 sbin]$ pwd
/home/hadoop/app/hadoop-2.6.0-cdh5.7.0/sbin
[hadoop@hadoop000 sbin]$ ./start-dfs.sh
18/01/12 12:41:40 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Starting namenodes on [hadoop000]
hadoop000: starting namenode, logging to /home/hadoop/app/hadoop-2.6.0-cdh5.7.0/logs/hadoop-hadoop-namenode-hadoop000.out
hadoop000: starting datanode, logging to /home/hadoop/app/hadoop-2.6.0-cdh5.7.0/logs/hadoop-hadoop-datanode-hadoop000.out
Starting secondary namenodes [0.0.0.0]
0.0.0.0: Address 127.0.0.1 maps to localhost, but this does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
0.0.0.0: starting secondarynamenode, logging to /home/hadoop/app/hadoop-2.6.0-cdh5.7.0/logs/hadoop-hadoop-secondarynamenode-hadoop000.out
18/01/12 12:42:02 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
[hadoop@hadoop000 sbin]$ jps
3384 Jps
2965 NameNode
3275 SecondaryNameNode
[hadoop@hadoop000 sbin]$
00
相似问题