Non-Ambari Cluster Installation Guide
Also available as:
PDF
loading table of contents...

Chapter 27. Uninstalling HDP

Use the following instructions to uninstall HDP:

  1. Stop all of the installed HDP services. See Stopping HDP Services in the HDP Reference Guide.

  2. 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\*

  3. 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\*

  4. 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\*

  5. 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\*

  6. 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\*

  7. 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\*

  8. 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\*

  9. 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\*

  10. 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\*

  11. 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\*

  12. 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\*

  13. 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\*

  14. If compression libraries are installed, run the following command on all the cluster nodes:

    yum remove snappy\* yum remove hadooplzo\*

  15. 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\*

  16. Uninstall Hadoop. run the following command on all the cluster nodes:

    yum remove hadoop\*

  17. 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\*