Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-1312 Re-balance disks within a Datanode
  3. HDFS-10550

DiskBalancer: fix issue of order dependency in iteration in ReportCommand test

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • datanode
    • None
    • Reviewed

    Description

      TestDiskBalancerCommand#testReportNode assumed order of result entries returned, however, DiskBalancerDataNode#volumeSets and DiskBalancerVolumeSet#volumes have no guarantee on the order since they are initialized as HashMap. The test should be fixed by not assuming the order.

      Attachments

        1. HDFS-10550-HDFS-1312.000.patch
          9 kB
          Xiaobing Zhou
        2. HDFS-10550-HDFS-1312.001.patch
          10 kB
          Xiaobing Zhou
        3. HDFS-10550-HDFS-1312.002.patch
          10 kB
          Xiaobing Zhou

        Activity

          People

            xiaobingo Xiaobing Zhou
            xiaobingo Xiaobing Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: