Pre-Upgrade Steps for Hue
Complete the following steps before you upgrade Hue with or without the MapR Installer.
About this task
Procedure
-
Stop the Hue service:
maprcli node services -name hue -action stop -nodes <ip_address>
-
Stop the Hue-livy service if it is installed:
maprcli node services -name livy -action stop -nodes <ip_address>
-
Create a Hue database dump as a JSON object:
For MySQL, PostgreSQL, or Oracle
source /opt/mapr/hue/hue-<version>/build/env/bin/activate hue dumpdata > ~/dump-hue-<version>.json deactivate
For SQLitecd /opt/mapr/hue/hue-<version>/desktop sqlite3 desktop.db .dump > ~/dump-hue-<version>-sqlite.bak
-
Copy the configuration properties from
/opt/mapr/hue/hue-<version>/desktop/conf/
to a location outside your MapR installation.After upgrading, you can reapply changes to the updated Hue installation using the backup.