Restoring a Cloudera Data Visualization version in CML/CDSW
Restoring a previous version means reverting your Cloudera Data Visualization (CDV) application to a previous version. You can restore your system to a known good state when you encounter any problems during upgrade and the upgrade process fails, or when there are major issues with the new software version and you need to return to the previous CDV version to maintain system functionality.
Stop the application.
On the Applications page in CML/CDSW, click to stop the selected CDV application.
Back up the SQLite metadata database.
- Go to your project's Overview page and click New Session.
When your session is running, click >_ Terminal Access above
the session log pane.
A terminal window opens, and its default working directory is /home/cdsw, where all your project files reside.
Navigate to /home/cdsw/.arc.
This directory contains the CDV logs, files, settings, and the arcviz.db database.
Run the following command to make a copy of your current CDV metadata.
sqlite3 arcviz.db “.backup arcviz.db-BACKUP-[***version***]”
You can use this backup in case you need to revert to a previous CDV version.
- Create a new CDV application.
- Copy the SQLite database to /home/cdsw/.arc/ in your new project.
- Start the new application.