Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5522

Incorrectly expect the array of JobQueueInfo returned by o.a.h.mapred.QueueManager#getJobQueueInfos to have a specific order.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.23.7, 2.1.0-beta, 3.0.0-alpha1
    • Fix Version/s: 2.3.0
    • Component/s: test
    • Labels:
      None
    • Environment:

      Red Hat Enterprise 6 with Sun Java 1.7 & IBM Java 1.6

      Description

      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.

        Attachments

        1. MAPREDUCE-5522.patch
          2 kB
          Jinghui Wang

          Activity

            People

            • Assignee:
              jwang302 Jinghui Wang
              Reporter:
              jwang302 Jinghui Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: