Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-5535 Umbrella jira for improved HDFS rolling upgrades
  3. HDFS-5874

Should not compare DataNode current layout version with that of NameNode in DataStrorage

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      As [~vinayrpet] pointed out in HDFS-5754: in DataStorage DATANODE_LAYOUT_VERSION should not compare with NameNode layout version anymore.

            if (DataNodeLayoutVersion.supports(
                LayoutVersion.Feature.FEDERATION,
                HdfsConstants.DATANODE_LAYOUT_VERSION) && 
                HdfsConstants.DATANODE_LAYOUT_VERSION == nsInfo.getLayoutVersion()) {
              readProperties(sd, nsInfo.getLayoutVersion());
      

      Attachments

        1. HDFS-5874.001.patch
          7 kB
          Brandon Li

        Issue Links

        Activity

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

          People

            brandonli Brandon Li
            brandonli Brandon Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment