<?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: How to get rid of stale alerts in Ambari in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102461#M65396</link>
    <description>&lt;P&gt;I have the same issue with an HDP 2.4 on SLES 11.4 fresh install.&lt;/P&gt;&lt;P&gt;Many of the alerts regard timeouts chacking the UIs:&lt;/P&gt;&lt;P&gt;Data Node UI, Node Manager UI, Atrals UI, Oozie UI, etc.&lt;/P&gt;&lt;P&gt;All these URLs are reachable from both the windows laptops with the browser an the HDP-nodes using wget in the console.&lt;/P&gt;&lt;P&gt;How does Ambari check these URLs? Is it possible that the check-scripts ignore os-wide proxy- and firewall-configurations?&lt;/P&gt;&lt;P&gt;I would also like to know what does the "24-Hour" columns mean, does someone have an idea what does it mean? There is no mention at all of this field in the docs. The content is alway "0" in my cluster (like in the posted screenshot).&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
    <pubDate>Mon, 02 May 2016 15:23:42 GMT</pubDate>
    <dc:creator>openbusinessintelligence</dc:creator>
    <dc:date>2016-05-02T15:23:42Z</dc:date>
    <item>
      <title>How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102448#M65383</link>
      <description>&lt;P&gt;I have restarted Ambari Server and all agents along with complete HDP stack multiple times in past 5 days for different activities but these alerts don't go away.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1308-screen-shot-2016-01-13-at-102524-am.png" style="width: 1894px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23709i34A812852636C2EC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="1308-screen-shot-2016-01-13-at-102524-am.png" alt="1308-screen-shot-2016-01-13-at-102524-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:15:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102448#M65383</guid>
      <dc:creator>pardeep_kumar</dc:creator>
      <dc:date>2019-08-19T12:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102449#M65384</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/9762/how-to-get-rid-of-stale-alerts-in-ambari.html#"&gt;@Pardeep&lt;/A&gt;  You may have to open a support ticket for this. I had the same experience and support had to troubleshoot it&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 00:28:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102449#M65384</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-14T00:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102450#M65385</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140"&gt;@Neeraj Sabharwal&lt;/A&gt;&lt;P&gt;Hey Neeraj! I'm having this same issue now, too. Do you have any input regarding how support troubleshoot it for you or do I need to hit them up as well with a ticket for an answer? &lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 02:15:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102450#M65385</guid>
      <dc:creator>Mark_Petronic</dc:creator>
      <dc:date>2016-01-19T02:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102451#M65386</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/738/markpetronic.html" nodeid="738"&gt;@Mark Petronic&lt;/A&gt; Support will webex and check for configs and other settings related to AMS. &lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 03:53:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102451#M65386</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-01-19T03:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102452#M65387</link>
      <description>&lt;P&gt;Check the ambari heap size, it may be running out of memory. &lt;/P&gt;&lt;P&gt;/var/lib/ambari-server/ambari-env.sh&lt;/P&gt;&lt;P&gt;Change -Xmx2048m to 8GB if you have enough memory availbale and restart ambari-server.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 05:30:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102452#M65387</guid>
      <dc:creator>smishra1</dc:creator>
      <dc:date>2016-01-19T05:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102453#M65388</link>
      <description>&lt;P&gt;Well, I solved it another way - I just upgraded to Ambari 2.2. I will watch see if this comes back as I run with this version and open a ticket if that happens. I was in the midst of upgrading anyway when this started to happen. I need to move to HDP 2.3.4 and Spark 1.5. But, 8 GB, really? Wow! That seems ridiculously expensive for a monitoring framework.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jan 2016 10:20:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102453#M65388</guid>
      <dc:creator>Mark_Petronic</dc:creator>
      <dc:date>2016-01-19T10:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102454#M65389</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/139/pardeepkumar.html" nodeid="139"&gt;@Pardeep&lt;/A&gt; with Support's help we got rid of those alerts by adding 'misfire_grace_time':10 to APS_CONFIG in /usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py on every node. After the update that section should read:&lt;/P&gt;&lt;PRE&gt;APS_CONFIG = { 
'threadpool.core_threads': 3, 
'coalesce': True, 
'standalone': False, 
'misfire_grace_time':10 
}&lt;/PRE&gt;&lt;P&gt;In this we are allowing up to 10 seconds for all tests to complete. After that restart all ambari_agents. We tried on one cluster and it worked. This is most likely fixed in Ambari-2.2 but happens in 2.1.2.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Jan 2016 15:20:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102454#M65389</guid>
      <dc:creator>pminovic</dc:creator>
      <dc:date>2016-01-20T15:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102455#M65390</link>
      <description>&lt;P&gt;HDP 2.3, Ambari 2.1&lt;/P&gt;&lt;P&gt;Adding 'misfire_grace_time':10 to APS_CONFIG in /usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py on every node and restarting ambari server and agent on all nodes didn't worked for me.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Feb 2016 09:40:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102455#M65390</guid>
      <dc:creator>sushil61</dc:creator>
      <dc:date>2016-02-05T09:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102459#M65394</link>
      <description>&lt;P&gt;FWIW, You can disable this alert. Click "Enabled" next to State in upper-right and this alert will no longer be checked.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 01:06:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102459#M65394</guid>
      <dc:creator>jeff1</dc:creator>
      <dc:date>2016-04-12T01:06:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102460#M65395</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648"&gt;@Sagar Shimpi&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2016 12:48:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102460#M65395</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-04-12T12:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102461#M65396</link>
      <description>&lt;P&gt;I have the same issue with an HDP 2.4 on SLES 11.4 fresh install.&lt;/P&gt;&lt;P&gt;Many of the alerts regard timeouts chacking the UIs:&lt;/P&gt;&lt;P&gt;Data Node UI, Node Manager UI, Atrals UI, Oozie UI, etc.&lt;/P&gt;&lt;P&gt;All these URLs are reachable from both the windows laptops with the browser an the HDP-nodes using wget in the console.&lt;/P&gt;&lt;P&gt;How does Ambari check these URLs? Is it possible that the check-scripts ignore os-wide proxy- and firewall-configurations?&lt;/P&gt;&lt;P&gt;I would also like to know what does the "24-Hour" columns mean, does someone have an idea what does it mean? There is no mention at all of this field in the docs. The content is alway "0" in my cluster (like in the posted screenshot).&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Mon, 02 May 2016 15:23:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102461#M65396</guid>
      <dc:creator>openbusinessintelligence</dc:creator>
      <dc:date>2016-05-02T15:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102463#M65398</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/177/pminovic.html" nodeid="177"&gt;@Predrag Minovic&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In my Ambari the code look like:&lt;/P&gt;&lt;PRE&gt;self.APS_CONFIG = {
      'apscheduler.threadpool.core_threads': 3,
      'apscheduler.coalesce': True,
      'apscheduler.standalone': False,
      'apscheduler.misfire_grace_time': alert_grace_period
    }&lt;/PRE&gt;</description>
      <pubDate>Mon, 02 May 2016 15:54:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102463#M65398</guid>
      <dc:creator>openbusinessintelligence</dc:creator>
      <dc:date>2016-05-02T15:54:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102464#M65399</link>
      <description>&lt;P&gt;
	In Ambari 2.2 misfire_grace_time is configurable by changing the value for the variable alert_grace_period.
&lt;/P&gt;
&lt;P&gt;
	This variable is configured in /etc/ambari-agent/conf/ambari-agent.ini and the default is: 
&lt;/P&gt;
&lt;PRE&gt;
alert_grace_period=5
&lt;/PRE&gt;
&lt;P&gt;
	You can increase to 10 seconds to match above answer.
&lt;/P&gt;
&lt;P&gt;
	This needs to be done on all hosts running ambari-agent, and afterwards ambari-agent needs to be restarted.
&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2017 15:21:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102464#M65399</guid>
      <dc:creator>bjorn_olsen</dc:creator>
      <dc:date>2017-05-15T15:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102465#M65400</link>
      <description>&lt;P&gt;I have tried to place this parameter &lt;/P&gt;&lt;OL&gt;&lt;LI&gt;APS_CONFIG ={'threadpool.core_threads':3,'coalesce':True,'standalone':False,'misfire_grace_time':10} in the following file /usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py&lt;/LI&gt;&lt;LI&gt;Changed the parmeter and restarted all ambari-agents but failed with following error&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;====================================================================================&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;Traceback (most recent call last):  File "/usr/lib/python2.6/site-packages/ambari_agent/AmbariAgent.py", line 24, in &amp;lt;module&amp;gt;    from Controller import AGENT_AUTO_RESTART_EXIT_CODE  File "/usr/lib/python2.6/site-packages/ambari_agent/Controller.py", line 44, in &amp;lt;module&amp;gt;    from ambari_agent.AlertSchedulerHandler import AlertSchedulerHandler  File "/usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py", line 50    'misfire_grace_time':10                       ^SyntaxError: invalid syntax&lt;/LI&gt;&lt;LI&gt;=========================================================================================&lt;/LI&gt;&lt;LI&gt;Please help me out how to fix this issue&lt;/LI&gt;&lt;LI&gt;Appreciate the help &lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Thu, 15 Jun 2017 04:34:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102465#M65400</guid>
      <dc:creator>kkum</dc:creator>
      <dc:date>2017-06-15T04:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102466#M65401</link>
      <description>&lt;P&gt;After increasing the timeout, the error still persists and do you think this might be because of system coonfiguration??&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2017 16:25:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/102466#M65401</guid>
      <dc:creator>gauravb117</dc:creator>
      <dc:date>2017-12-07T16:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/288707#M213819</link>
      <description>&lt;P&gt;&lt;SPAN&gt;This was what fixed it for me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Using Ambari&amp;nbsp;Version 2.7.3.0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SSH into host&amp;nbsp; that's reporting stale alerts:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sudo vi /etc/ambari-agent/conf/ambari-agent.ini&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;change alert_grace_period (default 5 | change to: 15)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;optional: restart service's instance reporting stale alerts (JournalNodes, NameNodes,etc)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sudo systemctl restart ambari-agent.service&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example using CentOS / Redhat&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 16:20:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/288707#M213819</guid>
      <dc:creator>DavidR</dc:creator>
      <dc:date>2020-01-30T16:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to get rid of stale alerts in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/301254#M220566</link>
      <description>&lt;P&gt;I did this in root user, found the file and changed it there. But, how to change it for each node?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Aug 2020 08:40:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-get-rid-of-stale-alerts-in-Ambari/m-p/301254#M220566</guid>
      <dc:creator>VikneshSK</dc:creator>
      <dc:date>2020-08-11T08:40:08Z</dc:date>
    </item>
  </channel>
</rss>

