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

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

SUCCESS: Integrated in Ambari-branch-2.2 #661 (See 
[https://builds.apache.org/job/Ambari-branch-2.2/661/])
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=dbde2f9b05c9896bed69e0c1c0306d02f9945c64])
* 
ambari-server/src/main/resources/stacks/HDP/2.3/services/YARN/YARN_widgets.json
* 
ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog222.java
* 
ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java
* 
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/PhoenixHBaseAccessor.java
* ambari-server/src/main/resources/common-services/HBASE/0.96.0.2.0/widgets.json
* 
ambari-metrics/ambari-metrics-timelineservice/src/main/java/org/apache/hadoop/yarn/server/applicationhistoryservice/metrics/timeline/TimelineMetricConfiguration.java
* ambari-server/src/main/resources/stacks/HDP/2.3/services/HBASE/widgets.json
* 
ambari-server/src/main/resources/common-services/YARN/2.1.0.2.0/YARN_widgets.json


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

Reply via email to