<?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 do you Remove a Service from HDP via Ambari in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94617#M7908</link>
    <description>&lt;P&gt;Login to ambari database.&lt;/P&gt;&lt;P&gt;Remove the entry for service_name='Accumulo' from following five tables of ambari database in same sequence.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;hostcomponentstate&lt;/LI&gt;&lt;LI&gt;hostcomponentdesiredstate&lt;/LI&gt;&lt;LI&gt;servicecomponentdesiredstate&lt;/LI&gt;&lt;LI&gt;servicedesiredstate&lt;/LI&gt;&lt;LI&gt;clusterservice&lt;/LI&gt;&lt;/UL&gt;</description>
    <pubDate>Fri, 04 May 2018 17:46:52 GMT</pubDate>
    <dc:creator>chavre_pooja</dc:creator>
    <dc:date>2018-05-04T17:46:52Z</dc:date>
    <item>
      <title>How do you Remove a Service from HDP via Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94610#M7901</link>
      <description>&lt;P&gt;I no longer have a use for Accumulo on my cluster and would like to delete the service. But when I tried to do that in Ambari, I noticed I could only add a service, not remove one. &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2015 20:20:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94610#M7901</guid>
      <dc:creator>awatson</dc:creator>
      <dc:date>2015-09-30T20:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do you Remove a Service from HDP via Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94611#M7902</link>
      <description>&lt;P&gt;You can do this with the Ambari REST API like so&lt;/P&gt;&lt;PRE&gt;curl -u $USER:$PASS -i -H 'X-Requested-By: ambari' -X DELETE  &lt;A href="http://$AMBARI_HOST:$AMBARI_PORT/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/&amp;lt;service-name&amp;gt;" target="_blank"&gt;http://$AMBARI_HOST:$AMBARI_PORT/api/v1/clusters/&amp;lt;cluster-name&amp;gt;/services/&amp;lt;service-name&amp;gt;&lt;/A&gt;;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Sep 2015 20:23:27 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94611#M7902</guid>
      <dc:creator>jdyer</dc:creator>
      <dc:date>2015-09-30T20:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do you Remove a Service from HDP via Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94612#M7903</link>
      <description>&lt;P&gt;Andrew, you need to use the Ambari API for doing so. You will need to first clear all the nodes which do have a component and then you will need to uninstall the service. The documentation on how to do it can be found on the ambari wiki.&lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/AMBARI/Using+APIs+to+delete+a+service+or+all+host+components+on+a+host" target="_blank"&gt;https://cwiki.apache.org/confluence/display/AMBARI/Using+APIs+to+delete+a+service+or+all+host+components+on+a+host&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Here is an example removing METRICS_COLLECTOR from a host.&lt;/P&gt;&lt;PRE&gt;curl -u admin -H "X-Requested-By: ambari" -X DELETE &lt;A href="http://localhost:8080/api/v1/clusters/POCHDPPM01/hosts/hdmdup0002.machine.test.group/host_components/METRICS_COLLECTOR" target="_blank"&gt;http://localhost:8080/api/v1/clusters/POCHDPPM01/hosts/hdmdup0002.machine.test.group/host_components/METRICS_COLLECTOR&lt;/A&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Sep 2015 20:24:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94612#M7903</guid>
      <dc:creator>orenault</dc:creator>
      <dc:date>2015-09-30T20:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do you Remove a Service from HDP via Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94613#M7904</link>
      <description>&lt;P&gt;Unfortunately, does not seem to work with a failed install resulting in :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{
  "status": 500,
  "message": "Server Error"
}&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 01:41:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94613#M7904</guid>
      <dc:creator>rick2</dc:creator>
      <dc:date>2016-01-21T01:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do you Remove a Service from HDP via Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94614#M7905</link>
      <description>&lt;P&gt;you probably have residual components that need to be removed as well or put service state in stopped state. &lt;A rel="user" href="https://community.cloudera.com/users/1638/rick-1.html" nodeid="1638"&gt;@Rick Barthelmie&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 01:43:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94614#M7905</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-21T01:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: How do you Remove a Service from HDP via Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94615#M7906</link>
      <description>&lt;P&gt;I removed the residual components using the technique here: &lt;/P&gt;&lt;P&gt;&lt;A href="http://crazyadmins.com/tag/ambari-db-remove-service-components/"&gt;http://crazyadmins.com/tag/ambari-db-remove-service-components/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And then the service deleted OK.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 01:55:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94615#M7906</guid>
      <dc:creator>rick2</dc:creator>
      <dc:date>2016-01-21T01:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do you Remove a Service from HDP via Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94616#M7907</link>
      <description>&lt;P&gt;glad it worked!&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jan 2016 01:57:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94616#M7907</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-01-21T01:57:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do you Remove a Service from HDP via Ambari</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94617#M7908</link>
      <description>&lt;P&gt;Login to ambari database.&lt;/P&gt;&lt;P&gt;Remove the entry for service_name='Accumulo' from following five tables of ambari database in same sequence.&lt;/P&gt;&lt;UL&gt;
&lt;LI&gt;hostcomponentstate&lt;/LI&gt;&lt;LI&gt;hostcomponentdesiredstate&lt;/LI&gt;&lt;LI&gt;servicecomponentdesiredstate&lt;/LI&gt;&lt;LI&gt;servicedesiredstate&lt;/LI&gt;&lt;LI&gt;clusterservice&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Fri, 04 May 2018 17:46:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-do-you-Remove-a-Service-from-HDP-via-Ambari/m-p/94617#M7908</guid>
      <dc:creator>chavre_pooja</dc:creator>
      <dc:date>2018-05-04T17:46:52Z</dc:date>
    </item>
  </channel>
</rss>

