jps个别线程没有起来?

来源:3-8 HDFS伪分布式环境搭建

冯世宁

2018-01-12

把/etc/hosts下的localhost和hadoop000改成了自己主机的IP,跟着视频做下来发现jps的时候没有datanode的线程

写回答

2回答

Michael_PK

2018-01-12

看dn的日志

0
4
Michael_PK
回复
冯世宁
问题问题的解决思路:自己看日志看看哪的问题,然后自己思考下分析下原因,或者搜索下,绝大部分问题都能搞定的,这样养成习惯了,自己就会成长的很快,否则遇到问题就问别人,自己永远成长不了
2018-01-12
共4条回复

冯世宁

提问者

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]$ 


0
0

10小时入门大数据

【毕设】大数据零基础入门必备,轻松掌握Hadoop开发核心技能

1456 学习 · 656 问题

查看课程