Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4020

Web services returns incorrect JSON for deep queue tree

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.23.1
    • Fix Version/s: 0.23.3, 2.0.2-alpha
    • Component/s: mrv2, webapps
    • Labels:
      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.

      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 Lowe

        Issue Links

          Activity

          Akira AJISAKA made changes -
          Link This issue is related to YARN-2336 [ YARN-2336 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Arun C Murthy made changes -
          Fix Version/s 2.0.2-alpha [ 12322471 ]
          Thomas Graves made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 0.23.3 [ 12320060 ]
          Resolution Fixed [ 1 ]
          Anupam Seth made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Anupam Seth made changes -
          Attachment MAPREDUCE-4020-branch-23.patch [ 12521189 ]
          Thomas Graves made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Target Version/s 0.23.3 [ 12320060 ]
          Anupam Seth made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Anupam Seth made changes -
          Attachment MAPREDUCE-4020-branch-23.patch [ 12519618 ]
          Anupam Seth made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Anupam Seth made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Anupam Seth made changes -
          Attachment MAPREDUCE-4020-branch-23.patch [ 12519541 ]
          Anupam Seth made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Anupam Seth made changes -
          Attachment MAPREDUCE-4020-branch-23.patch [ 12519526 ]
          Anupam Seth made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Anupam Seth made changes -
          Attachment MAPREDUCE-4020-branch-23.patch [ 12519521 ]
          Anupam Seth made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Anupam Seth made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Anupam Seth made changes -
          Attachment MAPREDUCE-4020-branch-23.patch [ 12519511 ]
          Anupam Seth made changes -
          Assignee Anupam Seth [ anupamseth ]
          Jason Lowe made changes -
          Field Original Value New Value
          Attachment testcase.patch [ 12518612 ]
          Jason Lowe created issue -

            People

            • Assignee:
              Anupam Seth
              Reporter:
              Jason Lowe
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development