You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Aravindan Vijayan (JIRA)" <ji...@apache.org> on 2016/04/21 16:39:25 UTC

[jira] [Reopened] (AMBARI-15892) Incorrect (Negative) values are shown for memory metrics

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

Aravindan Vijayan reopened AMBARI-15892:
----------------------------------------

Change should be made for another widget - Yarn Home  : Cluster Memory.

> 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-2.patch, 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)