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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.5.0
    • 2.5.0
    • None
    • None
    • 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.

      Attachments

        1. HDFS-6601.patch
          3 kB
          Kihwal Lee

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            kihwal Kihwal Lee
            kihwal Kihwal Lee
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment