Cluster ManagementPDF version

Uninstalling RPM Deployments

This topic describes how to uninstall Cloudera Data Science Workbench from a cluster.

  1. Run the following command on the master host to stop Cloudera Data Science Workbench.
    cdsw stop
    
  2. (Strongly Recommended) On the master host, backup the contents of the /var/lib/cdsw directory. This is the directory that stores all your application data.

    To create the backup, run the following command on the master host:

    tar cvzf cdsw.tar.gz /var/lib/cdsw/*
  3. To uninstall Cloudera Data Science Workbench, run the following commands on the master host and all the worker hosts.
    cdsw stop
    yum remove cloudera-data-science-workbench
    
  4. Remove all your user data that is stored in /var/lib/cdsw on the master host from the deployment. This step will permanently remove all user data.
    sudo rm -Rf /var/lib/cdsw