Chapter 14. 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:

    yum remove hcatalog\* 

  3. If Hive is installed, execute the following command on all the cluster nodes:

    yum remove hive\* 

  4. If Tez is installed, execute the following command on all the cluster nodes:

    yum remove tez

  5. If HBase is installed, execute the following command on all the cluster nodes:

    yum remove hbase\* 

  6. If ZooKeeper is installed, execute the following command on all the cluster nodes:

    yum remove zookeeper\* 

  7. If Pig is installed, execute the following command on all the cluster nodes:

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

  11. Delete Hadoop directories. If your Hadoop Home directory is "/usr/lib/hadoop" for example, delete that directory and its subdirectories.

    rm -rf /usr/lib/hadoop


loading table of contents...