<?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: accessing  variable names in Ambari through REST in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/accessing-variable-names-in-Ambari-through-REST/m-p/182940#M58715</link>
    <description>&lt;P&gt;You can use the below call which will list all the values for that specific service :&lt;/P&gt;&lt;P&gt;&lt;A href="http://&amp;lt;Ambari-hostname&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/configurations/service_config_versions?service_name=HDFS" target="_blank"&gt;http://&amp;lt;Ambari-hostname&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/configurations/service_config_versions?service_name=HDFS&lt;/A&gt; &lt;/P&gt;</description>
    <pubDate>Fri, 31 Mar 2017 21:48:59 GMT</pubDate>
    <dc:creator>krajguru</dc:creator>
    <dc:date>2017-03-31T21:48:59Z</dc:date>
    <item>
      <title>accessing  variable names in Ambari through REST</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/accessing-variable-names-in-Ambari-through-REST/m-p/182939#M58714</link>
      <description>&lt;P&gt;How can I list the existing variable names and their values used across various configurations of Ambari through REST API for example {{namenode_heapsize}} ?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 21:46:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/accessing-variable-names-in-Ambari-through-REST/m-p/182939#M58714</guid>
      <dc:creator>nyadav</dc:creator>
      <dc:date>2017-03-31T21:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: accessing  variable names in Ambari through REST</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/accessing-variable-names-in-Ambari-through-REST/m-p/182940#M58715</link>
      <description>&lt;P&gt;You can use the below call which will list all the values for that specific service :&lt;/P&gt;&lt;P&gt;&lt;A href="http://&amp;lt;Ambari-hostname&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/configurations/service_config_versions?service_name=HDFS" target="_blank"&gt;http://&amp;lt;Ambari-hostname&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/configurations/service_config_versions?service_name=HDFS&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 21:48:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/accessing-variable-names-in-Ambari-through-REST/m-p/182940#M58715</guid>
      <dc:creator>krajguru</dc:creator>
      <dc:date>2017-03-31T21:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: accessing  variable names in Ambari through REST</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/accessing-variable-names-in-Ambari-through-REST/m-p/182941#M58716</link>
      <description>&lt;P&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/10531/krajguru.html" nodeid="10531"&gt;@krajguru&lt;/A&gt;, that was exactly I was looking for &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 21:52:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/accessing-variable-names-in-Ambari-through-REST/m-p/182941#M58716</guid>
      <dc:creator>nyadav</dc:creator>
      <dc:date>2017-03-31T21:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: accessing  variable names in Ambari through REST</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/accessing-variable-names-in-Ambari-through-REST/m-p/182942#M58717</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/7520/nyadav.html" nodeid="7520"&gt;@nyadav&lt;/A&gt; To add to &lt;A rel="user" href="https://community.cloudera.com/users/10531/krajguru.html" nodeid="10531"&gt;@krajguru&lt;/A&gt;'s answer:&lt;/P&gt;&lt;P&gt;You can use query parameter is_current=true to retrieve the latest configuration version in case you have multiple versions of configurations.&lt;/P&gt;&lt;P&gt;E.g &lt;/P&gt;&lt;PRE&gt;&lt;A href="http://&amp;lt;Ambari-hostname&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/configurations/service_config_versions?service_name=HDFS&amp;amp;is_current=true" target="_blank"&gt;http://&amp;lt;Ambari-hostname&amp;gt;:8080/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/configurations/service_config_versions?service_name=HDFS&amp;amp;is_current=true&lt;/A&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 02 Apr 2017 13:18:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/accessing-variable-names-in-Ambari-through-REST/m-p/182942#M58717</guid>
      <dc:creator>kramakrishnan</dc:creator>
      <dc:date>2017-04-02T13:18:36Z</dc:date>
    </item>
  </channel>
</rss>

