<?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: Hive-clients with Curl command in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hive-clients-with-Curl-command/m-p/182587#M144753</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/15384/reddyr211.html"&gt;Jalender&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Here is an example for YARN_CLIENT &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// Getting the state of the component &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;curl -k -u admin:admin -H "X-Requested-By:ambari" -i -X GET
&lt;A href="http://&amp;lt;HOST&amp;gt;:8080/api/v1/clusters/&amp;lt;CLUSTER_NAME&amp;gt;/hosts/&amp;lt;HOST_FQDN&amp;gt;/host_components/YARN_CLIENT" target="_blank"&gt;http://&amp;lt;HOST&amp;gt;:8080/api/v1/clusters/&amp;lt;CLUSTER_NAME&amp;gt;/hosts/&amp;lt;HOST_FQDN&amp;gt;/host_components/YARN_CLIENT&lt;/A&gt; &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Hope that helps &lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 08 Mar 2018 07:40:38 GMT</pubDate>
    <dc:creator>Shelton</dc:creator>
    <dc:date>2018-03-08T07:40:38Z</dc:date>
    <item>
      <title>Hive-clients with Curl command</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-clients-with-Curl-command/m-p/182586#M144752</link>
      <description>&lt;P&gt;Hello HCC,&lt;/P&gt;&lt;P&gt;We have a production cluster with 800+ data nodes and  hive-clients installed one more than 200+ nodes, i can see that from Ambari&lt;/P&gt;&lt;P&gt;is there a simple way or CURL command to find all hive-clients installed in the cluster which i can see on Cli/Linux box.&lt;/P&gt;&lt;P&gt;HDP:2.6.1&lt;/P&gt;&lt;P&gt;Ambari 2.5.2.0&lt;/P&gt;&lt;P&gt;Thanks,Jalender.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 07:21:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-clients-with-Curl-command/m-p/182586#M144752</guid>
      <dc:creator>reddyr211</dc:creator>
      <dc:date>2018-03-08T07:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hive-clients with Curl command</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-clients-with-Curl-command/m-p/182587#M144753</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/15384/reddyr211.html"&gt;Jalender&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Here is an example for YARN_CLIENT &lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// Getting the state of the component &lt;/EM&gt;&lt;/P&gt;&lt;PRE&gt;&lt;EM&gt;curl -k -u admin:admin -H "X-Requested-By:ambari" -i -X GET
&lt;A href="http://&amp;lt;HOST&amp;gt;:8080/api/v1/clusters/&amp;lt;CLUSTER_NAME&amp;gt;/hosts/&amp;lt;HOST_FQDN&amp;gt;/host_components/YARN_CLIENT" target="_blank"&gt;http://&amp;lt;HOST&amp;gt;:8080/api/v1/clusters/&amp;lt;CLUSTER_NAME&amp;gt;/hosts/&amp;lt;HOST_FQDN&amp;gt;/host_components/YARN_CLIENT&lt;/A&gt; &lt;/EM&gt;&lt;/PRE&gt;&lt;P&gt;&lt;EM&gt;Hope that helps &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 07:40:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-clients-with-Curl-command/m-p/182587#M144753</guid>
      <dc:creator>Shelton</dc:creator>
      <dc:date>2018-03-08T07:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Hive-clients with Curl command</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-clients-with-Curl-command/m-p/182588#M144754</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/15384/reddyr211.html" nodeid="15384"&gt;@Jalender&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;You can use this command to print all the hosts on which HIVE_CLIENT is installed&lt;/P&gt;&lt;PRE&gt;curl -k -u {ambari-username}:{ambari-password} -H "X-Requested-By:ambari" &lt;A href="http://{ambari-host}:{ambari-port}/api/v1/clusters/{cluster-name}/services/HIVE/components/HIVE_CLIENT" target="_blank"&gt;http://{ambari-host}:{ambari-port}/api/v1/clusters/{cluster-name}/services/HIVE/components/HIVE_CLIENT&lt;/A&gt; | grep host_name | awk '{ print $3 }'&lt;/PRE&gt;&lt;P&gt;Replace all the placeholders before running. &lt;/P&gt;&lt;P&gt;If this worked for you, please click on the Accept button to accept the answer. This will be really helpful for other community users&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2018 18:54:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-clients-with-Curl-command/m-p/182588#M144754</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2018-03-08T18:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hive-clients with Curl command</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-clients-with-Curl-command/m-p/182589#M144755</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14200/asirna.html" nodeid="14200"&gt;@Aditya Sirna&lt;/A&gt; it works like a charm, thank you so much &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 04:10:23 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-clients-with-Curl-command/m-p/182589#M144755</guid>
      <dc:creator>reddyr211</dc:creator>
      <dc:date>2018-03-09T04:10:23Z</dc:date>
    </item>
    <item>
      <title>Re: Hive-clients with Curl command</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hive-clients-with-Curl-command/m-p/182590#M144756</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt;&lt;P&gt; Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 04:10:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hive-clients-with-Curl-command/m-p/182590#M144756</guid>
      <dc:creator>reddyr211</dc:creator>
      <dc:date>2018-03-09T04:10:51Z</dc:date>
    </item>
  </channel>
</rss>

