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 Sub-task
    • Status: Resolved
    • Priority: Major 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.

      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

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development