hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-10550) DiskBalancer: fix issue of order dependency in iteration in ReportCommand test
Date Wed, 22 Jun 2016 00:38:57 GMT

     [ https://issues.apache.org/jira/browse/HDFS-10550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Anu Engineer updated HDFS-10550:
--------------------------------
      Resolution: Fixed
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

[~xiaobingo] Thanks for the contribution. [~eddyxu] Thank you for the code reviews. I have
committed this to the feature branch.

> DiskBalancer: fix issue of order dependency in iteration in ReportCommand test
> ------------------------------------------------------------------------------
>
>                 Key: HDFS-10550
>                 URL: https://issues.apache.org/jira/browse/HDFS-10550
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode
>            Reporter: Xiaobing Zhou
>            Assignee: Xiaobing Zhou
>         Attachments: HDFS-10550-HDFS-1312.000.patch, HDFS-10550-HDFS-1312.001.patch,
HDFS-10550-HDFS-1312.002.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message