Support Questions
Find answers, ask questions, and share your expertise

Inconsistent CPU info in Ambari Dashboard and in YARN tab

Inconsistent CPU info in Ambari Dashboard and in YARN tab

Explorer

Hi,

Just curious, I think there is a bug with the information of CPU usage in the YARN tab because it is not consistent with the information displayed by top. My cluster is idle but the figure shows CPU usage up to 60%.

So is it a bug or do I have any mis-understanding on the meaning of the figure? Thanks for clarify.

On the dashboard:

10258-clustercpu-dashboard.png

On YARN tab which say CPU info across all NodeManagers:

10259-clustercpu.png

With top (the time is shifted one hour because of the NTP server, it should be at 14, not 13):

10260-top.png

2 REPLIES 2

Re: Inconsistent CPU info in Ambari Dashboard and in YARN tab

Super Guru

did you check the Resource manager UI 8088/cluster

Resource Manager JMX 8088/jmx

I am curious what value they are showing

Do you see any errors in the logs?

Re: Inconsistent CPU info in Ambari Dashboard and in YARN tab

Super Guru

Read this article and check your configuration

http://hortonworks.com/blog/managing-cpu-resources-in-your-hadoop-yarn-clusters/

Vcores may not map to actual hardware and all CPUs may not be made available to Hadoop

See: http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_yarn-resource-management/content/enabling...