You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hars Vardhan (JIRA)" <ji...@apache.org> on 2014/06/11 21:00:04 UTC

[jira] [Commented] (AMBARI-6088) YARN Metrics "Queue Memory Used" is not meaningful

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

Hars Vardhan commented on AMBARI-6088:
--------------------------------------

Ambari Web UI computes the graph’s point as follows:
seriesData = (availableMB != 0) ? (allocatedMB * 100) / availableMB : 0;
So, seriesData is none of the  metrics that we have in Yarn Resource Manager section.

The calculation on Yarn Resource Manager is done as:
Absolute Used Capacity % = allocatedMB * 100 / Memory Total
Used Capacity % = (Absolute Used Capacity) * 100 / Absolute Capacity
Absolute Capacity is assigned memory to this queue (from configuration)
Absolute Max Capacity is also from configuration.
The maximum value of Absolute Used Capacity can have is Max Capacity


> YARN Metrics "Queue Memory Used" is not meaningful
> --------------------------------------------------
>
>                 Key: AMBARI-6088
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6088
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: 1.5.1, 1.6.0, 1.6.1
>            Reporter: Hars Vardhan
>
> "Queue Memory Used" graph in Ambari seems abnormal.Sometimes, queue is using more than 400% of the cluster memory!! How this is calculated? It doesn't match with any metrics shown on Resource Manager UI page.



--
This message was sent by Atlassian JIRA
(v6.2#6252)