You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Ahmed Hussein (JIRA)" <ji...@apache.org> on 2019/05/17 17:37:00 UTC

[jira] [Updated] (YARN-9563) Resource report REST API could return NaN or Inf

     [ https://issues.apache.org/jira/browse/YARN-9563?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ahmed Hussein updated YARN-9563:
--------------------------------
    Description: 
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.

  was:
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. Instead, protob can safely check for NaN/INF replacing them by 0.0f


> 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
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org