格式化namenode时 报错 No Route to Host from node1/192.168.1.111 to node3:8485 failed on socket timeout ex
Posted 嘣嘣嚓
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了格式化namenode时 报错 No Route to Host from node1/192.168.1.111 to node3:8485 failed on socket timeout ex相关的知识,希望对你有一定的参考价值。
17/08/03 16:06:05 FATAL namenode.NameNode: Failed to start namenode. org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 1 successful responses: 192.168.1.114:8485: false 1 exceptions thrown: 192.168.1.113:8485: No Route to Host from node1/192.168.1.111 to node3:8485 failed on socket timeout exception: java.net.NoRouteToHostException: No route to host; For more details see: http://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:899) at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:171) at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:941) at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1387) at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1512) 17/08/03 16:06:05 INFO util.ExitUtil: Exiting with status 1
报错内容如上,在格式化namenode时报错,系统为centos7
原因:关闭防火墙时用的service iptables stop
解决方法:使用命令 systemctl stop firewalld 来关闭防火墙
再次格式化namenode,成功。
以上是关于格式化namenode时 报错 No Route to Host from node1/192.168.1.111 to node3:8485 failed on socket timeout ex的主要内容,如果未能解决你的问题,请参考以下文章
but there is no HDFS_NAMENODE_USER defined
使用winscp报错:no route to host,请问如何解决?
请求报错No route to host (Host unreachable)
Rocket MQ报错No route info of this topic的问题探究
关于Rocketmq报错: No route info of this topic
微服务:MQClientException: No route info of this topic, mytopic 报错解决