错误现象 :
FATAL org.apache.hadoop.hdfs.server.namenode.FSEditLog: Error: recoverUnfinalizedSegments failed for required journal (JournalAndStream(mgr=QJM to [xxx.xxx.xxx.xxx:8485, xxx.xxx.xxx.xxx:8485, xxx.xxx.xxx.xxx:8485], stream=null))
org.apache.hadoop.hdfs.qjournal.client.QuorumException: Got too many exceptions to achieve quorum size 2/3. 1 successful responses:
xxx.xxx.xxx.xxx:8485: lastPromisedEpoch: 0
解决方案 :
初始化 :
hdfs namenode -initializeSharedEdits
重启集群 :
myhadoopHa.sh start