Chapter 26. Uninstalling HDP

Use the following instructions to uninstall HDP:

  1. Stop all the installed HDP services.

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

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

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

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

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

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

  8. If compression libraries are installed, execute the following command on all the cluster nodes:

    yum remove snappy\* 
    yum remove hadoop-lzo\* 
    

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

  10. Uninstall Hadoop. Execute the following command on all the cluster nodes:

    yum remove hadoop\* 

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


loading table of contents...