Support Questions

Find answers, ask questions, and share your expertise

How to monitor JVM in Ambari

avatar
Rising Star

How can I add a wizard to visually monitor the JVM for my cluster in Ambari?

As an alternate I was unable to install the jVisualVM in admin node running centos6.

1 ACCEPTED SOLUTION

avatar
Guru

JVM is measured in these 3 Ambari service metrics:

  • NameNode Heap (HDFS): The percentage of NameNode JVM Heap used.
  • ResourceManager Heap (YARN): The percentage of ResourceManager JVM Heap used.
  • HBase Master Heap (HBase): The percentage of NameNode JVM Heap used.

You can add these native widgets to the Ambari dashboard if you do not see them. See section 2.1.2 in: http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Ambari_Users_Guide/bk_Ambari_Users_Guide-...

Alternatively, you can leverage Ambari 2.2 new grafana dashboarding capabilities to create much more granular and customized dashboard and reporting components from Ambari service metrics:

View solution in original post

3 REPLIES 3

avatar
Guru

JVM is measured in these 3 Ambari service metrics:

  • NameNode Heap (HDFS): The percentage of NameNode JVM Heap used.
  • ResourceManager Heap (YARN): The percentage of ResourceManager JVM Heap used.
  • HBase Master Heap (HBase): The percentage of NameNode JVM Heap used.

You can add these native widgets to the Ambari dashboard if you do not see them. See section 2.1.2 in: http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.2.0/bk_Ambari_Users_Guide/bk_Ambari_Users_Guide-...

Alternatively, you can leverage Ambari 2.2 new grafana dashboarding capabilities to create much more granular and customized dashboard and reporting components from Ambari service metrics:

avatar
Super Collaborator

@rudra,

Adding to Greg's answer, Ambari Metrics Service tracks the JVM state of every component through metrics. These can be visualized in Grafana from Ambari-2.2.2.

If you are interested in Ambari Server's JVM state itself, that is still WIP and is available in trunk. Tracked through https://issues.apache.org/jira/browse/AMBARI-17589.

avatar

@rudra prasad biswas

- As Aravindan mentioned that there is an Epic JIRA for Capturing & visualizing the metrics for Ambari Server: https://issues.apache.org/jira/browse/AMBARI-17589

- However if you want to monitor the Current JVM statistics/metrics (not historical data) then you can use the jconsole or jvisualvm kind of utilities as described in:

https://community.hortonworks.com/content/kbentry/71048/how-to-monitor-ambariservers-memory-using-jv...