<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Ambari Alerts - Namenode heap source code in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Alerts-Namenode-heap-source-code/m-p/182058#M67853</link>
    <description>&lt;P&gt;Thank you..&lt;/P&gt;</description>
    <pubDate>Tue, 12 Sep 2017 01:35:57 GMT</pubDate>
    <dc:creator>mdh_raghavendra</dc:creator>
    <dc:date>2017-09-12T01:35:57Z</dc:date>
    <item>
      <title>Ambari Alerts - Namenode heap source code</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Alerts-Namenode-heap-source-code/m-p/182054#M67849</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can any help me on finding source code of Namenode/Resourcemanager/datanode heap in Ambari alerts&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 00:56:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Alerts-Namenode-heap-source-code/m-p/182054#M67849</guid>
      <dc:creator>mdh_raghavendra</dc:creator>
      <dc:date>2017-09-12T00:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Alerts - Namenode heap source code</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Alerts-Namenode-heap-source-code/m-p/182055#M67850</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/15630/mdhraghavendra.html" nodeid="15630" target="_blank"&gt;@rmr1989&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Heap Alerts are Available for NameNode &amp;amp; DataNodes by default (not for Resourcemanager).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="38593-heap-alerts.png" style="width: 1334px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19185iB856F81FC11B710C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="38593-heap-alerts.png" alt="38593-heap-alerts.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You can find it in the following locations:&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;NameNode: (&lt;/STRONG&gt;they are of "type": "SCRIPT" alert, and the following scripts are used)&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_metrics_deviation.py" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_metrics_deviation.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/alerts/alert_metrics_deviation.py" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/alerts/alert_metrics_deviation.py&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;DataNode:&lt;/STRONG&gt; (It's a  "type": "METRIC" kind of alert) Which uses the JMX.  It checks the DataNode JMXServlet for the MemHeapUsedM and MemHeapMaxM properties.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json#L1715-L1756" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json#L1715-L1756&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;To know more about SCRIPT or METRIC type alerts please refer to &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-operations/content/alert_types.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.5.1.0/bk_ambari-operations/content/alert_types.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 08:56:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Alerts-Namenode-heap-source-code/m-p/182055#M67850</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-08-18T08:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Alerts - Namenode heap source code</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Alerts-Namenode-heap-source-code/m-p/182056#M67851</link>
      <description>&lt;P&gt;There are several alerts which cover heap. For example, if you wanted to see the raw DataNode heap value, then you'd check the metric alert definition for it:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json#L1714-L1755" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json#L1714-L1755&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For NameNode, we don't alert on heap directly but we measure average heap deviation values:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json#L868-L947" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/alerts.json#L868-L947&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_metrics_deviation.py" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/alerts/alert_metrics_deviation.py&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 01:12:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Alerts-Namenode-heap-source-code/m-p/182056#M67851</guid>
      <dc:creator>jonathanhurley</dc:creator>
      <dc:date>2017-09-12T01:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Alerts - Namenode heap source code</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Alerts-Namenode-heap-source-code/m-p/182057#M67852</link>
      <description>&lt;P&gt;Thank you... &lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 01:35:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Alerts-Namenode-heap-source-code/m-p/182057#M67852</guid>
      <dc:creator>mdh_raghavendra</dc:creator>
      <dc:date>2017-09-12T01:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari Alerts - Namenode heap source code</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Alerts-Namenode-heap-source-code/m-p/182058#M67853</link>
      <description>&lt;P&gt;Thank you..&lt;/P&gt;</description>
      <pubDate>Tue, 12 Sep 2017 01:35:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-Alerts-Namenode-heap-source-code/m-p/182058#M67853</guid>
      <dc:creator>mdh_raghavendra</dc:creator>
      <dc:date>2017-09-12T01:35:57Z</dc:date>
    </item>
  </channel>
</rss>

