Pre-Upgrade Steps for Hue

You need to dump the Hue database before upgrading. You also need to back up Hue configuration properties files if you made configuration changes that you want to carry over to the next version.

  1. Stop the Hue service.
    maprcli node services -name hue -action stop -nodes <ip_address>
  2. Create a Hue database dump as a JSON object.
    cd /opt/mapr/hue/hue-3.7.0/build/env/bin/
    source /opt/mapr/hue/hue-3.7.0/build/env/bin/activate
    ./hue dumpdata > dump-hue-3.7.0.json
  3. 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.