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

Hudson commented on MAPREDUCE-5522:
-----------------------------------

SUCCESS: Integrated in Hadoop-Hdfs-trunk #1532 (See 
[https://builds.apache.org/job/Hadoop-Hdfs-trunk/1532/])
MAPREDUCE-5522. Incorrect oreder expected from JobQueueInfo (Jinghui Wang via 
bobby) (bobby: 
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1525670)
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/test/java/org/apache/hadoop/mapred/TestQueue.java

                
> 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.3.0
>
>         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