Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Ambari Alerts - Namenode heap source code

avatar
Contributor

Hi,

Can any help me on finding source code of Namenode/Resourcemanager/datanode heap in Ambari alerts

1 ACCEPTED SOLUTION

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
4 REPLIES 4

avatar
Master Mentor

@rmr1989

Heap Alerts are Available for NameNode & DataNodes by default (not for Resourcemanager).

38593-heap-alerts.png


You can find it in the following locations:

NameNode: (they are of "type": "SCRIPT" alert, and the following scripts are used)

https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2....

https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/3....

.



DataNode: (It's a "type": "METRIC" kind of alert) Which uses the JMX. It checks the DataNode JMXServlet for the MemHeapUsedM and MemHeapMaxM properties.

https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2....


To know more about SCRIPT or METRIC type alerts please refer to https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-operations/content/alert_types.ht...

.

avatar
Contributor

Thank you...

avatar
Super Collaborator
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Contributor

Thank you..