<?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 start scheduling services one by one in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/start-scheduling-services-one-by-one/m-p/195103#M73749</link>
    <description>&lt;P&gt;I would know if there is an order to respect when we start services on HDP in Ambari&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jan 2018 22:42:37 GMT</pubDate>
    <dc:creator>sihi_yassine</dc:creator>
    <dc:date>2018-01-22T22:42:37Z</dc:date>
    <item>
      <title>start scheduling services one by one</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/start-scheduling-services-one-by-one/m-p/195103#M73749</link>
      <description>&lt;P&gt;I would know if there is an order to respect when we start services on HDP in Ambari&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 22:42:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/start-scheduling-services-one-by-one/m-p/195103#M73749</guid>
      <dc:creator>sihi_yassine</dc:creator>
      <dc:date>2018-01-22T22:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: start scheduling services one by one</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/start-scheduling-services-one-by-one/m-p/195104#M73750</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/47200/sihiyassine.html" nodeid="47200"&gt;@yassine sihi&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;There is a json file (role_command_order.json) which specifies the dependencies of starting/stopping the services.&lt;/P&gt;&lt;P&gt;If there is no dependency then the start/stop of services between hosts will run in parallel. You can find the files by running the command in ambari server node&lt;/P&gt;&lt;PRE&gt;find /var/lib/ambari-server/resources -iname role_command_order.json&lt;/PRE&gt;&lt;P&gt;Files inside common-services(/var/lib/ambari-server/resources/common-services) specify the dependency at a service level whereas files inside (/var/lib/ambari-server/resources/stacks) specify overall dependencies at stack level.&lt;/P&gt;&lt;P&gt;Consider this sample line in one of the file&lt;/P&gt;&lt;PRE&gt;"LIVY_SERVER-START" : ["NAMENODE-START", "DATANODE-START", "APP_TIMELINE_SERVER-START"]&lt;/PRE&gt;&lt;P&gt;This specifies that livy server start is dependent on namenode, datanode and app timeline server start.&lt;/P&gt;&lt;P&gt;Hope this helps &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2018 23:00:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/start-scheduling-services-one-by-one/m-p/195104#M73750</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-01-22T23:00:53Z</dc:date>
    </item>
  </channel>
</rss>

