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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: datanode
    • Labels:
      None
    • Hadoop Flags:
      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.002.patch
          10 kB
          Xiaobing Zhou
        2. HDFS-10550-HDFS-1312.001.patch
          10 kB
          Xiaobing Zhou
        3. HDFS-10550-HDFS-1312.000.patch
          9 kB
          Xiaobing Zhou

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: