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

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: HA branch (HDFS-1623)
    • Fix Version/s: HA branch (HDFS-1623)
    • Component/s: ha, namenode
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: