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

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: