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

Use new block for pre-RollingUpgrade files' append requests

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

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      After the RollingUpgrade prepare, append on pre-RU files will re-open the same last block and makes changes to it (appending extra data, changing genstamp etc).
      These changes to the block will not be tracked in Datanodes (either in trash or via hardlinks)

      This creates problem if RollingUpgrade.Rollback is called.
      Since block state and size both changed, after rollback block will be marked corrupted.

      To avoid this, first time append on pre-RU files can be forced to write to new block itself.

      Attachments

        1. HDFS-12120-01.patch
          28 kB
          Vinayakumar B

        Issue Links

        Activity

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

          People

            vinayakumarb Vinayakumar B
            vinayakumarb Vinayakumar B

            Dates

              Created:
              Updated:

              Slack

                Issue deployment