You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org> on 2012/02/08 05:11:05 UTC

[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest API can print out invalid JSON

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

Hadoop QA commented on MAPREDUCE-3680:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12513756/MAPREDUCE-3680.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 applied patch does not increase the total number of javac compiler warnings.

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

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

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

    -1 core tests.  The patch failed these unit tests:
                  org.apache.hadoop.yarn.server.resourcemanager.webapp.TestRMWebServices

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

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

This message is automatically generated.
                
> 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
>         Attachments: 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