[
https://issues.apache.org/jira/browse/YARN-9563?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16851055#comment-16851055
]
Hudson commented on YARN-9563:
------------------------------
SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #16623 (See
[https://builds.apache.org/job/Hadoop-trunk-Commit/16623/])
YARN-9563. Resource report REST API could return NaN or Inf (Ahmed (jeagles:
rev abf76ac371e4611c8eb371736b433e3d89c9d2ae)
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/capacity/TestLeafQueue.java
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/SchedulerApplicationAttempt.java
* (edit)
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/test/java/org/apache/hadoop/yarn/server/resourcemanager/scheduler/TestSchedulerApplicationAttempt.java
> Resource report REST API could return NaN or Inf
> ------------------------------------------------
>
> Key: YARN-9563
> URL: https://issues.apache.org/jira/browse/YARN-9563
> Project: Hadoop YARN
> Issue Type: Improvement
> Reporter: Ahmed Hussein
> Assignee: Ahmed Hussein
> Priority: Minor
> Attachments: YARN-9563-branch-2.8.001.patch, YARN-9563.001.patch,
> YARN-9563.002.patch, YARN-9563.003.patch, YARN-9563.004.patch,
> YARN-9563.005.patch, YARN-9563.006.patch
>
>
> The Resource Manager's Cluster Applications and Cluster Application REST APIs
> are sometimes returning invalid JSON. This was addressed in YARN-6082.
> However, the fix only fixes the calculation in one site and does not
> guarantee to avoid the problem.Likewise, generating NaN/Inf can break the web
> GUI if the columns cannot render non-numeric values.
> The suggested fix is to check for NaN/Inf in the protob. The protob replaces
> NaN/Inf by 0.0f.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]