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

Web services returns incorrect JSON for deep queue tree

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.1
    • 0.23.3, 2.0.2-alpha
    • mrv2, webapps
    • None

    Description

      When the capacity scheduler is configured for more than two levels of queues, the web services API returns incorrect JSON for the subQueues field of some parent queues. The "subQueues" field for parent queues should always be an array, but sometimes the field appears multiple times for a queue and as what looks like a CapacityQueueInfo object instead of an array. Besides the sometimes-an-array-sometimes-not problem, parsing the result into a JSON object causes all but the last "subQueues" field to be discarded since they are overwritten by subsequent fields with the same name.

      Attachments

        1. MAPREDUCE-4020-branch-23.patch
          46 kB
          Anupam Seth
        2. MAPREDUCE-4020-branch-23.patch
          45 kB
          Anupam Seth
        3. MAPREDUCE-4020-branch-23.patch
          45 kB
          Anupam Seth
        4. MAPREDUCE-4020-branch-23.patch
          13 kB
          Anupam Seth
        5. MAPREDUCE-4020-branch-23.patch
          12 kB
          Anupam Seth
        6. MAPREDUCE-4020-branch-23.patch
          10 kB
          Anupam Seth
        7. testcase.patch
          1 kB
          Jason Darrell Lowe

        Issue Links

          Activity

            People

              anupamseth Anupam Seth
              jlowe Jason Darrell Lowe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: