Uninstalling Cloudera Data Science Workbench
This topic describes how to uninstall Cloudera Data Science Workbench from a cluster.
CSD Deployments
- Log in to the Cloudera Manager Admin Console.
- On the Stop from the dropdown and confirm that you want to stop the service. tab, click to the right of the CDSW service and select
- (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/ .
- Go back to Cloudera Manager and click .
- Go to the CDSW parcel and click Deactivate.
- Select Deactivate Only from the list.
- Click the to the right of the Activate button and select Remove From Hosts.
- Click OK to confirm.
- Go back to the Delete from the dropdown and confirm that you want to delete the service. page and click to the right of the CDSW service. Select
- 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
-
Run the following command on the master host to stop Cloudera Data Science Workbench.
cdsw stop
- (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/ .
- 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
- 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