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

    • Ubuntu:

      sudo apt-get 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\* 

    • Ubuntu:

      sudo apt-get 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\* 

    • Ubuntu:

      sudo apt-get 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\* 

    • Ubuntu:

      sudo apt-get 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\* 

    • Ubuntu:

      sudo apt-get 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\* 

    • Ubuntu:

      sudo apt-get 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. Uninstall Hadoop. Execute the following command on all the cluster nodes:

    yum remove hadoop\* 

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