How to Install a Specific Version of CDH and Hue

For a specific version of Hue, you need a specific version of CDH. You cannot install Hue independently from CDH. See Hue Versions

How to Install the Latest Version of Hue

Easy Install explains how to deploy the latest version of CDH and Hue. The key parts are:

  1. Download the Cloudera Manager package for your OS on the primary host in your cluster:
    $ cd /etc/<package_manager_source_dir>/
    $ wget https://archive.cloudera.com/cm5/<os_type>/<os_ver>/x86_64/cm/<repo_name_can_differ>
    Available Cloudera Manager Packages
    OS Target Dir Repo
    CentOS / RHEL /etc/yum.repos.d/ .../redhat/<ver>/x86_64/cm/cloudera-manager.repo
    SLES /etc/zypp/repos.d/ .../sles/<ver>/x86_64/cm/cloudera-manager.repo
    Ubuntu /etc/apt/sources.list.d/ .../ubuntu/<ver>/x86_64/cm/cloudera.list
    Debian /etc/apt/sources.list.d/ .../debian/<ver>/x86_64/cm/cloudera.list
  2. Run the Cloudera Manager wizard in a browser and use the default repository paths.

How to Install a Specific Version of Hue

For a specific version, download the same Cloudera Manager package and then edit some paths:
  1. Download the Cloudera Manager 5 package for your OS, for example:
    wget https://archive.cloudera.com/cm5/redhat/7/x86_64/cm/cloudera-manager.repo -P /etc/yum.repos.d/
  2. Edit baseurl in the repo file (the filename can differ):
    vi /etc/yum.repos.d/cloudera-manager.repo
    #vi /etc/yum.repos.d/cloudera-cm.repo
    1. For the latest maintenance version of a specific minor version (for example, the latest 5.7 version):
      baseurl = https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.7/
    2. For a specific maintenance version (for example, 5.7.2):
      baseurl = https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.7.2/


  3. Run Cloudera Manager wizard and stop at Step 1 Step 1 of Cluster Installation.
  4. Click More Options for CDH parcels.
  5. Edit CDH 5 Remote Parcel Repository URL from {latest_supported} to match your version and save:
    1. For the latest maintenance release of a specific minor version:
      http://archive.cloudera.com/cdh5/parcels/5.7/
    2. Or, for a specific maintenance release:
      http://archive.cloudera.com/cdh5/parcels/5.7.2/
  6. Select the newly enabled radio button for your version under Select the version of CDH:

  7. Scroll down and select the Custom Repository button.
  8. Enter a custom URL for the matching Cloudera Manager Agent repo:
    1. For the latest maintenance release of a specific minor version:
      https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.7/
    2. Or, for a specific maintenance release:
      https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/5.7.2/
  9. Enter a custom URL for the location of the GPG signing key:
    https://archive.cloudera.com/cm5/redhat/6/x86_64/cm/RPM-GPG-KEY-cloudera

The rest of the installation should be the same as Easy Install.