<?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 REST API + how to start only the services/components in the cluster that are down? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/AMBARI-REST-API-how-to-start-only-the-services-components-in/m-p/210989#M74334</link>
    <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You can use the below API&lt;/P&gt;&lt;PRE&gt;curl -u {ambari-username}:{ambari-password} -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"_PARSE_.START.ALL_SERVICES","operation_level":{"level":"CLUSTER","cluster_name":"hdp"}},"Body":{"ServiceInfo":{"state":"STARTED"}}}' &lt;A href="http://{ambari-host}:{ambari-port}/api/v1/clusters/{cluster-name}/services" target="_blank"&gt;http://{ambari-host}:{ambari-port}/api/v1/clusters/{cluster-name}/services&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Replace ambari-username, ambari-password, ambari-host, ambari-port, cluster-name with respective values&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: Cluster Name should be replaced in 2 places. One in the url {cluster-name} and the other one in the json which I put as hdp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
    <pubDate>Tue, 06 Feb 2018 23:50:41 GMT</pubDate>
    <dc:creator>asirna</dc:creator>
    <dc:date>2018-02-06T23:50:41Z</dc:date>
    <item>
      <title>AMBARI REST API + how to start only the services/components in the cluster that are down?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/AMBARI-REST-API-how-to-start-only-the-services-components-in/m-p/210988#M74333</link>
      <description>&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;sometimes after we finished to install ambari cluster by the scripts ( ambari cluster include 3 masters machine and workers machines between 2 to 24 machines ) &lt;/P&gt;&lt;P&gt;some components are down , &lt;/P&gt;&lt;P&gt;so we want to give a second try and to start only the components / services that are down&lt;/P&gt;&lt;P&gt;what is the API for that &lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 23:30:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/AMBARI-REST-API-how-to-start-only-the-services-components-in/m-p/210988#M74333</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-02-06T23:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: AMBARI REST API + how to start only the services/components in the cluster that are down?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/AMBARI-REST-API-how-to-start-only-the-services-components-in/m-p/210989#M74334</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You can use the below API&lt;/P&gt;&lt;PRE&gt;curl -u {ambari-username}:{ambari-password} -H "X-Requested-By: ambari" -X PUT -d '{"RequestInfo":{"context":"_PARSE_.START.ALL_SERVICES","operation_level":{"level":"CLUSTER","cluster_name":"hdp"}},"Body":{"ServiceInfo":{"state":"STARTED"}}}' &lt;A href="http://{ambari-host}:{ambari-port}/api/v1/clusters/{cluster-name}/services" target="_blank"&gt;http://{ambari-host}:{ambari-port}/api/v1/clusters/{cluster-name}/services&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Replace ambari-username, ambari-password, ambari-host, ambari-port, cluster-name with respective values&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note: Cluster Name should be replaced in 2 places. One in the url {cluster-name} and the other one in the json which I put as hdp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 23:50:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/AMBARI-REST-API-how-to-start-only-the-services-components-in/m-p/210989#M74334</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-02-06T23:50:41Z</dc:date>
    </item>
  </channel>
</rss>

