<?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] Critical Random Alerts: connection failed to IP:PORT in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105783#M68661</link>
    <description>&lt;P&gt;
	This is a known issue:&lt;/P&gt;&lt;P&gt;
	&lt;A href="https://issues.apache.org/jira/browse/AMBARI-14847" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-14847&lt;/A&gt;&lt;/P&gt;&lt;P&gt;
	Fixed in Ambari 2.2.2. There are two workarounds, but they are not ideal: &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;1. You can make the alert thread pool single-threaded&lt;/P&gt;&lt;PRE&gt;/usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-agent/src/main/python/ambari_agent/AlertSchedulerHandler.py#L68-L73" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-agent/src/main/python/ambari_agent/AlertSchedulerHandler.py#L68-L73&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And change the parameters to:&lt;/P&gt;&lt;PRE&gt;  APS_CONFIG = {
      'apscheduler.threadpool.core_threads': 1,
      'apscheduler.threadpool.max_threads': 1,
      'apscheduler.coalesce': True,
      'apscheduler.standalone': False,
      'apscheduler.misfire_grace_time': 5
    }&lt;/PRE&gt;&lt;P style="margin-left: 20px;"&gt;2. You can try increasing the timeout period in&lt;/P&gt;
&lt;PRE&gt;/usr/lib/python2.6/site-packages/resource_management/libraries/functions/curl_krb_request.py
&lt;/PRE&gt;&lt;P&gt;
	Change the -5m to something higher, like -12h&lt;/P&gt;&lt;P&gt;
	&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-common/src/main/python/resource_management/libraries/functions/curl_krb_request.py#L87" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-common/src/main/python/resource_management/libraries/functions/curl_krb_request.py#L87&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This would need to be done on each agent experiencing the problem. Or, just wait for Ambari 2.2.2, which should be out soon.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Mar 2016 22:04:22 GMT</pubDate>
    <dc:creator>jonathanhurley</dc:creator>
    <dc:date>2016-03-03T22:04:22Z</dc:date>
    <item>
      <title>[Ambari] Critical Random Alerts: connection failed to IP:PORT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105779#M68657</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;We've installed an HDP cluster (2.3.4.0-3485) on Azure. All services have been implemented including Ambari (2.2.0.0).&lt;/P&gt;&lt;P&gt;We allo "kerberized" the cluster. &lt;/P&gt;&lt;P&gt;Nevertheless, sometimes some alerts appears mentionning a connection failed with a service (random too) talking about credentials (see screenshot). &lt;/P&gt;&lt;P&gt;After a while, they disappear.&lt;/P&gt;&lt;P&gt;Do you know how can I managed them or best, correct this issue ?&lt;/P&gt;&lt;P&gt;I'd really appreciate for your help.&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;Michaël&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2525-alerts.png" style="width: 758px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23562iD4FEAA7B11A903C2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2525-alerts.png" alt="2525-alerts.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2526-yarn-example.png" style="width: 1149px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23563i1CD64E2F6614727A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2526-yarn-example.png" alt="2526-yarn-example.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:57:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105779#M68657</guid>
      <dc:creator>michaeldurieux2</dc:creator>
      <dc:date>2019-08-19T11:57:23Z</dc:date>
    </item>
    <item>
      <title>Re: [Ambari] Critical Random Alerts: connection failed to IP:PORT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105780#M68658</link>
      <description>&lt;P&gt;What version of Java is it&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 18:21:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105780#M68658</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-02T18:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: [Ambari] Critical Random Alerts: connection failed to IP:PORT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105781#M68659</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3153/michaeldurieux.html" nodeid="3153"&gt;@Michael DURIEUX&lt;/A&gt;&lt;P&gt;This is known issue &lt;A href="https://community.hortonworks.com/content/kbentry/10464/ambari-alerts-phantom-or-false-alerts-on-kerberize.html" target="_blank"&gt;https://community.hortonworks.com/content/kbentry/10464/ambari-alerts-phantom-or-false-alerts-on-kerberize.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2016 18:59:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105781#M68659</guid>
      <dc:creator>nsabharwal</dc:creator>
      <dc:date>2016-03-02T18:59:44Z</dc:date>
    </item>
    <item>
      <title>Re: [Ambari] Critical Random Alerts: connection failed to IP:PORT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105782#M68660</link>
      <description>&lt;P&gt;Thank you &lt;A rel="user" href="https://community.cloudera.com/users/140/nsabharwal.html" nodeid="140" target="_blank"&gt;@Neeraj Sabharwal&lt;/A&gt; for your quick answer.&lt;/P&gt;&lt;P&gt;We have already seen this topic and applied the solution. We also tried with 5m40 but same errors.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;curl_krb_request file&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2531-curl-krb-request.jpeg" style="width: 1097px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23559i9DCB1548ACFCC136/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2531-curl-krb-request.jpeg" alt="2531-curl-krb-request.jpeg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;alert_check_oozie_server file&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2532-alert-check-oozie-server.png" style="width: 1027px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23560i310A606BF1AB0285/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2532-alert-check-oozie-server.png" alt="2532-alert-check-oozie-server.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;To answer to &lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393" target="_blank"&gt;@Artem Ervits&lt;/A&gt;, my Java version is oracle jdk1.8.0_60.&lt;/P&gt;&lt;P&gt;I use Ambari 2.2 and I'll se that I've two folders OOZIE on UNIX: 4.0.0.2.0 and 4.2.0.2.3. The modification has been made on the first one 4.0.0.2.0 because in the second one, I do not have the &lt;A href="http://alert_check_oozie_server.py/" rel="nofollow noopener noreferrer" target="_blank"&gt;alert_check_oozie_server.py&lt;/A&gt; file. In Ambari, it mentions that my OOZIE version is 4.2.0.2.3.&lt;/P&gt;&lt;P&gt;Any advice ?&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 11:57:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105782#M68660</guid>
      <dc:creator>michaeldurieux2</dc:creator>
      <dc:date>2019-08-19T11:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: [Ambari] Critical Random Alerts: connection failed to IP:PORT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105783#M68661</link>
      <description>&lt;P&gt;
	This is a known issue:&lt;/P&gt;&lt;P&gt;
	&lt;A href="https://issues.apache.org/jira/browse/AMBARI-14847" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-14847&lt;/A&gt;&lt;/P&gt;&lt;P&gt;
	Fixed in Ambari 2.2.2. There are two workarounds, but they are not ideal: &lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;1. You can make the alert thread pool single-threaded&lt;/P&gt;&lt;PRE&gt;/usr/lib/python2.6/site-packages/ambari_agent/AlertSchedulerHandler.py&lt;/PRE&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-agent/src/main/python/ambari_agent/AlertSchedulerHandler.py#L68-L73" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-agent/src/main/python/ambari_agent/AlertSchedulerHandler.py#L68-L73&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And change the parameters to:&lt;/P&gt;&lt;PRE&gt;  APS_CONFIG = {
      'apscheduler.threadpool.core_threads': 1,
      'apscheduler.threadpool.max_threads': 1,
      'apscheduler.coalesce': True,
      'apscheduler.standalone': False,
      'apscheduler.misfire_grace_time': 5
    }&lt;/PRE&gt;&lt;P style="margin-left: 20px;"&gt;2. You can try increasing the timeout period in&lt;/P&gt;
&lt;PRE&gt;/usr/lib/python2.6/site-packages/resource_management/libraries/functions/curl_krb_request.py
&lt;/PRE&gt;&lt;P&gt;
	Change the -5m to something higher, like -12h&lt;/P&gt;&lt;P&gt;
	&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-common/src/main/python/resource_management/libraries/functions/curl_krb_request.py#L87" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-common/src/main/python/resource_management/libraries/functions/curl_krb_request.py#L87&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This would need to be done on each agent experiencing the problem. Or, just wait for Ambari 2.2.2, which should be out soon.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2016 22:04:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105783#M68661</guid>
      <dc:creator>jonathanhurley</dc:creator>
      <dc:date>2016-03-03T22:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: [Ambari] Critical Random Alerts: connection failed to IP:PORT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105784#M68662</link>
      <description>&lt;P&gt;Thank you very much for your return.&lt;/P&gt;&lt;P&gt;I think we will wait for Ambari 2.2.2 because, now, we understood the alert so it's not really criticial...&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Michaël&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2016 23:32:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105784#M68662</guid>
      <dc:creator>michaeldurieux2</dc:creator>
      <dc:date>2016-03-04T23:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: [Ambari] Critical Random Alerts: connection failed to IP:PORT</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105785#M68663</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3153/michaeldurieux.html" nodeid="3153"&gt;@Michael DURIEUX&lt;/A&gt; please accept the best answer.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Mar 2016 00:04:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-Critical-Random-Alerts-connection-failed-to-IP-PORT/m-p/105785#M68663</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-05T00:04:50Z</dc:date>
    </item>
  </channel>
</rss>

