格式化ha 集群namenode报错
来源:互联网 发布:浙江国税网络发票查询 编辑:程序博客网 时间:2024/05/21 15:50
21:8485. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:02 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:03 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:03 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:04 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:04 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:05 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:05 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:06 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:06 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:07 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:07 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:08 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:08 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:09 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:09 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:10 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:10 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:11 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:11 WARN namenode.NameNode: Encountered exception during format:
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 5 successful responses:
192.168.1.226:8485: false
192.168.1.227:8485: false
192.168.1.223:8485: false
192.168.1.224:8485: false
192.168.1.222:8485: false
1 exceptions thrown:
192.168.1.221:8485: Call From hcg01/192.168.1.221 to hcg01:8485 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
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:884)
at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:171)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:937)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1379)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1504)
15/08/28 08:52:11 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:11 FATAL namenode.NameNode: Failed to start namenode.
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 5 successful responses:
192.168.1.226:8485: false
192.168.1.227:8485: false
192.168.1.223:8485: false
192.168.1.224:8485: false
192.168.1.222:8485: false
1 exceptions thrown:
192.168.1.221:8485: Call From hcg01/192.168.1.221 to hcg01:8485 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
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:884)
at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:171)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:937)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1379)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1504)
HA模式第一次或删除格式化版本后格式化失败先启动 ./start-dfs.sh
再进行 hdfs namenode -format
问题解决
15/08/28 09:04:27 INFO common.Storage: Storage directory /home/hcg/hadoop/hadoop-2.6.0/mydata/name has been successfully formatted.
15/08/28 09:04:28 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0
15/08/28 09:04:28 INFO util.ExitUtil: Exiting with status 0
15/08/28 09:04:28 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at hcg01/192.168.1.221
************************************************************/
15/08/28 08:52:02 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:03 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:03 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:04 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:04 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:05 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:05 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:06 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:06 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:07 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:07 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:08 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:08 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:09 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:09 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:10 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:10 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:11 INFO ipc.Client: Retrying connect to server: hcg01/192.168.1.221:8485. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:11 WARN namenode.NameNode: Encountered exception during format:
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 5 successful responses:
192.168.1.226:8485: false
192.168.1.227:8485: false
192.168.1.223:8485: false
192.168.1.224:8485: false
192.168.1.222:8485: false
1 exceptions thrown:
192.168.1.221:8485: Call From hcg01/192.168.1.221 to hcg01:8485 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
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:884)
at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:171)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:937)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1379)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1504)
15/08/28 08:52:11 INFO ipc.Client: Retrying connect to server: hcg05/192.168.1.225:8485. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1000 MILLISECONDS)
15/08/28 08:52:11 FATAL namenode.NameNode: Failed to start namenode.
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 5 successful responses:
192.168.1.226:8485: false
192.168.1.227:8485: false
192.168.1.223:8485: false
192.168.1.224:8485: false
192.168.1.222:8485: false
1 exceptions thrown:
192.168.1.221:8485: Call From hcg01/192.168.1.221 to hcg01:8485 failed on connection exception: java.net.ConnectException: 拒绝连接; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
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:884)
at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:171)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:937)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1379)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1504)
HA模式第一次或删除格式化版本后格式化失败先启动 ./start-dfs.sh
再进行 hdfs namenode -format
问题解决
15/08/28 09:04:27 INFO common.Storage: Storage directory /home/hcg/hadoop/hadoop-2.6.0/mydata/name has been successfully formatted.
15/08/28 09:04:28 INFO namenode.NNStorageRetentionManager: Going to retain 1 images with txid >= 0
15/08/28 09:04:28 INFO util.ExitUtil: Exiting with status 0
15/08/28 09:04:28 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at hcg01/192.168.1.221
************************************************************/
0 0
- 格式化ha 集群namenode报错
- namenode格式化报错
- hadoop2.6.0 namenode格式化报错
- hadoop集群搭建-Namenode HA和ResourceManager HA
- Namenode HA自动切换 从Namenode报错Got a command from standby NN - ignoring command:2
- Namenode HA
- Namenode HA
- hadoop集群格式化namenode出现异常
- hadoop执行hdfs namenode -bootstrapStandby报错FATAL ha.BootstrapStandby的解决方法
- HBase HA 集群启动 报错 java.net.UnknownHostException: HadoopCluster
- Hadoop namenode HA方案
- NameNode HA 采用方案
- hadoop namenode ha方案
- NameNode HA(翻译)
- NameNode HA配置详解
- ambari安装Namenode HA
- Namenode HA原理详解
- Namenode HA原理详解
- 自定义textfield的键盘
- Universal Image Loader使用文档
- monkeytalk特殊命令
- 时间单位换算
- RESTful GET,405 Method not Allowed
- 格式化ha 集群namenode报错
- eclipse下使用git插件上传代码至github (或下载代码)
- Android Migrate Android Code
- 给服务器发送JSON数据
- 亲爱的程序猿们怎么找工作
- 介绍Nginx
- 程序员必须知道的10大基础实用算法及其讲解
- 每日5题(线程)
- PAT 1069. The Black Hole of Numbers (20)