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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.23.7, 2.1.0-beta, 3.0.0-alpha1
    • 2.3.0
    • test
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: