Return-Path: X-Original-To: apmail-ambari-issues-archive@minotaur.apache.org Delivered-To: apmail-ambari-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0812119F42 for ; Thu, 14 Apr 2016 21:34:26 +0000 (UTC) Received: (qmail 52468 invoked by uid 500); 14 Apr 2016 21:34:25 -0000 Delivered-To: apmail-ambari-issues-archive@ambari.apache.org Received: (qmail 52431 invoked by uid 500); 14 Apr 2016 21:34:25 -0000 Mailing-List: contact issues-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list issues@ambari.apache.org Received: (qmail 52419 invoked by uid 99); 14 Apr 2016 21:34:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 21:34:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 705E32C14F7 for ; Thu, 14 Apr 2016 21:34:25 +0000 (UTC) Date: Thu, 14 Apr 2016 21:34:25 +0000 (UTC) From: "Aravindan Vijayan (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-15892) Incorrect (Negative) values are shown for memory metrics MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-15892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Aravindan Vijayan updated AMBARI-15892: --------------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) Pushed to trunk, branch-2.2 and branch-2.2.2 > Incorrect (Negative) values are shown for memory metrics > -------------------------------------------------------- > > Key: AMBARI-15892 > URL: https://issues.apache.org/jira/browse/AMBARI-15892 > Project: Ambari > Issue Type: Bug > Reporter: Aravindan Vijayan > Assignee: Aravindan Vijayan > Priority: Blocker > Attachments: AMBARI-15892.patch > > > Issue > In the "NameNode HostLoad" graph, the negative values are seen for the computed metric "Memory Utilization" which goes by the formula : > ( mem_total - (mem_free + mem_cache) ) *100 / mem_total > Bug > AMBARI-15448 changed the way memory metrics are being reported to AMS. This lead to a double subtraction of mem_cached, thereby leading to a negative value intermittently. > Fix > Change the widget to : > ( mem_total - mem_free ) *100 / mem_total -- This message was sent by Atlassian JIRA (v6.3.4#6332)