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

    Details

    • Hadoop Flags:
      Reviewed

      Description

      As Vinayakumar B 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

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: