<?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 how to fully  uninstall worker/kafka machine after delete it from ambari cluster in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/how-to-fully-uninstall-worker-kafka-machine-after-delete-it/m-p/207485#M169446</link>
    <description>&lt;P&gt;as all know we can delete the worker/kafka machine from the cluster but configuration on the host still exist&lt;/P&gt;&lt;P&gt;our target is: full host  uninstall ( include re-filesystem , delete rpm's , delete users , file , conf etc ) , and then full new installation by API commands to join host to the cluster &lt;/P&gt;&lt;P&gt;what we do until now is that:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;delete the worker07 from the ambari cluster&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;re-create file-system on all disks as /dev/sdc /dev/sdd , etc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but the big problem now is how to un install the rest configuration as users , rpm's and other stuff&lt;/P&gt;&lt;P&gt;please advice how to continue ? &lt;/P&gt;&lt;P&gt;what are the doc if exist for this proccess? &lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2017 20:09:55 GMT</pubDate>
    <dc:creator>mike_bronson7</dc:creator>
    <dc:date>2017-11-22T20:09:55Z</dc:date>
    <item>
      <title>how to fully  uninstall worker/kafka machine after delete it from ambari cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-fully-uninstall-worker-kafka-machine-after-delete-it/m-p/207485#M169446</link>
      <description>&lt;P&gt;as all know we can delete the worker/kafka machine from the cluster but configuration on the host still exist&lt;/P&gt;&lt;P&gt;our target is: full host  uninstall ( include re-filesystem , delete rpm's , delete users , file , conf etc ) , and then full new installation by API commands to join host to the cluster &lt;/P&gt;&lt;P&gt;what we do until now is that:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;delete the worker07 from the ambari cluster&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;re-create file-system on all disks as /dev/sdc /dev/sdd , etc&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;but the big problem now is how to un install the rest configuration as users , rpm's and other stuff&lt;/P&gt;&lt;P&gt;please advice how to continue ? &lt;/P&gt;&lt;P&gt;what are the doc if exist for this proccess? &lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 20:09:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-fully-uninstall-worker-kafka-machine-after-delete-it/m-p/207485#M169446</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-11-22T20:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: how to fully  uninstall worker/kafka machine after delete it from ambari cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-fully-uninstall-worker-kafka-machine-after-delete-it/m-p/207486#M169447</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/26229/uribarih.html" nodeid="26229"&gt;@Michael Bronson&lt;/A&gt;&lt;/P&gt;&lt;P&gt;There is an article to remove the HDP components completely from a host:   &lt;A href="https://community.hortonworks.com/articles/97489/completely-uninstall-hdp-and-ambari.html" target="_blank"&gt;https://community.hortonworks.com/articles/97489/completely-uninstall-hdp-and-ambari.html&lt;/A&gt;     &lt;EM&gt;&lt;STRONG&gt;Please be careful while referring to this article as it also includes removal of Ambari Server So please selectively run the mentioned commands.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;You can refer to the above article to clean the component that you do not want to remove.&lt;/P&gt;&lt;P&gt;Also please take a look at the New ambari API (that is introduced from ambari 2.5.0) to clean old HDP Stacks from the host specified int he API call and then you can proceed (Reference:  &lt;A href="https://issues.apache.org/jira/browse/AMBARI-18435)" target="_blank"&gt;https://issues.apache.org/jira/browse/AMBARI-18435)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Here's the API call to remove older versions. E.g., &lt;/P&gt;
&lt;PRE&gt;curl 'http://c6401.ambari.apache.org:8080/api/v1/clusters/cl1/requests' -u admin:admin -H "X-Requested-By: ambari" -X POST -d'{"RequestInfo":{"context":"remove_previous_stacks", "action" : "remove_previous_stacks", "parameters" : {"version":"2.5.0.0-1245"}}, "Requests/resource_filters": [{"hosts":"c6403.ambari.apache.org, c6402.ambari.apache.org"}]}'
&lt;/PRE&gt;&lt;P&gt;That removes all versions older than "2.5.0.0-1245". Version 
mentioned in request remains intact. We also have checks that prevent 
removing the current version and the operation is idempotent.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 20:25:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-fully-uninstall-worker-kafka-machine-after-delete-it/m-p/207486#M169447</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2017-11-22T20:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to fully  uninstall worker/kafka machine after delete it from ambari cluster</title>
      <link>https://community.cloudera.com/t5/Support-Questions/how-to-fully-uninstall-worker-kafka-machine-after-delete-it/m-p/207487#M169448</link>
      <description>&lt;P&gt;+1 for the answer , I will test it on my host &lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 21:11:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/how-to-fully-uninstall-worker-kafka-machine-after-delete-it/m-p/207487#M169448</guid>
      <dc:creator>mike_bronson7</dc:creator>
      <dc:date>2017-11-22T21:11:37Z</dc:date>
    </item>
  </channel>
</rss>

