<?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 REST API list components with Stale configs not showing service_name in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224324#M60744</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12470/theyaamatti.html" nodeid="12470"&gt;@Theyaa Matti&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you try this&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://172.26.100.103:8080/api/v1/clusters/hdp253/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name" target="_blank"&gt;http://172.26.100.103:8080/api/v1/clusters/hdp253/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;see if you are able to list all service names, if yes, then change the value for "stale_configs=true" and rerun it like this&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://172.26.100.103:8080/api/v1/clusters/hdp253/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name" target="_blank"&gt;http://172.26.100.103:8080/api/v1/clusters/hdp253/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;I am using HDP 2.6 and Ambari 2.5, works for me. &lt;/P&gt;&lt;P&gt;Here is the sample output:&lt;/P&gt;&lt;PRE&gt;{
  "href" : "http://172.26.100.103:8080/api/v1/clusters/hdp253/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name",
  "items" : [
    {
      "href" : "http://172.26.100.103:8080/api/v1/clusters/hdp253/hosts/xlnode-1.h.c/host_components/ACTIVITY_ANALYZER",
      "HostRoles" : {
        "cluster_name" : "hdp253",
        "component_name" : "ACTIVITY_ANALYZER",
        "host_name" : "xlnode-1.h.c",
        "service_name" : "SMARTSENSE",
        "stale_configs" : false
      },
      "host" : {
        "href" : "http://172.26.100.103:8080/api/v1/clusters/hdp253/hosts/xlnode-1.h.c"
      }
    },                      
&lt;/PRE&gt;</description>
    <pubDate>Wed, 10 May 2017 01:32:38 GMT</pubDate>
    <dc:creator>srai1</dc:creator>
    <dc:date>2017-05-10T01:32:38Z</dc:date>
    <item>
      <title>Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224317#M60737</link>
      <description>&lt;P&gt;I would like to list all components with stale configs and I would like to have the service_name in the response. I tried several methods, like the one below, and all I get is the component but not the service it belongs to. Any idea how to get this please?&lt;/P&gt;&lt;P&gt;I am using Ambari 2.1&lt;/P&gt;&lt;P&gt;curl -u admin:admin &lt;A href="http://host_name:8080/api/v1/clusters/test_cluster/host_components?HostRoles/stale_configs=true" target="_blank"&gt;http://host_name:8080/api/v1/clusters/test_cluster/host_components?HostRoles/stale_configs=true&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 23:13:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224317#M60737</guid>
      <dc:creator>theyaa</dc:creator>
      <dc:date>2017-05-08T23:13:51Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224318#M60738</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12470/theyaamatti.html" nodeid="12470"&gt;@Theyaa Matti&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you tried the following approach?&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://erie1.example.com:8080/api/v1/clusters/ClusterDemo/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name" target="_blank"&gt;http://erie1.example.com:8080/api/v1/clusters/ClusterDemo/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;And also a bit more extended format as following: &lt;/P&gt;&lt;PRE&gt;&lt;A href="http://erie1.example.com:8080/api/v1/clusters/ClusterDemo/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name,HostRoles/host_name&amp;amp;minimal_response=false" target="_blank"&gt;http://erie1.example.com:8080/api/v1/clusters/ClusterDemo/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name,HostRoles/host_name&amp;amp;minimal_response=false&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 00:13:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224318#M60738</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-09T00:13:40Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224319#M60739</link>
      <description>&lt;P&gt;can you try this:&lt;/P&gt;&lt;P&gt;&lt;A href="http://host_name:8080/api/v1/clusters/test_cluster/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name,HostRoles/state,HostRoles/host_name,HostRoles/stale_configs,&amp;amp;minimal_response=true" target="_blank"&gt;http://host_name:8080/api/v1/clusters/test_cluster/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name,HostRoles/state,HostRoles/host_name,HostRoles/stale_configs,&amp;amp;minimal_response=true&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2017 11:32:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224319#M60739</guid>
      <dc:creator>dsharma</dc:creator>
      <dc:date>2017-05-09T11:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224320#M60740</link>
      <description>&lt;P&gt;I tried your suggestion and here is what I get:&lt;/P&gt;&lt;P&gt;      "HostRoles" : {&lt;/P&gt;&lt;P&gt;        "cluster_name" : "test_cluster",&lt;/P&gt;&lt;P&gt;        "component_name" : "WEBHCAT_SERVER",&lt;/P&gt;&lt;P&gt;        "host_name" : "hostname",&lt;/P&gt;&lt;P&gt;        "stale_configs" : true&lt;/P&gt;&lt;P&gt;      }&lt;/P&gt;&lt;P&gt;So, no service_name &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 00:45:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224320#M60740</guid>
      <dc:creator>theyaa</dc:creator>
      <dc:date>2017-05-10T00:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224321#M60741</link>
      <description>&lt;P&gt;Tried both methods and same results, no service_name &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 00:45:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224321#M60741</guid>
      <dc:creator>theyaa</dc:creator>
      <dc:date>2017-05-10T00:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224322#M60742</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12470/theyaamatti.html" nodeid="12470" target="_blank"&gt;@Theyaa Matti
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Which ambari version are you using? Also can you please share the exact command and response output here?&lt;/P&gt;&lt;P&gt;
I just now tried the same on Ambaei 2.4.0.0 and can se this thing working fine.&lt;/P&gt;&lt;P&gt;
&lt;A href="http://localhost:8080/api/v1/clusters/Sandbox/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name" rel="nofollow noopener noreferrer" target="_blank"&gt;http://localhost:8080/api/v1/clusters/Sandbox/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="15271-service-name.png" style="width: 1037px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/15521iE8A7EF65D85B2BE4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="15271-service-name.png" alt="15271-service-name.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;.
&lt;A href="http://localhost:8080/api/v1/clusters/Sandbox/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name" rel="nofollow noopener noreferrer" target="_blank"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12470/theyaamatti.html" nodeid="12470" target="_blank"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 01:46:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224322#M60742</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2019-08-18T01:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224323#M60743</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/12470/theyaamatti.html"&gt;@Theyaa Matti
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Currently i do not have Ambari 2.1 setup ready to test the same .... but i guess it should be working as expected or else it might be enhanced to show the service name in later version of ambari 2.1&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 01:12:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224323#M60743</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-10T01:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224324#M60744</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12470/theyaamatti.html" nodeid="12470"&gt;@Theyaa Matti&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you try this&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://172.26.100.103:8080/api/v1/clusters/hdp253/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name" target="_blank"&gt;http://172.26.100.103:8080/api/v1/clusters/hdp253/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;see if you are able to list all service names, if yes, then change the value for "stale_configs=true" and rerun it like this&lt;/P&gt;&lt;PRE&gt;&lt;A href="http://172.26.100.103:8080/api/v1/clusters/hdp253/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name" target="_blank"&gt;http://172.26.100.103:8080/api/v1/clusters/hdp253/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;I am using HDP 2.6 and Ambari 2.5, works for me. &lt;/P&gt;&lt;P&gt;Here is the sample output:&lt;/P&gt;&lt;PRE&gt;{
  "href" : "http://172.26.100.103:8080/api/v1/clusters/hdp253/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name",
  "items" : [
    {
      "href" : "http://172.26.100.103:8080/api/v1/clusters/hdp253/hosts/xlnode-1.h.c/host_components/ACTIVITY_ANALYZER",
      "HostRoles" : {
        "cluster_name" : "hdp253",
        "component_name" : "ACTIVITY_ANALYZER",
        "host_name" : "xlnode-1.h.c",
        "service_name" : "SMARTSENSE",
        "stale_configs" : false
      },
      "host" : {
        "href" : "http://172.26.100.103:8080/api/v1/clusters/hdp253/hosts/xlnode-1.h.c"
      }
    },                      
&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 May 2017 01:32:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224324#M60744</guid>
      <dc:creator>srai1</dc:creator>
      <dc:date>2017-05-10T01:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224325#M60745</link>
      <description>&lt;P&gt;So, I am getting mixed results. When I use the browser, like what you did above, I get the service_name. But when I use curl on command line, I do NOT get the the service_name. Which makes me more confused.&lt;/P&gt;&lt;P&gt;I am using Ambari 2.1&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 01:37:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224325#M60745</guid>
      <dc:creator>theyaa</dc:creator>
      <dc:date>2017-05-10T01:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224326#M60746</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12470/theyaamatti.html" nodeid="12470"&gt;@Theyaa Matti&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Tried this with Ambari 2.2, of course I am checking for non-stale configs here, but it does show the service_name. You should upgrade your Ambari version, its not a major version. &lt;/P&gt;&lt;PRE&gt;&lt;A href="http://172.26.102.21:8080/api/v1/clusters/hdp234/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name" target="_blank"&gt;http://172.26.102.21:8080/api/v1/clusters/hdp234/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name&lt;/A&gt;&lt;/PRE&gt;&lt;P&gt;Output&lt;/P&gt;&lt;PRE&gt;{
  "href" : "http://172.26.102.21:8080/api/v1/clusters/hdp234/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name",
  "items" : [
    {
      "href" : "http://172.26.102.21:8080/api/v1/clusters/hdp234/hosts/xlnode-234.h.c/host_components/APP_TIMELINE_SERVER",
      "HostRoles" : {
        "cluster_name" : "hdp234",
        "component_name" : "APP_TIMELINE_SERVER",
        "host_name" : "xlnode-234.h.c",
        "service_name" : "YARN",
        "stale_configs" : false
      },
      "host" : {
        "href" : "http://172.26.102.21:8080/api/v1/clusters/hdp234/hosts/xlnode-234.h.c"
      }
    },
    {
      "href" : "http://172.26.102.21:8080/api/v1/clusters/hdp234/hosts/xlnode-234.h.c/host_components/DATANODE",
      "HostRoles" : {
        "cluster_name" : "hdp234",
        "component_name" : "DATANODE",
        "host_name" : "xlnode-234.h.c",
        "service_name" : "HDFS",
        "stale_configs" : false
      },
      "host" : {
        "href" : "http://172.26.102.21:8080/api/v1/clusters/hdp234/hosts/xlnode-234.h.c"
      }
    },
....
...
..&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 May 2017 02:46:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224326#M60746</guid>
      <dc:creator>srai1</dc:creator>
      <dc:date>2017-05-10T02:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224327#M60747</link>
      <description>&lt;P&gt;I upgraded to Ambari 2.4.2 and the same issue. In order to replicate the issue, you need to call that url using curl and not the browser. Something like:&lt;/P&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By:ambari" -X GET &lt;A href="http://172.26.102.21:8080/api/v1/clusters/hdp234/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name" target="_blank"&gt;http://172.26.102.21:8080/api/v1/clusters/hdp234/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 20:55:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224327#M60747</guid>
      <dc:creator>theyaa</dc:creator>
      <dc:date>2017-05-10T20:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224328#M60748</link>
      <description>&lt;P&gt;I upgraded to Ambari 2.4.2 and the same issue. In order to replicate the issue, you need to call that url using curl and not the browser. Something like:&lt;/P&gt;&lt;P&gt;curl -u admin:admin -H "X-Requested-By:ambari" -X GET &lt;A href="http://localhost:8080/api/v1/clusters/Sandbox/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name"&gt;http://localhost:8080/api/v1/clusters/Sandbox/host_components?HostRoles/stale_configs=true&amp;amp;fields=HostRoles/service_name&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 20:56:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224328#M60748</guid>
      <dc:creator>theyaa</dc:creator>
      <dc:date>2017-05-10T20:56:35Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224329#M60749</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12470/theyaamatti.html" nodeid="12470"&gt;@Theyaa Matti
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you try putting the URL inside Quotation Mark?&lt;/P&gt;&lt;P&gt;As the  URL consist of (&amp;amp;) &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -u admin:admin -H "X-Requested-By:ambari" -X GET "http://172.26.102.21:8080/api/v1/clusters/hdp234/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name&lt;/PRE&gt;&lt;P&gt;.
&lt;A rel="user" href="https://community.cloudera.com/users/12470/theyaamatti.html" nodeid="12470"&gt;&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 21:02:39 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224329#M60749</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-10T21:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224330#M60750</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/12470/theyaamatti.html"&gt;@Theyaa Matti
&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Can you try putting the URL inside Quotation Mark?&lt;/P&gt;&lt;P&gt;As the  URL consist of (&amp;amp;) &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example:&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;curl -u admin:admin -H "X-Requested-By:ambari" -X GET "http://172.26.102.21:8080/api/v1/clusters/hdp234/host_components?HostRoles/stale_configs=false&amp;amp;fields=HostRoles/service_name&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 May 2017 21:03:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224330#M60750</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-05-10T21:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Ambari REST API list components with Stale configs not showing service_name</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224331#M60751</link>
      <description>&lt;P&gt;As simple as adding quotes!&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2017 22:17:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Ambari-REST-API-list-components-with-Stale-configs-not/m-p/224331#M60751</guid>
      <dc:creator>theyaa</dc:creator>
      <dc:date>2017-05-10T22:17:43Z</dc:date>
    </item>
  </channel>
</rss>

