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-3680) FifoScheduler web service rest API can print out invalid JSON
Date Fri, 10 Feb 2012 23:06:59 GMT

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

Hudson commented on MAPREDUCE-3680:
-----------------------------------

Integrated in Hadoop-Mapreduce-0.23-Build #188 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Build/188/])
    merge  -r 1242789:1242790 from trunk. FIXES: MAPREDUCE-3680

tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242792
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/scheduler/fifo/FifoScheduler.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/scheduler/fifo/TestFifoScheduler.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/TestRMWebServices.java

                
> FifoScheduler web service rest API can print out invalid JSON
> -------------------------------------------------------------
>
>                 Key: MAPREDUCE-3680
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3680
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Thomas Graves
>             Fix For: 0.23.2
>
>         Attachments: MAPREDUCE-3680-1.patch, MAPREDUCE-3680.patch
>
>
> running a GET on the scheduler web services rest api (RM:port/ws/cluster/scheduler) with
the FifoScheduler configured with no nodemanagers up yet and it prints out invalid json of
NaN for the used Capacity:
> {"scheduler":{"schedulerInfo":{"type":"fifoScheduler","capacity":1.0,"usedCapacity":NaN,"qstate":"RUNNING","minQueueMemoryCapacity":1024,"maxQueueMemoryCapacity":10240,"numNodes":0,"usedNodeCapacity":0,"availNodeCapacity":0,"totalNodeCapacity":0,"numContainers":0}}}

--
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