[
https://issues.apache.org/jira/browse/YARN-691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13827124#comment-13827124
]
Hadoop QA commented on YARN-691:
--------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12614716/YARN-691.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 1 new
or modified test files.
{color:green}+1 javac{color}. The applied patch does not increase the
total number of javac compiler 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:green}+1 findbugs{color}. The patch does not introduce any new
Findbugs (version 1.3.9) warnings.
{color:red}-1 release audit{color}. The applied patch generated 1
release audit warnings.
{color:green}+1 core tests{color}. The patch passed unit tests in
hadoop-common-project/hadoop-common.
{color:green}+1 contrib tests{color}. The patch passed contrib unit tests.
Test results:
https://builds.apache.org/job/PreCommit-YARN-Build/2488//testReport/
Release audit warnings:
https://builds.apache.org/job/PreCommit-YARN-Build/2488//artifact/trunk/patchprocess/patchReleaseAuditProblems.txt
Console output: https://builds.apache.org/job/PreCommit-YARN-Build/2488//console
This message is automatically generated.
> Invalid NaN values in Hadoop REST API JSON response
> ---------------------------------------------------
>
> Key: YARN-691
> URL: https://issues.apache.org/jira/browse/YARN-691
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Affects Versions: 0.23.6, 2.0.4-alpha
> Reporter: Kendall Thrapp
> Assignee: Chen He
> Fix For: 2.3.0
>
> Attachments: YARN-691.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#6144)