hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Joseph Evans (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-5522) Incorrectly expect the array of JobQueueInfo returned by o.a.h.mapred.QueueManager#getJobQueueInfos to have a specific order.
Date Mon, 23 Sep 2013 18:41:13 GMT

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

Robert Joseph Evans updated MAPREDUCE-5522:
-------------------------------------------

          Resolution: Fixed
       Fix Version/s:     (was: 2.1.0-beta)
                      2.3.0
    Target Version/s: 2.1.0-beta, 3.0.0  (was: 3.0.0, 2.1.0-beta)
              Status: Resolved  (was: Patch Available)

I merged this into trunk and branch-2.  I am not totally sure what is happening with the 2.2
and 2.1 releases.  If you really want this to go into 2.1 and 2.2 I'll look at what it takes
to get things merged in properly.
                
> 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

Mime
View raw message