<?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: Ambari  ApI  to get the properties of Service HIVE , type : hive-site , tag : version is not working in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-ApI-to-get-the-properties-of-Service-HIVE-type-hive/m-p/117908#M47035</link>
    <description>&lt;P&gt;Thanks JSS  for your quick comeback!!&lt;/P&gt;&lt;P&gt; I corrected  and  It worked now  .  &lt;/P&gt;&lt;P&gt;Its good if someone can modify the WIKI &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to avoid confusions for a starter like me &lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2016 17:40:36 GMT</pubDate>
    <dc:creator>javvaji_hari_ki</dc:creator>
    <dc:date>2016-11-23T17:40:36Z</dc:date>
    <item>
      <title>Ambari  ApI  to get the properties of Service HIVE , type : hive-site , tag : version is not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-ApI-to-get-the-properties-of-Service-HIVE-type-hive/m-p/117906#M47033</link>
      <description>&lt;P&gt;Hi Team ,&lt;/P&gt;&lt;P&gt;I am very much need of this API ,&lt;/P&gt;&lt;P&gt;In my HWX cluster where I am running the below API &lt;/P&gt;&lt;P&gt;curl -H "X-Requested-By: ambari" -X GET -u user:passwd &lt;A href="http://&amp;lt;hostname&amp;gt;/api/v1/clusters/hdp-iaas-dev29/configurations?type=hive-site&amp;amp;tag=version1479808700260" target="_blank"&gt;http://&amp;lt;hostname&amp;gt;/api/v1/clusters/hdp-iaas-dev29/configurations?type=hive-site&amp;amp;tag=version1479808700260&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This API has to provide me the hive-site properties  but its just giving me the list of versions only without properties &lt;/P&gt;&lt;P&gt;     "href" : "http:/&amp;lt;hostname&amp;gt;:8080/api/v1/clusters/hdp-iaas-dev29/configurations?type=hive-site&amp;amp;tag=version1479808700260",
      "tag" : "version1479808700260",
      "type" : "hive-site",
      "version" : 6,
      "Config" : {
        "cluster_name" : "hdp-iaas-dev29",
        "stack_id" : "HDP-2.3"
      }
    },&lt;/P&gt;&lt;P&gt;
    {
      "href" : "http://hdp-iaas-dev29-control01.dev:8080/api/v1/clusters/hdp-iaas-dev29/configurations?type=hive-site&amp;amp;tag=version1479808700261",
      "tag" : "version1479808700261",
      "type" : "hive-site",
      "version" : 7,
      "Config" : {
        "cluster_name" : "hdp-iaas-dev29",
        "stack_id" : "HDP-2.3"
      }
    }, &lt;/P&gt;&lt;P&gt;I took the help of  below URLs and tried but no luck as of now &lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/configuration.md" target="_blank"&gt;https://github.com/apache/ambari/blob/trunk/ambari-server/docs/api/v1/configuration.md&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can someone correct me the API  to get the properties of type : hive-site only .&lt;/P&gt;&lt;P&gt;I tried this  API &lt;/P&gt;&lt;P&gt;curl -H "X-Requested-By: ambari" -X GET -u user:passwd &lt;A href="http://hdp-iaas-dev29-control01.dev:8080/api/v1/clusters/hdp-iaas-dev29/configurations/service_config_versions?service_name=HIVE" target="_blank"&gt;http://hdp-iaas-dev29-control01.dev:8080/api/v1/clusters/hdp-iaas-dev29/configurations/service_config_versions?service_name=HIVE&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which is  giving me entire hive config which I don't want .&lt;/P&gt;&lt;P&gt;Thanks ,&lt;/P&gt;&lt;P&gt;Hari Kishore Javvaji&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 15:00:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-ApI-to-get-the-properties-of-Service-HIVE-type-hive/m-p/117906#M47033</guid>
      <dc:creator>javvaji_hari_ki</dc:creator>
      <dc:date>2016-11-23T15:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari  ApI  to get the properties of Service HIVE , type : hive-site , tag : version is not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-ApI-to-get-the-properties-of-Service-HIVE-type-hive/m-p/117907#M47034</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11018/javvajiharikishore.html"&gt;hari Kishore javvaji&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/11018/javvajiharikishore.html"&gt;&lt;/A&gt;Did you try running it as following:&lt;/P&gt;&lt;PRE&gt;curl -H "X-Requested-By: ambari" -X GET -u hdp-iaas-admin:thinkbig &lt;A href="http://hdp-iaas-dev29-control01.dev:8080/api/v1/clusters/hdp-iaas-dev29/configurations?type=hive-site\&amp;amp;tag=version1479808700260" target="_blank"&gt;http://hdp-iaas-dev29-control01.dev:8080/api/v1/clusters/hdp-iaas-dev29/configurations?type=hive-site\&amp;amp;tag=version1479808700260&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I&lt;/STRONG&gt; used a (\)  escape character before the  "&amp;amp;" in the curl command.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;INCORRECT&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;type=hive-site&amp;amp;tag=version1479808700260&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;CORRECT&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;type=hive-site\&amp;amp;tag=version1479808700260&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Nov 2016 15:39:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-ApI-to-get-the-properties-of-Service-HIVE-type-hive/m-p/117907#M47034</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-11-23T15:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari  ApI  to get the properties of Service HIVE , type : hive-site , tag : version is not working</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-ApI-to-get-the-properties-of-Service-HIVE-type-hive/m-p/117908#M47035</link>
      <description>&lt;P&gt;Thanks JSS  for your quick comeback!!&lt;/P&gt;&lt;P&gt; I corrected  and  It worked now  .  &lt;/P&gt;&lt;P&gt;Its good if someone can modify the WIKI &lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Modify+configurations&lt;/A&gt;&lt;/P&gt;&lt;P&gt;to avoid confusions for a starter like me &lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2016 17:40:36 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-ApI-to-get-the-properties-of-Service-HIVE-type-hive/m-p/117908#M47035</guid>
      <dc:creator>javvaji_hari_ki</dc:creator>
      <dc:date>2016-11-23T17:40:36Z</dc:date>
    </item>
  </channel>
</rss>

