<?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: Restarting Components/services after rebooting a node or service failure in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115148#M77942</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/513/jluniya.html" nodeid="513"&gt;@jluniya&lt;/A&gt; , ah I have just opened the pdf. It suggests to tweak some properties at the agents. such as: (recovery.type, recovery.lifetime_max_count, recovery.max_count, ...). Is this the answer ? impatient to give it a try tomorrow !&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2016 03:37:05 GMT</pubDate>
    <dc:creator>ali_gouta</dc:creator>
    <dc:date>2016-03-08T03:37:05Z</dc:date>
    <item>
      <title>Restarting Components/services after rebooting a node or service failure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115142#M77936</link>
      <description>&lt;P&gt;If a node running ambari-agent reboots or one component (one kafka broker for instance) fails due to some out of memory issue. Is it possible to automatically restart the service without a human intervention ?&lt;/P&gt;&lt;P&gt;Supervisord or systemctl may handle this kind of issue. However, with Ambari I am not sure this is supported. I was reading the following jira which looks to be related to this subject:&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-10029"&gt;AMBARI-10029&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://issues.apache.org/jira/browse/AMBARI-10029"&gt;&lt;/A&gt;I did the with ambari-2.2.0 test and once the VM was up again, components did not recover automatically. I need to restart them manually from Ambari...&lt;/P&gt;&lt;P&gt;I think it is important to have this feature especially in a production environement!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 01:02:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115142#M77936</guid>
      <dc:creator>ali_gouta</dc:creator>
      <dc:date>2016-03-08T01:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Restarting Components/services after rebooting a node or service failure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115143#M77937</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt; what about chkconfig? If you set &lt;/P&gt;&lt;PRE&gt;chkconfig ambari-agent on&lt;/PRE&gt;&lt;P&gt;wouldn't it do it for you?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 01:09:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115143#M77937</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-08T01:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Restarting Components/services after rebooting a node or service failure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115144#M77938</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Yes it isn't possible to do this directly. But you could use Ambari API to check the current status of services in a given node and restart them if required using the API's.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 01:10:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115144#M77938</guid>
      <dc:creator>vpoornalingam</dc:creator>
      <dc:date>2016-03-08T01:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: Restarting Components/services after rebooting a node or service failure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115145#M77939</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/393/aervits.html" nodeid="393"&gt;@Artem Ervits&lt;/A&gt;I think this command makes ambari-agent to restart after a reboot but not the components running on the host right ? or am I wrong ?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 01:16:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115145#M77939</guid>
      <dc:creator>ali_gouta</dc:creator>
      <dc:date>2016-03-08T01:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: Restarting Components/services after rebooting a node or service failure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115146#M77940</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt; that's correct, you can have agent restart on it's own but for components, it's a lot more involved and &lt;A rel="user" href="https://community.cloudera.com/users/350/vpoornalingam.html" nodeid="350"&gt;@vpoornalingam&lt;/A&gt; answer touches on that.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 01:38:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115146#M77940</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-08T01:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: Restarting Components/services after rebooting a node or service failure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115147#M77941</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1769/aligouta.html" nodeid="1769"&gt;@Ali Gouta&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The auto-restart functionality in AMBARI-10029 requires few ambari config changes. Did you make appropriate config changes? &lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 03:01:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115147#M77941</guid>
      <dc:creator>jluniya</dc:creator>
      <dc:date>2016-03-08T03:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Restarting Components/services after rebooting a node or service failure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115148#M77942</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/513/jluniya.html" nodeid="513"&gt;@jluniya&lt;/A&gt; , ah I have just opened the pdf. It suggests to tweak some properties at the agents. such as: (recovery.type, recovery.lifetime_max_count, recovery.max_count, ...). Is this the answer ? impatient to give it a try tomorrow !&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2016 03:37:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115148#M77942</guid>
      <dc:creator>ali_gouta</dc:creator>
      <dc:date>2016-03-08T03:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: Restarting Components/services after rebooting a node or service failure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115149#M77943</link>
      <description>&lt;P&gt;In ambari 2.2.1.0 this feature is not working on my setup.&lt;/P&gt;&lt;P&gt;First I tried with the following settings in my ambari.properties file&lt;/P&gt;&lt;P&gt;recovery.lifetime_max_count=4&lt;/P&gt;&lt;P&gt;recovery.retry_interval=1&lt;/P&gt;&lt;P&gt;recovery.max_count=5&lt;/P&gt;&lt;P&gt;recovery.type=AUTO_START&lt;/P&gt;&lt;P&gt;recovery.window_in_minutes=20&lt;/P&gt;&lt;P&gt;On rebooting one of the nodes, the node came back up with Ambari agent running and connecting to Ambari Server. But none of the components started.&lt;/P&gt;&lt;P&gt;Then added the following setting as well and still no luck.&lt;/P&gt;&lt;P&gt;recovery.enabled_components=METRICS_COLLECTOR,NAMENODE,DATANODE,ZKFC,JOURNANODE,RESOURCEMANAGER,NODEMANAGER,APP_TIMELINE_SERVER,ZOOKEEPER_SERVER,HISTORYSERVER,SPARK_JOBHISTORYSERVER&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2016 05:08:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115149#M77943</guid>
      <dc:creator>dheeren</dc:creator>
      <dc:date>2016-04-23T05:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: Restarting Components/services after rebooting a node or service failure</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115150#M77944</link>
      <description>&lt;P&gt;I actually tested it with ambari 2.2.0. I did not add the properties: recovery.lifetime_max_count, recovery.window_in_minutes...
I just used the predefined properties in ambari.properties. Then I tested it with KAFKA_BROKER and NODEMANAGER, ZOOKEEPER_SERVER then I killed the kafka, zk, nm processes manually, and it worked! On monday, I will test it with ambari 2.2.1..&lt;/P&gt;</description>
      <pubDate>Sat, 23 Apr 2016 17:19:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Restarting-Components-services-after-rebooting-a-node-or/m-p/115150#M77944</guid>
      <dc:creator>ali_gouta</dc:creator>
      <dc:date>2016-04-23T17:19:34Z</dc:date>
    </item>
  </channel>
</rss>

