<?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 to stop the thrift servers by REST API in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-stop-the-thrift-servers-by-REST-API/m-p/234913#M196733</link>
    <description>&lt;OL&gt;&lt;LI&gt;// Getting the state of the component ( replace YARN_CLIENT  to SPARK2_THRIFTSERVER )&lt;/LI&gt;&lt;LI&gt;curl -u admin:admin -H "X-Requested-By:ambari" -i -X GET&lt;/LI&gt;&lt;LI&gt;&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;/LI&gt;&lt;LI&gt;// Setting the state of the component to INSTALLED&lt;/LI&gt;&lt;LI&gt;curl -u admin:admin -H "X-Requested-By:ambari" -i -X PUT&lt;/LI&gt;&lt;LI&gt;-d '{"RequestInfo":{"context":"Install YARN_CLIENT"}, "Body":{"HostRoles":{"state":"INSTALLED"}}}' &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;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Mon, 08 Jul 2019 04:06:40 GMT</pubDate>
    <dc:creator>mike_bronson7</dc:creator>
    <dc:date>2019-07-08T04:06:40Z</dc:date>
    <item>
      <title>how to stop the thrift servers by REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-stop-the-thrift-servers-by-REST-API/m-p/234912#M196732</link>
      <description>&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;we have two spark thrift servers component in our ambari cluster&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;one thrift server is on  master01 machine&lt;/P&gt;&lt;P&gt;and the second is on master03 machine&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;how to stop the thrift server component on master01 and master03 machine by REST API&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="109747-capture.png" style="width: 458px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/14604iE97C9CC291EF0210/image-size/medium?v=v2&amp;amp;px=400" role="button" title="109747-capture.png" alt="109747-capture.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Aug 2019 23:57:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-stop-the-thrift-servers-by-REST-API/m-p/234912#M196732</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-08-17T23:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to stop the thrift servers by REST API</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-stop-the-thrift-servers-by-REST-API/m-p/234913#M196733</link>
      <description>&lt;OL&gt;&lt;LI&gt;// Getting the state of the component ( replace YARN_CLIENT  to SPARK2_THRIFTSERVER )&lt;/LI&gt;&lt;LI&gt;curl -u admin:admin -H "X-Requested-By:ambari" -i -X GET&lt;/LI&gt;&lt;LI&gt;&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;/LI&gt;&lt;LI&gt;// Setting the state of the component to INSTALLED&lt;/LI&gt;&lt;LI&gt;curl -u admin:admin -H "X-Requested-By:ambari" -i -X PUT&lt;/LI&gt;&lt;LI&gt;-d '{"RequestInfo":{"context":"Install YARN_CLIENT"}, "Body":{"HostRoles":{"state":"INSTALLED"}}}' &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;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Mon, 08 Jul 2019 04:06:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-stop-the-thrift-servers-by-REST-API/m-p/234913#M196733</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2019-07-08T04:06:40Z</dc:date>
    </item>
  </channel>
</rss>

