Upgrading Hue
To see which version of Hue is shipping in CDH 5, check the Version and Packaging Information. For important information on new and changed components, see the CDH 5 Release Notes.
Upgrading Hue from CDH 4 to CDH 5
If you have already removed Hue as part of your upgrade to CDH 5, skip to Installing and Configuring Hue.
Step 1: Stop the Hue Server
Step 2: Uninstall the Old Version of Hue
- On RHEL systems:
$ sudo yum remove hue-common
- On SLES systems:
$ sudo zypper remove hue-common
- On Ubuntu or Debian systems:
sudo apt-get remove hue-common
Step 3: Install Hue 3.x
Follow the instructions under Installing Hue.- Open the my.cnf file for MySQL, search for "default-storage-engine" and note its value.
- Connect to MySQL and run the following commands:
use hue; show create table auth_user;
- Search for the "ENGINE=" line and confirm that its value matches the one for the "default-storage-engine" above.
If the default engines do not match, Hue will display a warning on its start-up page (http://$HUE_HOST:$HUE_PORT/about). Work with your database administrator to convert the current Hue MySQL tables to the engine in use by MySQL, as noted by the "default-storage-engine" property.
- If you install a newer version of a package that is already on the system, configuration files that you have modified will remain intact.
- If you uninstall a package, the package manager renames any configuration files you have modified from <file> to <file>.rpmsave. If you then re-install the package (probably to install a new version) the package manager creates a new <file> with applicable defaults. You are responsible for applying any changes captured in the original configuration file to the new configuration file. In the case of Ubuntu and Debian upgrades, you will be prompted if you have made changes to a file for which there is a new version. For details, see Automatic handling of configuration files by dpkg.
Step 4: Start the Hue Server
Upgrading Hue from an Earlier CDH 5 Release
You can upgrade Hue either as part of an overall upgrade to the latest CDH 5 release (see Upgrading from an Earlier CDH 5 Release to the Latest Release) or independently. To upgrade Hue from an earlier CDH 5 release to the latest CDH 5 release, proceed as follows.
Step 1: Stop the Hue Server
See Starting and Stopping the Hue Server.
You must stop Hue. If Hue is running during the upgrade, the new version will not work correctly.
Step 2: Install the New Version of Hue
Follow the instructions under Installing Hue.
- If you install a newer version of a package that is already on the system, configuration files that you have modified will remain intact.
- If you uninstall a package, the package manager renames any configuration files you have modified from <file> to <file>.rpmsave. If you then re-install the package (probably to install a new version) the package manager creates a new <file> with applicable defaults. You are responsible for applying any changes captured in the original configuration file to the new configuration file. In the case of Ubuntu and Debian upgrades, you will be prompted if you have made changes to a file for which there is a new version. For details, see Automatic handling of configuration files by dpkg.
Step 3: Start the Hue Server
<< Supported Browsers for Hue | ©2016 Cloudera, Inc. All rights reserved | Installing Hue >> |
Terms and Conditions Privacy Policy |