检查自己各节点的journalnode是否启动,只有一个journalnode启动成功
2021-06-15 17:18:44,846 WARN namenode.NameNode: Encountered exception during format:
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 1 successful responses:
xxx.xx.xxx.xxx:8485: false
2 exceptions thrown:
xxx.xx.xxx.xxx:8485: Call From kylin3/xxx.xx.xxx.xxx to kylin1:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
xxx.xx.xxx.xxx:8485: Call From kylin3/xxx.xx.xxx.xxx to kylin2: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:287)
at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.hasSomeData(QuorumJournalManager.java:282)
at org.apache.hadoop.hdfs.server.common.Storage.confirmFormat(Storage.java:1142)
at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:209)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1198)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1645)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1755)
2021-06-15 17:18:44,849 ERROR 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:
xxx.xx.xxx.xxx:8485: false
2 exceptions thrown:
xxx.xx.xxx.xxx:8485: Call From kylin3/xxx.xx.xxx.xxx to kylin1:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
xxx.xx.xxx.xxx:8485: Call From kylin3/xxx.xx.xxx.xxx to kylin2: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:287)
at org.apache.hadoop.hdfs.qjournal.client.QuorumJournalManager.hasSomeData(QuorumJournalManager.java:282)
at org.apache.hadoop.hdfs.server.common.Storage.confirmFormat(Storage.java:1142)
at org.apache.hadoop.hdfs.server.namenode.FSImage.confirmFormat(FSImage.java:209)
at org.apache.hadoop.hdfs.server.namenode.NameNode.format(NameNode.java:1198)
at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1645)
at org.apache.hadoop.hdfs.server.namenode.NameNode.main(NameNode.java:1755)
2021-06-15 17:18:44,851 INFO util.ExitUtil: Exiting with status 1: org.apache.hadoop.hdfs.qjournal.client.QuorumException: Unable to check if JNs are ready for formatting. 1 successful responses:
xxx.xx.xxx.xxx:8485: false
2 exceptions thrown:
xxx.xx.xxx.xxx:8485: Call From kylin3/xxx.xx.xxx.xxx to kylin1:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
xxx.xx.xxx.xxx:8485: Call From kylin3/xxx.xx.xxx.xxx to kylin2:8485 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
2021-06-15 17:18:44,852 INFO namenode.NameNode: SHUTDOWN_MSG:
/************************************************************
SHUTDOWN_MSG: Shutting down NameNode at kylin3/xxx.xx.xxx.xxx
************************************************************/