Hadoop HA Namenode因错误而关闭:所需日志的刷新失败

时间:2018-08-23 11:03:30

标签: hadoop namenode

Namenode goes down with below error:
using hadoop version : 2.0.0

错误

INFO org.apache.hadoop.hdfs.server.namenode.FSEditLog: Starting log segment at XXXXXX
FATAL org.apache.hadoop.hdfs.server.namenode.FSEditLog: Error: flush failed for required journal (JournalAndStream(mgr=FileJournalManager(root=/XXXXXXXX/HA/edits), stream=EditLogFileOutputStream(/XXXXXXXXXXXX/HA/edits/current/edits_inprogress_00000000000XXXXXXX)))
java.io.IOException: Input/output error
    at sun.nio.ch.FileDispatcherImpl.force0(Native Method)
    at sun.nio.ch.FileDispatcherImpl.force(FileDispatcherImpl.java:75)
    at sun.nio.ch.FileChannelImpl.force(FileChannelImpl.java:363)
    ......
   .org.apache.hadoop.hdfs.server.namenode.JournalSet$JournalSetOutputStream.flush(JournalSet.java:456)
    at 
    org.apache.hadoop.hdfs.server.namenode.NameNode: SHUTDOWN_MSG: 
    /************************************************************
     SHUTDOWN_MSG: Shutting down NameNode at CDCTPHADOOPAP1/IP_ADDRESS
     ************************************************************/

有人可以帮助我了解此问题的确切原因以及如何解决此问题。

0 个答案:

没有答案