I am referring to the links provided earlier on this list for a clean
un-install of HDP 2.2 and Ambari reset :

https://cwiki.apache.org/confluence/display/AMBARI/Host+Cleanup+for+Ambari+and+Stack

Accordingly, I started with


   1. Shut down all the services using Ambari
   2. ambari-agent stop on all nodes
   3. ambari-server stop
   4. ps -eaf | grep java on each node and killed the running processes
   5. yum remove 'HDP*'

Here is where the issue starts :

[root@l1031lab ~]# yum remove "HDP*"
Loaded plugins: product-id, rhnplugin, security, subscription-manager
This system is not registered to Red Hat Subscription Management. You can
use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Remove Process
No Match for argument: HDP*
http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.2.4.2/repodata/repomd.xml:
[Errno 12] Timeout on
http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.2.4.2/repodata/repomd.xml:
(28, 'connect() timed out!')
Trying other mirror.
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6/repodata/repomd.xml:
[Errno 12] Timeout on
http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6/repodata/repomd.xml:
(28, 'connect() timed out!')
Trying other mirror.
http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.0.0/repodata/repomd.xml:
[Errno 12] Timeout on
http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.0.0/repodata/repomd.xml:
(28, 'connect() timed out!')
Trying other mirror.
No package HDP* available.
  * Maybe you meant: hdp-select, hdparm
No Packages marked for removal


How should I proceed ?

Meanwhile, can I execute the

/usr/lib/python2.6/site-packages/ambari_agent/HostCleanup.py
on each node ? Is it that this step MUST come after yum remove ?

Reply via email to