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 "Thomas Graves (Created) (JIRA)" <ji...@apache.org> on 2012/01/17 18:01:41 UTC
[jira] [Created] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
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
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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206097#comment-13206097 ]
Hudson commented on MAPREDUCE-3680:
-----------------------------------
Integrated in Hadoop-Hdfs-0.23-Build #166 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Build/166/])
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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205477#comment-13205477 ]
Hudson commented on MAPREDUCE-3680:
-----------------------------------
Integrated in Hadoop-Hdfs-trunk-Commit #1783 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Commit/1783/])
MAPREDUCE-3680. FifoScheduler web service rest API can print out invalid JSON. (B Anil Kumar via tgraves)
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242790
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/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/trunk/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/trunk/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
> 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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205486#comment-13205486 ]
Hudson commented on MAPREDUCE-3680:
-----------------------------------
Integrated in Hadoop-Mapreduce-0.23-Commit #538 (See [https://builds.apache.org/job/Hadoop-Mapreduce-0.23-Commit/538/])
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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205483#comment-13205483 ]
Hudson commented on MAPREDUCE-3680:
-----------------------------------
Integrated in Hadoop-Hdfs-0.23-Commit #523 (See [https://builds.apache.org/job/Hadoop-Hdfs-0.23-Commit/523/])
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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205479#comment-13205479 ]
Hudson commented on MAPREDUCE-3680:
-----------------------------------
Integrated in Hadoop-Common-trunk-Commit #1708 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/1708/])
MAPREDUCE-3680. FifoScheduler web service rest API can print out invalid JSON. (B Anil Kumar via tgraves)
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242790
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/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/trunk/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/trunk/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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205481#comment-13205481 ]
Hudson commented on MAPREDUCE-3680:
-----------------------------------
Integrated in Hadoop-Mapreduce-trunk-Commit #1719 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Commit/1719/])
MAPREDUCE-3680. FifoScheduler web service rest API can print out invalid JSON. (B Anil Kumar via tgraves)
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242790
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/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/trunk/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/trunk/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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Thomas Graves (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203654#comment-13203654 ]
Thomas Graves commented on MAPREDUCE-3680:
------------------------------------------
Hey B Anil Kumar,
Thanks for the patch. It looks good other then the test failures. Can you update TestRMWebServices (function verifyClusterSchedulerFifoGeneric) to expect 0 instead of the NaN now?
A very minor nit if you want to fix is Scheduler is misspelled in the test function title: testFifoSchedularCapacityWhenNoNMs
As a side note this also fixes the mapred queue -info output:
with patch:
$ mapred queue -info default
======================
Queue Name : default
Queue State : running
Scheduling Info : Capacity: 100.0, MaximumCapacity: 1.0, CurrentCapacity: 0.0
without:
$ mapred queue -info default
======================
Queue Name : default
Queue State : running
Scheduling Info : Capacity: 100.0, MaximumCapacity: 1.0, CurrentCapacity: NaN
> 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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206105#comment-13206105 ]
Hudson commented on MAPREDUCE-3680:
-----------------------------------
Integrated in Hadoop-Mapreduce-trunk #986 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/986/])
MAPREDUCE-3680. FifoScheduler web service rest API can print out invalid JSON. (B Anil Kumar via tgraves)
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242790
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/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/trunk/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/trunk/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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206090#comment-13206090 ]
Hudson commented on MAPREDUCE-3680:
-----------------------------------
Integrated in Hadoop-Hdfs-trunk #953 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/953/])
MAPREDUCE-3680. FifoScheduler web service rest API can print out invalid JSON. (B Anil Kumar via tgraves)
tgraves : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1242790
Files :
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/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/trunk/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/trunk/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
[jira] [Updated] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Thomas Graves (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Graves updated MAPREDUCE-3680:
-------------------------------------
Resolution: Fixed
Fix Version/s: 0.23.2
Status: Resolved (was: Patch Available)
Thanks B Anil Kumar! I've committed this to trunk and branch 0.23.
> 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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205485#comment-13205485 ]
Hudson commented on MAPREDUCE-3680:
-----------------------------------
Integrated in Hadoop-Common-0.23-Commit #534 (See [https://builds.apache.org/job/Hadoop-Common-0.23-Commit/534/])
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
[jira] [Updated] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "B Anil Kumar (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
B Anil Kumar updated MAPREDUCE-3680:
------------------------------------
Attachment: MAPREDUCE-3680.patch
Please review
> 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
[jira] [Updated] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "B Anil Kumar (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
B Anil Kumar updated MAPREDUCE-3680:
------------------------------------
Status: Patch Available (was: Open)
> 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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Thomas Graves (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205202#comment-13205202 ]
Thomas Graves commented on MAPREDUCE-3680:
------------------------------------------
+1 lgtm.
> 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-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
[jira] [Commented] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204510#comment-13204510 ]
Hadoop QA commented on MAPREDUCE-3680:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12513949/MAPREDUCE-3680-1.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 6 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 passed unit tests in .
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1829//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/1829//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-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
[jira] [Updated] (MAPREDUCE-3680) FifoScheduler web service rest
API can print out invalid JSON
Posted by "B Anil Kumar (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-3680?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
B Anil Kumar updated MAPREDUCE-3680:
------------------------------------
Attachment: MAPREDUCE-3680-1.patch
Thanks for the inputs Thomas.
I am unable to cancel my previous patch. Attaching new patch.
Please review.
> 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-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