没有合适的资源?快使用搜索试试~ 我知道了~
首页格式化namenode时报错No Route to Host from node1/192.168.3.101 to hadoop05:8485 failed on socket timeout ex
格式化namenode时报错No Route to Host from node1/192.168.3.101 to hadoo...
3 下载量 18 浏览量
更新于2023-03-03
评论
收藏 199KB PDF 举报
格式化namenode时 报错 No Route to Host from node1/192.168.3.101 to hadoop05:8485 failed on socket timeout exception: java.net.NoRouteToHostException: No route to host解决方案 一、报错信息概要: 在配置hadoop高可用HA集群的时候,在使用hadoop namenode -format格式化namenode节点时候,始终保如下错误: No Route to Host from hadoop01/192.168.3.101 to hadoo
资源详情
资源评论
资源推荐
格式化格式化namenode时报错时报错No Route to Host from node1/192.168.3.101 to
hadoop05:8485 failed on socket timeout ex
格式化格式化namenode时时 报错报错 No Route to Host from node1/192.168.3.101 to hadoop05:8485 failed on socket timeout exception: java.net.NoRouteToHostException: No route
to host解决方案解决方案
一、报错信息概要一、报错信息概要:
在配置hadoop高可用HA集群的时候,在使用hadoop namenode -format格式化namenode节点时候,始终保如下错误:
No Route to Host from hadoop01/192.168.3.101 to hadoop05:8485 failed on socket timeout exception: java.net.NoRouteToHostException: No route to host; For more details see:
http://wiki.apache.org/hadoop/NoRouteToHost
二、具体报错如下:二、具体报错如下:
[work@hadoop01 sbin]$ hadoop namenode -format
DEPRECATED: Use of this script to execute hdfs command is deprecated.
Instead use the hdfs command for it.
20/02/16 01:51:52 INFO namenode.NameNode: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting NameNode
STARTUP_MSG: host = hadoop01/192.168.3.101
STARTUP_MSG: args = [-format] STARTUP_MSG: version = 2.7.7
STARTUP_MSG: classpath = /home/work/softwares/had
**************************************************
*****************************************
20/02/16 01:51:59 INFO util.GSet: capacity = 2^15 = 32768 entries
20/02/16 01:52:06 INFO ipc.Client: Retrying connect to server: hadoop05/192.168.3.105:8485. Already tried 0 time(s); retry policy is
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
20/02/16 01:52:07 INFO ipc.Client: Retrying connect to server: hadoop05/192.168.3.105:8485. Already tried 1 time(s); retry policy is
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
20/02/16 01:52:08 INFO ipc.Client: Retrying connect to server: hadoop05/192.168.3.105:8485. Already tried 2 time(s); retry policy is
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
20/02/16 01:52:09 INFO ipc.Client: Retrying connect to server: hadoop05/192.168.3.105:8485. Already tried 3 time(s); retry policy is
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
20/02/16 01:52:10 INFO ipc.Client: Retrying connect to server: hadoop05/192.168.3.105:8485. Already tried 4 time(s); retry policy is
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
20/02/16 01:52:11 INFO ipc.Client: Retrying connect to server: hadoop05/192.168.3.105:8485. Already tried 5 time(s); retry policy is
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
20/02/16 01:52:12 INFO ipc.Client: Retrying connect to server: hadoop05/192.168.3.105:8485. Already tried 6 time(s); retry policy is
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
20/02/16 01:52:13 INFO ipc.Client: Retrying connect to server: hadoop05/192.168.3.105:8485. Already tried 7 time(s); retry policy is
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
20/02/16 01:52:14 INFO ipc.Client: Retrying connect to server: hadoop05/192.168.3.105:8485. Already tried 8 time(s); retry policy is
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
20/02/16 01:52:15 INFO ipc.Client: Retrying connect to server: hadoop05/192.168.3.105:8485. Already tried 9 time(s); retry policy is
RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
20/02/16 01:52:15 WARN namenode.NameNode: Encountered exception during format:
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 2 successful responses:
192.168.3.104:8485: false
192.168.3.106:8485: false
1 exceptions thrown:
192.168.3.105:8485: No Route to Host from hadoop01/192.168.3.101 to hadoop05: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:286)
at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.hasSomeData(QuorumJournalManager.java:233)
at org.apache.hadoop.hdfs.server.common.Storage.confirmFormat(Storage.java:901)
at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:202)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1011)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1457)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1582)
20/02/16 01:52:15 ERROR namenode.NameNode: Failed to start namenode.
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 2 successful responses:
192.168.3.104:8485: false
192.168.3.106:8485: false
1 exceptions thrown:
192.168.3.105:8485: No Route to Host from hadoop01/192.168.3.101 to hadoop05: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:286)
at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.hasSomeData(QuorumJournalManager.java:233)
at org.apache.hadoop.hdfs.server.common.Storage.confirmFormat(Storage.java:901)
at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:202)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1011)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1457)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1582)
20/02/16 01:52:15 INFO util.ExitUtil: Exiting with status 1
20/02/16 01:52:15 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at hadoop01/192.168.3.101
************************************************************/
三、错误排查和分析:三、错误排查和分析:
3.1、根据报错信息,查看https://cwiki.apache.org/confluence/display/HADOOP2/NoRouteToHost,可能出错的原因如下:
weixin_38607908
- 粉丝: 7
- 资源: 935
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- ExcelVBA中的Range和Cells用法说明.pdf
- 基于单片机的电梯控制模型设计.doc
- 主成分分析和因子分析.pptx
- 共享笔记服务系统论文.doc
- 基于数据治理体系的数据中台实践分享.pptx
- 变压器的铭牌和额定值.pptx
- 计算机网络课程设计报告--用winsock设计Ping应用程序.doc
- 高电压技术课件:第03章 液体和固体介质的电气特性.pdf
- Oracle商务智能精华介绍.pptx
- 基于单片机的输液滴速控制系统设计文档.doc
- dw考试题 5套.pdf
- 学生档案管理系统详细设计说明书.doc
- 操作系统PPT课件.pptx
- 智慧路边停车管理系统方案.pptx
- 【企业内控系列】企业内部控制之人力资源管理控制(17页).doc
- 温度传感器分类与特点.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0