请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

分布式环境搭建,主节点启动没有问题,两个从节点的datanode没有启动但是nodemanager启动了

正在回答 回答被采纳积分+3

2回答

Michael_PK 2018-04-25 17:55:41

你先一步一步来,先HDFS启动成功后,再yarn,我都放心HDFS都有问题

0 回复 有任何疑惑可以回复我~
Michael_PK 2018-04-25 17:34:17

你到目录下找下对应进程的日志观察下,里面报什么错了

0 回复 有任何疑惑可以回复我~
  • 提问者 聂成阳 #1
    hadoop-hadoop-datanode-hadoop000.log    hadoop-hadoop-secondarynamenode-hadoop000.log    yarn-hadoop-nodemanager-hadoop000.out
    hadoop-hadoop-datanode-hadoop000.out    hadoop-hadoop-secondarynamenode-hadoop000.out    yarn-hadoop-nodemanager-hadoop000.out.1
    hadoop-hadoop-datanode-hadoop000.out.1  hadoop-hadoop-secondarynamenode-hadoop000.out.1  yarn-hadoop-resourcemanager-hadoop000.log
    hadoop-hadoop-namenode-hadoop000.log    SecurityAuth-hadoop.audit                        yarn-hadoop-resourcemanager-hadoop000.out
    hadoop-hadoop-namenode-hadoop000.out    userlogs                                         yarn-hadoop-resourcemanager-hadoop000.out.1
    hadoop-hadoop-namenode-hadoop000.out.1  yarn-hadoop-nodemanager-hadoop000.log
    里面没有相关节点的日志,这是让我很奇怪的
    回复 有任何疑惑可以回复我~ 2018-04-25 17:38:17
  • 提问者 聂成阳 #2
    2018-04-25 16:57:06,577 WARN org.apache.hadoop.hdfs.server.common.Util: Path /home/hadoop/app/tmp/dfs/data should be specified as a URI in configuration files. Please update hdfs configuration.
    
    
     WARN org.apache.hadoop.hdfs.server.datanode.DataNode: IOException in offerService
    java.io.EOFException: End of File Exception between local host is: "hadoop000/192.168.131.129"; destination host is: "hadoop000":8020; : java.io.EOFException; For more details see:  http://wiki.apache.org/hadoop/EOFException
    
    
     ERROR org.apache.hadoop.hdfs.server.datanode.DataNode: RECEIVED SIGNAL 15: SIGTERM
    这是其中一些警告信息,datanode-hadoop000.log中,datanode-hadoop001.log以及datanode-hadoop002.log没有
    回复 有任何疑惑可以回复我~ 2018-04-25 17:44:26
  • Michael_PK 回复 提问者 聂成阳 #3
    你hadoop000机器和你的IP映射关系检查下是否对?
    回复 有任何疑惑可以回复我~ 2018-04-25 17:54:11
问题已解决,确定采纳
还有疑问,暂不采纳
意见反馈 帮助中心 APP下载
官方微信