Rollback Cloudera Data Science Workbench to an Older Version

All stateful data for Cloudera Data Science Workbench is stored in the /var/lib/cdsw directory on the Master host. The contents of this directory are forward compatible, which is what allows for upgrades. However, they are not backward compatible. Therefore, to rollback Cloudera Data Science Workbench to a previous version, you must have a backup of the /var/lib/cdsw directory, taken prior to the last upgrade.

In general, the steps required to restore a previous version of Cloudera Data Science Workbench are:
  1. Depending on your deployment, either uninstall the RPM or deactivate the current CDSW parcel in Cloudera Manager.
  2. On the master host, restore the backup copy you have of /var/lib/cdsw. Note that any changes made after this backup will be lost.
  3. Install a version of Cloudera Data Science Workbench that is equal to or greater than the version of the /var/lib/cdsw backup.