From yarn-issues-return-167780-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Fri May 17 17:37:03 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 9DFBC180675 for ; Fri, 17 May 2019 19:37:02 +0200 (CEST) Received: (qmail 83160 invoked by uid 500); 17 May 2019 17:37:01 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 83109 invoked by uid 99); 17 May 2019 17:37:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 May 2019 17:37:01 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id EAA72E2C34 for ; Fri, 17 May 2019 17:37:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 5142925818 for ; Fri, 17 May 2019 17:37:00 +0000 (UTC) Date: Fri, 17 May 2019 17:37:00 +0000 (UTC) From: "Ahmed Hussein (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (YARN-9563) Resource report REST API could return NaN or Inf MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/YARN-9563?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Ahmed Hussein updated YARN-9563: -------------------------------- Description:=20 The Resource Manager's Cluster Applications and Cluster Application REST AP= Is are sometimes returning invalid JSON. This was addressed in YARN-6082. However, the fix only fixes the calculation in one site and does not guaran= tee 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 replace= s NaN/Inf by 0.0f. was: The Resource Manager's Cluster Applications and Cluster Application REST AP= Is are sometimes returning invalid JSON. This was addressed in YARN-6082. However, the fix only fixes the calculation in one site and does not guaran= tee to avoid the problem. Instead, protob can safely check for NaN/INF=C2= =A0replacing 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 guar= antee to avoid the problem.Likewise, generating NaN/Inf can break the web G= UI if the columns cannot render non-numeric values. > The suggested fix is to check for NaN/Inf in the protob. The protob repla= ces 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