Uninstalling CPM Deployments

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

  1. Log in to the Cloudera Manager Admin Console.
  2. On the Home > Status tab, click to the right of the CDSW service and select Stop from the dropdown and confirm that you want to stop the service.
  3. (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/*
  4. Go back to Cloudera Manager and click Hosts > Parcels.
  5. Go to the CDSW parcel and click Deactivate.
  6. Select Deactivate Only from the list.
  7. Click the to the right of the Activate button and select Remove From Hosts.
  8. Click OK to confirm.
  9. Go back to the Home > Status page and click to the right of the CDSW service. Select Delete from the dropdown and confirm that you want to delete the service.
  10. 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
    For more details on how to uninstall Cloudera Manager and it's components, see Uninstalling Cloudera Manager and Managed Software.