hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4020) Web services returns incorrect JSON for deep queue tree
Date Thu, 22 Mar 2012 21:56:22 GMT

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13236080#comment-13236080
] 

Hadoop QA commented on MAPREDUCE-4020:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12519511/MAPREDUCE-4020-branch-23.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 3 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    -1 javac.  The patch appears to cause tar ant target to fail.

    +1 eclipse:eclipse.  The patch built with eclipse:eclipse.

    -1 findbugs.  The patch appears to cause Findbugs (version 1.3.9) to fail.

    +1 release audit.  The applied patch does not increase the total number of release audit
warnings.

    -1 core tests.  The patch failed the unit tests build

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2084//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2084//console

This message is automatically generated.
                
> Web services returns incorrect JSON for deep queue tree
> -------------------------------------------------------
>
>                 Key: MAPREDUCE-4020
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4020
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2, webapps
>    Affects Versions: 0.23.1
>            Reporter: Jason Lowe
>            Assignee: Anupam Seth
>         Attachments: MAPREDUCE-4020-branch-23.patch, testcase.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message