<?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: How can I use the Ambari REST API to get active configuration for a particular service? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-use-the-Ambari-REST-API-to-get-active/m-p/148404#M20176</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/755/aarondossett.html" nodeid="755"&gt;@Aaron Dossett&lt;/A&gt;: Please review below link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Metrics+API+specification" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Metrics+API+specification&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 19 Feb 2016 20:01:00 GMT</pubDate>
    <dc:creator>SK1</dc:creator>
    <dc:date>2016-02-19T20:01:00Z</dc:date>
    <item>
      <title>How can I use the Ambari REST API to get active configuration for a particular service?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-use-the-Ambari-REST-API-to-get-active/m-p/148402#M20174</link>
      <description>&lt;P&gt;A previous question (https://community.hortonworks.com/questions/5482/how-to-fetch-service-level-configuration-using-res.html) detailed how to navigate to particular configurations and extract certain values.  Is there a way I can use the REST API to get the configuration that's currently in effect?&lt;/P&gt;&lt;P&gt;For example, this would show me all of the possible hive-site configurations&lt;/P&gt;&lt;PRE&gt;/api/v1/clusters/cluster/configurations?type=hive-site&lt;/PRE&gt;&lt;P&gt;How can I programattically determine which one is currently active?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 06:40:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-use-the-Ambari-REST-API-to-get-active/m-p/148402#M20174</guid>
      <dc:creator>Aaron_Dossett</dc:creator>
      <dc:date>2016-02-19T06:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the Ambari REST API to get active configuration for a particular service?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-use-the-Ambari-REST-API-to-get-active/m-p/148403#M20175</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/755/aarondossett.html" nodeid="755"&gt;@Aaron Dossett&lt;/A&gt; the following api call will give you the current config&lt;/P&gt;&lt;PRE&gt;/api/v1/clusters/&amp;lt;name of cluster&amp;gt;/configurations/service_config_versions?service_name.in(HIVE)&amp;amp;is_current=true&lt;/PRE&gt;</description>
      <pubDate>Fri, 19 Feb 2016 10:15:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-use-the-Ambari-REST-API-to-get-active/m-p/148403#M20175</guid>
      <dc:creator>pankaj_singh</dc:creator>
      <dc:date>2016-02-19T10:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use the Ambari REST API to get active configuration for a particular service?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-use-the-Ambari-REST-API-to-get-active/m-p/148404#M20176</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/755/aarondossett.html" nodeid="755"&gt;@Aaron Dossett&lt;/A&gt;: Please review below link.&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Metrics+API+specification" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Metrics+API+specification&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2016 20:01:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-use-the-Ambari-REST-API-to-get-active/m-p/148404#M20176</guid>
      <dc:creator>SK1</dc:creator>
      <dc:date>2016-02-19T20:01:00Z</dc:date>
    </item>
  </channel>
</rss>

