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

Fix the inconsistency of layout version number of ADD_DATANODE_AND_STORAGE_UUIDS between trunk and branch-2

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0, 3.0.0-alpha1
    • 3.0.0-alpha1
    • namenode
    • None
    • Reviewed

    Description

      Currently in trunk, we have the layout version:

      EDITLOG_ADD_BLOCK(-48, ...),
      CACHING(-49, ...),
      ADD_DATANODE_AND_STORAGE_UUIDS(-50, ...);
      

      And in branch-2, we have:

      EDITLOG_SUPPORT_RETRYCACHE(-47, ...),
      ADD_DATANODE_AND_STORAGE_UUIDS(-49, -47, ...);
      

      We plan to backport HDFS-5704 and HDFS-5777 to branch-2, thus EDITLOG_ADD_BLOCK will also take -48 in branch-2. However, we cannot change ADD_DATANODE_AND_STORAGE_UUIDS to -50 in branch-2. Otherwise fsimages written by trunk and branch-2 have the same layout -50 but branch-2 cannot read the -50 fsimage if it is written by trunk.

      Attachments

        Activity

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

          People

            jingzhao Jing Zhao Assign to me
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment