Support Questions

Find answers, ask questions, and share your expertise
Announcements
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

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

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?

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.