[ https://issues.apache.org/jira/browse/YARN-1479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13888143#comment-13888143 ]
Hadoop QA commented on YARN-1479: --------------------------------- {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12626362/Yarn-1479v2.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 2 new or modified test files. {color:red}-1 javac{color}. The applied patch generated 1545 javac compiler warnings (more than the trunk's current 1540 warnings). {color:green}+1 javadoc{color}. The javadoc tool did not generate any warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:red}-1 findbugs{color}. The patch appears to introduce 1 new Findbugs (version 1.3.9) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager. {color:green}+1 contrib tests{color}. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-YARN-Build/2976//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-YARN-Build/2976//artifact/trunk/patchprocess/newPatchFindbugsWarningshadoop-yarn-server-resourcemanager.html Javac warnings: https://builds.apache.org/job/PreCommit-YARN-Build/2976//artifact/trunk/patchprocess/diffJavacWarnings.txt Console output: https://builds.apache.org/job/PreCommit-YARN-Build/2976//console This message is automatically generated. > Invalid NaN values in Hadoop REST API JSON response > --------------------------------------------------- > > Key: YARN-1479 > URL: https://issues.apache.org/jira/browse/YARN-1479 > Project: Hadoop YARN > Issue Type: Improvement > Affects Versions: 0.23.6, 2.0.4-alpha > Reporter: Kendall Thrapp > Assignee: Chen He > Fix For: 2.3.0 > > Attachments: Yarn-1479.patch > > > I've been occasionally coming across instances where Hadoop's Cluster > Applications REST API > (http://hadoop.apache.org/docs/r0.23.6/hadoop-yarn/hadoop-yarn-site/ResourceManagerRest.html#Cluster_Applications_API) > has returned JSON that PHP's json_decode function failed to parse. I've > tracked the syntax error down to the presence of the unquoted word NaN > appearing as a value in the JSON. For example: > "progress":NaN, > NaN is not part of the JSON spec, so its presence renders the whole JSON > string invalid. Hadoop needs to return something other than NaN in this case > -- perhaps an empty string or the quoted string "NaN". -- This message was sent by Atlassian JIRA (v6.1.5#6160)