<?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: API + how the get status summary for all services in ambari cluster in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/API-how-the-get-status-summary-for-all-services-in-ambari/m-p/178974#M73013</link>
    <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;@Michael Bronson&lt;/A&gt; See this link &lt;A href="http://henning.kropponline.de/2015/06/07/services-and-state-with-ambari-rest-api/"&gt;http://henning.kropponline.de/2015/06/07/services-and-state-with-ambari-rest-api/&lt;/A&gt;which would helps.&lt;/P&gt;</description>
    <pubDate>Thu, 04 Jan 2018 02:26:36 GMT</pubDate>
    <dc:creator>pdegave</dc:creator>
    <dc:date>2018-01-04T02:26:36Z</dc:date>
    <item>
      <title>API + how the get status summary for all services in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/API-how-the-get-status-summary-for-all-services-in-ambari/m-p/178973#M73012</link>
      <description>&lt;P&gt;how the get status summary details for services in ambari cluster by &lt;STRONG&gt;rest API commands &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;example for kafka service ( kafka broker summary )&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47420-capture5.png" style="width: 410px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19435i10E7652C144AAA8F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="47420-capture5.png" alt="47420-capture5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let take the HDFS service as example&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;HDFS include the following sub application/services&lt;/P&gt;&lt;P&gt;so how to get status started/stop for&lt;STRONG&gt; "Standby NameNode" , ZKFailoverController , Active NameNode , etc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;the same for all rest services&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="47419-capture4.png" style="width: 433px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19436i17D9F5FD53100DBF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="47419-capture4.png" alt="47419-capture4.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="47418-capture4.png" style="width: 433px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19437iC7F4E7C5CCFF409F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="47418-capture4.png" alt="47418-capture4.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="47417-capture3.png" style="width: 406px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19438i215BA2382258A8B4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="47417-capture3.png" alt="47417-capture3.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="47416-capture2.png" style="width: 391px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19439i5E31589ED09B1F5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="47416-capture2.png" alt="47416-capture2.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="47415-capture1.png" style="width: 386px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/19440i4F22D9BFCEA34348/image-size/medium?v=v2&amp;amp;px=400" role="button" title="47415-capture1.png" alt="47415-capture1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:27:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/API-how-the-get-status-summary-for-all-services-in-ambari/m-p/178973#M73012</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-18T09:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: API + how the get status summary for all services in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/API-how-the-get-status-summary-for-all-services-in-ambari/m-p/178974#M73013</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/26229/uribarih.html"&gt;@Michael Bronson&lt;/A&gt; See this link &lt;A href="http://henning.kropponline.de/2015/06/07/services-and-state-with-ambari-rest-api/"&gt;http://henning.kropponline.de/2015/06/07/services-and-state-with-ambari-rest-api/&lt;/A&gt;which would helps.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 02:26:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/API-how-the-get-status-summary-for-all-services-in-ambari/m-p/178974#M73013</guid>
      <dc:creator>pdegave</dc:creator>
      <dc:date>2018-01-04T02:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: API + how the get status summary for all services in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/API-how-the-get-status-summary-for-all-services-in-ambari/m-p/178975#M73014</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;P&gt;This API will get you status of all components on all hosts in your cluster&lt;/P&gt;&lt;PRE&gt;curl -u {ambari_username}:{ambari_password} -H "X-Requested-By:ambari" -i GET &lt;A href="http://localhost:8080/api/v1/clusters/cl1/components?fields=host_components/HostRoles/state" target="_blank"&gt;http://localhost:8080/api/v1/clusters/cl1/components?fields=host_components/HostRoles/state&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;And if you need to find the status of individual component e.g for datanode;&lt;/P&gt;&lt;PRE&gt;curl -u {ambari_username}:{ambari_password} -H "X-Requested-By:ambari" -i GET &lt;A href="http://localhost:8080/api/v1/clusters/cl1/components/DATANODE?fields=host_components/HostRoles/state" target="_blank"&gt;http://localhost:8080/api/v1/clusters/cl1/components/DATANODE?fields=host_components/HostRoles/state&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jan 2018 05:52:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/API-how-the-get-status-summary-for-all-services-in-ambari/m-p/178975#M73014</guid>
      <dc:creator>kramakrishnan</dc:creator>
      <dc:date>2018-01-04T05:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: API + how the get status summary for all services in ambari cluster</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/API-how-the-get-status-summary-for-all-services-in-ambari/m-p/303866#M73015</link>
      <description>&lt;P&gt;curl -u *********:************** -H "X-Requested-By:ambari" -i GET &lt;A href="http://bathdi-pp-ne-petra-hive-prod-02.azurehdinsight.net:8080/api/v1/clusters/cl1/components?fields=host_components/HostRoles/state" target="_blank"&gt;http://bathdi-pp-ne-petra-hive-prod-02.azurehdinsight.net:8080/api/v1/clusters/cl1/components?fields=host_components/HostRoles/state&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Getting error :&amp;nbsp;curl: (6) Could not resolve host: GET&lt;/P&gt;</description>
      <pubDate>Sat, 03 Oct 2020 16:50:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/API-how-the-get-status-summary-for-all-services-in-ambari/m-p/303866#M73015</guid>
      <dc:creator>ChinkuDe</dc:creator>
      <dc:date>2020-10-03T16:50:23Z</dc:date>
    </item>
  </channel>
</rss>

