Chapter 27. Uninstalling HDP
Use the following instructions to uninstall HDP:
Stop all of the installed HDP services. See Stopping HDP Services in the HDP Reference Guide.
If Knox is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove knox*
For SLES:
zypper remove knox\*
If Ranger is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove ranger\*
For SLES:
zypper remove ranger\*
If Kafka is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove kafka\*
For SLES:
zypper remove kafka\*
If Storm is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove storm\*
For SLES:
zypper remove storm\*
If Hive is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove hive\*
For SLES:
zypper remove hive\*
If HBase is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove hbase\*
For SLES:
zypper remove hbase\*
If Phoenix is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove phoenix\*
For SLES:
zypper remove phoenix\*
If Accumulo is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove accumulo\*
For SLES:
zypper remove accumulo\*
If Tez is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove tez\*
For SLES:
zypper remove tez\*
If ZooKeeper is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove zookeeper\*
For SLES:
zypper remove zookeeper\*
If Oozie is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove oozie\*
For SLES:
zypper remove oozie\*
If Pig is installed, run the following command on all the cluster nodes:
For RHEL/CentOS/Oracle Linux:
yum remove pig\*
For SLES:
zypper remove pig\*
If compression libraries are installed, run the following command on all the cluster nodes:
yum remove snappy\* yum remove hadooplzo\*
If Knox is installed, run the following command on all the gateway host:
For RHEL/CentOS/Oracle Linux:
yum remove knox\*
For SLES:
zypper remove knox\*
Uninstall Hadoop. run the following command on all the cluster nodes:
yum remove hadoop\*
Uninstall ExtJS libraries and MySQL connector. Run the following command on all the cluster nodes:
yum remove extjs-2.2-1 mysql-connector-java-5.0.8-1\*