Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-6601

Issues in finalizing rolling upgrade when there is a layout version change

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.5.0
    • Fix Version/s: 2.5.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      After HDFS-6545, we have noticed a couple of issues.

      • The storage dir's VERSION file is not properly updated. This becomes a problem when there is a layout version change. We can have the finalization do storage.writeAll()
      • OP_ROLLING_UPGRADE_FINALIZE cannot be replayed, once the corresponding OP_ROLLING_UPGRADE_START is consumed and a new fsimage is created (e.g. rollback image). On restart, NN terminates complaining it can't finalize something that it didn't start. We can make NN ignore OP_ROLLING_UPGRADE_FINALIZE if no rolling upgrade is in progress.

        Activity

        Allen Wittenauer made changes -
        Fix Version/s 3.0.0 [ 12320356 ]
        Karthik Kambatla (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Kihwal Lee made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags Reviewed [ 10343 ]
        Fix Version/s 3.0.0 [ 12320356 ]
        Fix Version/s 2.5.0 [ 12326264 ]
        Resolution Fixed [ 1 ]
        Kihwal Lee made changes -
        Priority Major [ 3 ] Blocker [ 1 ]
        Kihwal Lee made changes -
        Affects Version/s 2.5.0 [ 12326264 ]
        Target Version/s 2.5.0 [ 12326264 ]
        Kihwal Lee made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Kihwal Lee made changes -
        Field Original Value New Value
        Attachment HDFS-6601.patch [ 12652284 ]
        Kihwal Lee created issue -

          People

          • Assignee:
            Kihwal Lee
            Reporter:
            Kihwal Lee
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development