安装 10-Hadoop部署多机HDFS HA+YARN.pdf 文档操作出现以下错误

17/12/23 22:33:44 WARN namenode.NameNode: Encountered exception during format: 
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 3 exceptions thrown:
192.168.205.135:8485: No Route to Host from  chinahadoop1/192.168.205.133 to chinahadoop3:8485 failed on socket timeout exception: java.net.NoRouteToHostEx//wiki.apache.org/hadoop/NoRouteToHost
192.168.205.136:8485: No Route to Host from  chinahadoop1/192.168.205.133 to chinahadoop4:8485 failed on socket timeout exception: java.net.NoRouteToHostEx//wiki.apache.org/hadoop/NoRouteToHost
192.168.205.134:8485: No Route to Host from  chinahadoop1/192.168.205.133 to chinahadoop2:8485 failed on socket timeout exception: java.net.NoRouteToHostEx//wiki.apache.org/hadoop/NoRouteToHost
at org.apache.hadoop.hdfs.qjournal.client.QuorumException.create(QuorumException.java:81)
at org.apache.hadoop.hdfs.qjournal.client.QuorumCall.rethrowException(QuorumCall.java:223)
at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.hasSomeData(QuorumJournalManager.java:232)
at org.apache.hadoop.hdfs.server.common.Storage.confirmFormat(Storage.java:875)
at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:171)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:922)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1354)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1473)
17/12/23 22:33:44 FATAL namenode.NameNode: Exception in namenode join
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 3 exceptions thrown:
192.168.205.135:8485: No Route to Host from  chinahadoop1/192.168.205.133 to chinahadoop3:8485 failed on socket timeout exception: java.net.NoRouteToHostEx//wiki.apache.org/hadoop/NoRouteToHost
192.168.205.136:8485: No Route to Host from  chinahadoop1/192.168.205.133 to chinahadoop4:8485 failed on socket timeout exception: java.net.NoRouteToHostEx//wiki.apache.org/hadoop/NoRouteToHost
192.168.205.134:8485: No Route to Host from  chinahadoop1/192.168.205.133 to chinahadoop2:8485 failed on socket timeout exception: java.net.NoRouteToHostEx//wiki.apache.org/hadoop/NoRouteToHost
at org.apache.hadoop.hdfs.qjournal.client.QuorumException.create(QuorumException.java:81)
at org.apache.hadoop.hdfs.qjournal.client.QuorumCall.rethrowException(QuorumCall.java:223)
at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.hasSomeData(QuorumJournalManager.java:232)
at org.apache.hadoop.hdfs.server.common.Storage.confirmFormat(Storage.java:875)
at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:171)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:922)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1354)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1473)
17/12/23 22:33:44 INFO util.ExitUtil: Exiting with status 1
17/12/23 22:33:44 INFO namenode.NameNode: SHUTDOWN_MSG: 
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at chinahadoop1/192.168.205.133
************************************************************/
10-Hadoop部署多机HDFS_HA_YARN.png chinahadoop1里面配置其它地址都能ping或者ssh通.png QQ图片20171225220412.png

fish - Hadooper

赞同来自:

chinahadoop1这台机器是否正确配置了/etc/hosts?以使它能够通过名字正确访问其它机器。

天王盖地虎

赞同来自:

我的java jdk 使用1.7的  

fish - Hadooper

赞同来自:

在hadoop2上执行netstat  -antp | fgrep 8485,显示什么?

要回复问题请先登录注册