<?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: what is the API that will capture list of component on specific master machine in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-is-the-API-that-will-capture-list-of-component-on/m-p/209862#M74290</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 admin:admin -H "X-Requested-By: ambari"-X GET &lt;A href="http://localhost:8080/api/v1/clusters/HDP/hosts/{host-name}/host_components/" target="_blank"&gt;http://localhost:8080/api/v1/clusters/HDP/hosts/{host-name}/host_components/&lt;/A&gt; | grep component_name&lt;/PRE&gt;&lt;P&gt;Replace {host-name} with your master host name&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2018 18:32:14 GMT</pubDate>
    <dc:creator>asirna</dc:creator>
    <dc:date>2018-02-05T18:32:14Z</dc:date>
    <item>
      <title>what is the API that will capture list of component on specific master machine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-is-the-API-that-will-capture-list-of-component-on/m-p/209861#M74289</link>
      <description>&lt;P&gt;the following API , print all components &lt;/P&gt;&lt;PRE&gt;curl -u admin:admin -H "X-Requested-By: ambari" -X GET &lt;A href="http://localhost:8080/api/v1/clusters/HDP/components/" target="_blank"&gt;http://localhost:8080/api/v1/clusters/HDP/components/&lt;/A&gt; | grep component_name&lt;/PRE&gt;&lt;P&gt;in out case we need list of component per master machine&lt;/P&gt;&lt;P&gt;we have 3 master machines in the cluster&lt;/P&gt;&lt;P&gt;so what is the API that will capture the component on specific master machine ?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 16:58:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-is-the-API-that-will-capture-list-of-component-on/m-p/209861#M74289</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2018-02-05T16:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: what is the API that will capture list of component on specific master machine</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-is-the-API-that-will-capture-list-of-component-on/m-p/209862#M74290</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 admin:admin -H "X-Requested-By: ambari"-X GET &lt;A href="http://localhost:8080/api/v1/clusters/HDP/hosts/{host-name}/host_components/" target="_blank"&gt;http://localhost:8080/api/v1/clusters/HDP/hosts/{host-name}/host_components/&lt;/A&gt; | grep component_name&lt;/PRE&gt;&lt;P&gt;Replace {host-name} with your master host name&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2018 18:32:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/what-is-the-API-that-will-capture-list-of-component-on/m-p/209862#M74290</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-02-05T18:32:14Z</dc:date>
    </item>
  </channel>
</rss>

