hadoop2.6.0 namenode格式化报错

来源:互联网 发布:think in java第五版 编辑:程序博客网 时间:2024/06/06 06:55

今天在安装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

0 0
原创粉丝点击