hadoop2.6.0 namenode格式化报错

今天在安装hadoop2.6.0时格式化namenode时报错

15/05/12 18:28:19 INFO ipc.Client: Retrying connect to server: hadoop3/192.168.110.139:8485. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:19 INFO ipc.Client: Retrying connect to server: hadoop1/192.168.110.137:8485. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:19 INFO ipc.Client: Retrying connect to server: hadoop2/192.168.110.138:8485. Already tried 0 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:20 INFO ipc.Client: Retrying connect to server: hadoop1/192.168.110.137:8485. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:20 INFO ipc.Client: Retrying connect to server: hadoop3/192.168.110.139:8485. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:20 INFO ipc.Client: Retrying connect to server: hadoop2/192.168.110.138:8485. Already tried 1 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:21 INFO ipc.Client: Retrying connect to server: hadoop1/192.168.110.137:8485. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:21 INFO ipc.Client: Retrying connect to server: hadoop3/192.168.110.139:8485. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:21 INFO ipc.Client: Retrying connect to server: hadoop2/192.168.110.138:8485. Already tried 2 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:22 INFO ipc.Client: Retrying connect to server: hadoop1/192.168.110.137:8485. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:22 INFO ipc.Client: Retrying connect to server: hadoop3/192.168.110.139:8485. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:22 INFO ipc.Client: Retrying connect to server: hadoop2/192.168.110.138:8485. Already tried 3 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:23 INFO ipc.Client: Retrying connect to server: hadoop1/192.168.110.137:8485. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:23 INFO ipc.Client: Retrying connect to server: hadoop3/192.168.110.139:8485. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:23 INFO ipc.Client: Retrying connect to server: hadoop2/192.168.110.138:8485. Already tried 4 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:24 INFO ipc.Client: Retrying connect to server: hadoop1/192.168.110.137:8485. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:24 INFO ipc.Client: Retrying connect to server: hadoop3/192.168.110.139:8485. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:24 INFO ipc.Client: Retrying connect to server: hadoop2/192.168.110.138:8485. Already tried 5 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:25 INFO ipc.Client: Retrying connect to server: hadoop1/192.168.110.137:8485. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:25 INFO ipc.Client: Retrying connect to server: hadoop3/192.168.110.139:8485. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:25 INFO ipc.Client: Retrying connect to server: hadoop2/192.168.110.138:8485. Already tried 6 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:26 INFO ipc.Client: Retrying connect to server: hadoop1/192.168.110.137:8485. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:26 INFO ipc.Client: Retrying connect to server: hadoop3/192.168.110.139:8485. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:26 INFO ipc.Client: Retrying connect to server: hadoop2/192.168.110.138:8485. Already tried 7 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:27 INFO ipc.Client: Retrying connect to server: hadoop1/192.168.110.137:8485. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:27 INFO ipc.Client: Retrying connect to server: hadoop3/192.168.110.139:8485. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:27 INFO ipc.Client: Retrying connect to server: hadoop2/192.168.110.138:8485. Already tried 8 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:28 INFO ipc.Client: Retrying connect to server: hadoop1/192.168.110.137:8485. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:28 INFO ipc.Client: Retrying connect to server: hadoop3/192.168.110.139:8485. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:28 INFO ipc.Client: Retrying connect to server: hadoop2/192.168.110.138:8485. Already tried 9 time(s); retry policy is RetryUpToMaximumCountWithFixedSleep(maxRetries=10, sleepTime=1 SECONDS)
15/05/12 18:28:28 FATAL namenode.NameNode: Exception in namenode join
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 2 exceptions thrown:
192.168.110.139:8485: Call From hadoop1/192.168.110.137 to hadoop3:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see:  http://wiki.apache.org/hadoop/ConnectionRefused
192.168.110.137:8485: Call From hadoop1/192.168.110.137 to hadoop1:8485 failed on connection exception: java.net.ConnectException: Connection refused; 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:218)
at org.apache.hadoop.hdfs.server.common.Storage.confirmFormat(Storage.java:836)
at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:170)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:833)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1213)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1320)
15/05/12 18:28:28 INFO util.ExitUtil: Exiting with status 1



原因是journalnode没有启动,要先所以节点的journalnode

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值