Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7871

NameNodeEditLogRoller can keep printing "Swallowing exception" message

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      In one of our customer's cluster, we saw the NameNode kept printing out the following error msg and thus got stuck for several minutes:

      ERROR org.apache.hadoop.hdfs.server.namenode.FSNamesystem: Swallowing exception in NameNodeEditLogRoller:
      java.lang.IllegalStateException: Bad state: BETWEEN_LOG_SEGMENTS
              at com.google.common.base.Preconditions.checkState(Preconditions.java:172)
              at org.apache.hadoop.hdfs.server.namenode.FSEditLog.getCurSegmentTxId(FSEditLog.java:493)
              at org.apache.hadoop.hdfs.server.namenode.FSNamesystem$NameNodeEditLogRoller.run(FSNamesystem.java:4358)
              at java.lang.Thread.run(Thread.java:745)
      

      Attachments

        1. HDFS-7871.000.patch
          1 kB
          Jing Zhao

        Issue Links

          Activity

            People

              jingzhao Jing Zhao
              jingzhao Jing Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: