Jinghui Wang created MAPREDUCE-5522:
---------------------------------------
Summary: 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: 2.1.0-beta, 0.23.7, 3.0.0
Environment: Red Hat Enterprise 6 with Sun Java 1.7 & IBM Java 1.6
Reporter: Jinghui Wang
Assignee: Jinghui Wang
Priority: Minor
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