[ 
https://issues.apache.org/jira/browse/HDFS-10550?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15340477#comment-15340477
 ] 

Lei (Eddy) Xu commented on HDFS-10550:
--------------------------------------

Hi, [~xiaobingo]

Thanks a lot for addressing these issues. In the meantime, would you mind to 
make the sub-tests in {{testReportCommand}} as individual tests? 


> 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
>
> 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-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to