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

Aravindan Vijayan commented on AMBARI-15936:
--------------------------------------------

[~cscetbon] That could be the reason. The weird thing is why cpu_idle does not 
show up as a valid metric for NodeManagers. 

Does the following API response contain cpu_idle ? 

http://<Ambari_Server_Host> 
:8080/api/v1/stacks/HDP/versions/2.3/services/YARN/artifacts/metrics_descriptor


> Cluster CPU widget is wrong
> ---------------------------
>
>                 Key: AMBARI-15936
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15936
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.2.0
>            Reporter: Cyril Scetbon
>            Assignee: Aravindan Vijayan
>            Priority: Minor
>             Fix For: 2.4.0
>
>
> I'm using HDP 2.4 to run Yarn applications. When I look at my current 
> NodeManagers CPU, the consumption is low. However on Ambari interface, the 
> default "Cluster CPU“ widget displays a high CPU (91%). When I check the 
> expression used, it uses cpu_idle._sum (see 
> http://picpaste.com/Screen_Shot_2016-04-16_at_22.13.43-gS4XsIGb.png) which is 
> a metric that I can't find if I try to create a new widget 
> http://picpaste.com/Screen_Shot_2016-04-16_at_22.09.56-DJK3v4Wd.png 
> Can it be the reason why the CPU consumption displayed is totally wrong ?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to