Use the following instructions to uninstall HDP:
Stop all the installed HDP services.
If HCatalog is installed, execute the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove hcatalog\*
SLES:
zypper remove hcatalog\*
If Hive is installed, execute the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove hive\*
SLES:
zypper remove hive\*
If HBase is installed, execute the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove hbase\*
SLES:
zypper remove hbase\*
If ZooKeeper is installed, execute the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove zookeeper\*
SLES:
zypper remove zookeeper\*
If Oozie is installed, execute the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove oozie\*
SLES:
zypper remove oozie\*
If Pig is installed, execute the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove pig\*
SLES:
zypper remove pig\*
If compression libraries are installed, execute the following command on all the cluster nodes:
yum remove snappy\* yum remove hadoop-lzo\*
If Knox is installed, execute the following command on all the gateway host:
For RHEL/CentOS/Oracle Linux:
yum remove knox\*
SLES:
zypper remove knox\*
Uninstall Hadoop. Execute the following command on all the cluster nodes:
yum remove hadoop\*
Uninstall ExtJS libraries and MySQL connector. Execute the following command on all the cluster nodes:
yum remove extjs-2.2-1 mysql-connector-java-5.0.8-1\*