Uninstalling Cloudera Data Science Workbench

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

CSD Deployments

  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 -C /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.

RPM Deployments

  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 -C /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