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

Jinghui Wang updated MAPREDUCE-5522:
------------------------------------

    Attachment: MAPREDUCE-5522.patch
    
> Incorrectly expect the array of JobQueueInfo returned by 
> o.a.h.mapred.QueueManager#getJobQueueInfos to have a specific order.
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5522
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5522
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 3.0.0, 0.23.7, 2.1.0-beta
>         Environment: Red Hat Enterprise 6 with Sun Java 1.7 & IBM Java 1.6
>            Reporter: Jinghui Wang
>            Assignee: Jinghui Wang
>            Priority: Minor
>             Fix For: 3.0.0, 2.1.0-beta
>
>         Attachments: MAPREDUCE-5522.patch
>
>
> There is a bug in test o.a.h.mapred.TestQueue. The implementation of 
> getJobQueueInfos in QueueManager uses the keySet of a HashMap to populate the 
> return value and since there is no guarantee in the ordering of the elements 
> in the keySet of a Hashmap, this test would fail if the order returned by 
> getJobQueueInfos is different than what the test is expecting.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to