Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1623 High Availability Framework for HDFS NN
  3. HDFS-2955

HA: IllegalStateException during standby startup in getCurSegmentTxId

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • HA branch (HDFS-1623)
    • HA branch (HDFS-1623)
    • ha, namenode
    • None

    Description

      During standby restarts, a new routine getTransactionsSinceLastLogRoll() has been introduced for metrics which is calling getCurSegmentTxId(). checkstate() in getCurSegmentTxId() assumes that log is opened for writing and this is not the case in standby.

      Attachments

        1. HDFS-2955-HDFS-1623.patch
          2 kB
          Hari Mankude
        2. HDFS-2955-HDFS-1623.patch
          2 kB
          Hari Mankude
        3. HDFS-2955-HDFS-1623.patch
          2 kB
          Hari Mankude
        4. HDFS-2955-HDFS-1623.patch
          2 kB
          Hari Mankude

        Issue Links

          Activity

            People

              harip Hari Mankude
              harip Hari Mankude
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: