<?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 Ambari API call to retrieve hostname of active HBase master? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Ambari-API-call-to-retrieve-hostname-of-active-HBase-master/m-p/173710#M135973</link>
    <description>&lt;P&gt;Using Ambari apis, is there a way to get the host name of the Active HBase Master?&lt;/P&gt;</description>
    <pubDate>Sat, 25 Mar 2017 05:55:59 GMT</pubDate>
    <dc:creator>rchoksi</dc:creator>
    <dc:date>2017-03-25T05:55:59Z</dc:date>
    <item>
      <title>Ambari API call to retrieve hostname of active HBase master?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-API-call-to-retrieve-hostname-of-active-HBase-master/m-p/173710#M135973</link>
      <description>&lt;P&gt;Using Ambari apis, is there a way to get the host name of the Active HBase Master?&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 05:55:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-API-call-to-retrieve-hostname-of-active-HBase-master/m-p/173710#M135973</guid>
      <dc:creator>rchoksi</dc:creator>
      <dc:date>2017-03-25T05:55:59Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari API call to retrieve hostname of active HBase master?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-API-call-to-retrieve-hostname-of-active-HBase-master/m-p/173711#M135974</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10310/rchoksi.html" nodeid="10310"&gt;@Romil Choksi&lt;/A&gt; You can use additional queries in the GET HostComponents API&lt;/P&gt;&lt;P&gt;e.g&lt;/P&gt;&lt;PRE&gt;&amp;lt;AMBARI_HOST&amp;gt;/api/v1/clusters/cl1/host_components?HostRoles/component_name=HBASE_MASTER&amp;amp;metrics/hbase/master/IsActiveMaster=true	

Hope this helps!
&lt;/PRE&gt;</description>
      <pubDate>Sat, 25 Mar 2017 05:59:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-API-call-to-retrieve-hostname-of-active-HBase-master/m-p/173711#M135974</guid>
      <dc:creator>kramakrishnan</dc:creator>
      <dc:date>2017-03-25T05:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari API call to retrieve hostname of active HBase master?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-API-call-to-retrieve-hostname-of-active-HBase-master/m-p/173712#M135975</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10310/rchoksi.html" nodeid="10310"&gt;@Romil Choksi&lt;/A&gt;&lt;P&gt;You can prepare similar queries by identifying the fields defined using query parameter ?fields=* with most of the ambari APIs&lt;/P&gt;&lt;PRE&gt;e.g  &amp;lt;AMBARI_HOST&amp;gt;/api/v1/clusters/cl1/host_components?fields=*&lt;/PRE&gt;</description>
      <pubDate>Sat, 25 Mar 2017 06:09:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-API-call-to-retrieve-hostname-of-active-HBase-master/m-p/173712#M135975</guid>
      <dc:creator>kramakrishnan</dc:creator>
      <dc:date>2017-03-25T06:09:21Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari API call to retrieve hostname of active HBase master?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Ambari-API-call-to-retrieve-hostname-of-active-HBase-master/m-p/173713#M135976</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2824/kramakrishnan.html" nodeid="2824"&gt;@kramakrishnan&lt;/A&gt; thanks. This helps.&lt;/P&gt;</description>
      <pubDate>Sat, 25 Mar 2017 06:51:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Ambari-API-call-to-retrieve-hostname-of-active-HBase-master/m-p/173713#M135976</guid>
      <dc:creator>rchoksi</dc:creator>
      <dc:date>2017-03-25T06:51:34Z</dc:date>
    </item>
  </channel>
</rss>

