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

Storage ID update does not happen when there is a layout change

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.3, 3.0.0-alpha1
    • datanode
    • None
    • Reviewed

    Description

      HDFS-9654 will cause test failures when we increment the datanode layout version next time.

      TestDatanodeStartupFixesLegacyStorageIDs#testUpgradeFrom22via26FixesStorageIDs
      TestDatanodeStartupFixesLegacyStorageIDs#testUpgradeFrom22FixesStorageIDs
      

      This is because createStorageID() is no longer called when it goes through the layout upgrade path.

      Attachments

        1. h9730_20160203.patch
          4 kB
          Tsz-wo Sze
        2. h9730_20160202.patch
          3 kB
          Tsz-wo Sze

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              kihwal Kihwal Lee
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: