ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-15892) Incorrect (Negative) values are shown for memory metrics
Date Fri, 15 Apr 2016 04:04:25 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-15892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15242393#comment-15242393
] 

Hudson commented on AMBARI-15892:
---------------------------------

ABORTED: Integrated in Ambari-trunk-Commit #4659 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4659/])
AMBARI-15892 : Incorrect (Negative) values are shown for memory metrics (avijayan: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=e8cdf0991a0ed18f5b96fd0298f0802f6d26b9c0])
* ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/widgets.json
* ambari-server/src/main/resources/stacks/HDP/2.3/services/HDFS/widgets.json
* ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog222.java


> 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)

Mime
View raw message