hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-4020) Web services returns incorrect JSON for deep queue tree
Date Wed, 04 Apr 2012 12:41:28 GMT

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

Hudson commented on MAPREDUCE-4020:
-----------------------------------

Integrated in Hadoop-Hdfs-0.23-Build #218 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/218/])
    merge -r 1309133:1309134 from branch-2. FIXES: MAPREDUCE-4020 (Revision 1309137)

     Result = SUCCESS
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1309137
Files : 
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/CapacitySchedulerPage.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/JAXBContextResolver.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/CapacitySchedulerInfo.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/CapacitySchedulerQueueInfo.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/CapacitySchedulerQueueInfoList.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/TestRMWebServicesCapacitySched.java
* /hadoop/common/branches/branch-0.23/hadoop-mapreduce-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/ResourceManagerRest.apt.vm

                
> 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
>             Fix For: 0.23.3
>
>         Attachments: MAPREDUCE-4020-branch-23.patch, MAPREDUCE-4020-branch-23.patch,
MAPREDUCE-4020-branch-23.patch, MAPREDUCE-4020-branch-23.patch, MAPREDUCE-4020-branch-23.patch,
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