Cloudera recommends following the Cloudera Data Visualization release cadence by
upgrading to the latest version as it becomes available. This practice ensures that your
Cloudera Data Visualization instances benefit from the latest new features, security
enhancements, and bug fixes.
This guide outlines the available options performing an
upgrade and the steps of the upgrade process. If you need to downgrade, follow the Restoring Cloudera Data Visualization in CML/CDSW
procedure using the backup you created earlier.
-
Before initiating the upgrade, review the Known issues and limitations in Data
Visualization in the Release Notes for both the currently running version and
the version to which you plan to upgrade to. This helps you identify potential
challenges, limitations, or specific actions required for a successful upgrade.
-
If you are using an external database like MySQL, MariaDB, Postgres, or Oracle, ensure
you back up the database and restore it as a new database that the new Cloudera Data
Visualization instance can connect to.
-
Stop the application.
On the Applications page in CML/CDSW, click to stop the selected Cloudera Data Visualization application.
-
Back up the SQLite metadata database.
-
Navigate to your project's Overview page and click
New Session.
-
When your session is running, click >_ Terminal Access above
the session log pane to open a terminal window.
The default working directory is /home/cdsw, where all your
project files reside.
-
Navigate to /home/cdsw/.arc.
This directory contains the Cloudera Data Visualization logs, files, settings, and
the arcviz.db database.
-
Run the following command to create a copy of your current Cloudera Data
Visualization metadata.
sqlite3 arcviz.db “.backup
arcviz.db-BACKUP-[***version***]”
You can use this
backup in case you need to revert to a previous Cloudera Data Visualization
version.
-
Navigate to the Application Settings page.
-
Locate the runtime configuration option, where you can select the desired runtime for
your application.
-
Select the runtime you want to set for your application from the available
options.
-
Click Update Application to save the change.
The application will restart automatically with the newly selected runtime.