This is documentation for MapR Version 5.0. You can also refer to MapR documentation for the latest release.

Skip to end of metadata
Go to start of metadata

 

Icon

If you installed Hue with the MapR Installer, use the latest version of the MapR Installer to perform the upgrade. 

To upgrade Hue installations to version 3.7, 3.8.1, or 3.9, complete the following steps as a user with admin permissions:

  1. If you have modified the configuration files in your current installation of Hue and you want to apply those changes to the updated version, create a backup of the configuration files in a location outside of the MapR installation directory. Configuration properties are located in /opt/mapr/hue/hue-<version>/desktop/conf/.
     

  2. Stop the Hue service.

  3. Create a Hue database dump as a JSON object:

    For MySQL, PostgreSQL, or Oracle
    For SQLite
  4. Install Hue:


  5. 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).

  6. If Hue is configured to use the SQLite database, perform the following steps:

    1. If the Hue node runs on Ubuntu, install sqlite3.

    2. Run the following commands:

  7.  Upload the JSON dump file to the Hue database:

    For MySQL, PostgreSQL, or Oracle
    For SQLite

    For example, run the following commands to upload the Hue 3.8.1 JSON dump file for MySQL into the Hue 3.9.0 installation directory: 


  8. Update the old database schema so that it is compatible with the new upgraded version:

    For example, run the following commands to update the database schema so that it is compatible with Hue 3.9.0:

  9. If you are using Hadoop MRv1, complete the following steps to establish communication between Hue and the JobTracker processes:

    1. Remove existing Hue plugins from the MapReduce lib directory:

       

    2. Copy new Hue plugins to the MapReduce lib directory: 

    3. Restart the JobTracker services:

     

  10. Start the Hue service:

  • No labels