Post-Upgrade Steps for Hue
Complete the following steps after you upgrade Hue with or without the Installer:
About this task
Procedure
- To configure the Hue-livy package after upgrading, see Integrate Hue With Spark.
-
Copy the changes that you made for required services in your existing
hue.ini
file into the latest version of the file:/opt/mapr/hue/hue-<version>/desktop/conf/hue.ini
NOTEHue 3.9 uses the old Query editor to work with Hive and Impala queries, and introduces new Spark Notebooks. Hue 3.10+ uses Notebooks as a replacement for the old Query editor for Hive and Impala. If you are upgrading to Hue 3.10+, and you want to have access to your saved queries in the old Hive or Impala Query editor, you need to configure Hue to use the old Query editor. To do this, set theuse_new_editor
property in thehue.ini
file tofalse
. For example:[desktop] ... # Choose whether to show the new SQL editor. use_new_editor=false
-
If you use SQLite as the Hue database, load its backup:
-
Update the old database schema so that it is compatible with the new upgraded
version:
If you are using MySQL, PostgreSQL, or Oracle, and you have trouble with the database during the Hue upgrade, you can restore your data from the backup that you created during the Pre-Upgrade Steps for Hue:
source /opt/mapr/hue/hue-<new_version>/bin/activate hue loaddata --ignorenonexistent ~/dump-hue-<old_version>.json deactivate
-
For upgrades performed without the Installer: If you are using Hadoop MRv1, complete the following
steps to establish communication between Hue and the JobTracker processes:
-
Run
configure.sh -R
:/opt/mapr/server/configure.sh -R
If you do not complete this step, Hue may fail to start and the Control System may still display references to the Hue version that you upgraded from.
-
Restart the Hue service:
maprcli node services -name hue -action restart -nodes <ip_address>