Community Articles

Find and share helpful community-sourced technical articles.
Welcome to the upgraded Community! Read this blog to see What’s New!
Labels (1)
Cloudera Employee

Installing Hue can be tricky as the latest version Hue 4.1.0 is available only as source code and Compiling it requires a lot of dependencies and development libraries for which there is very little information available on the Internet

The best document that I could find as reference was Hue 4.1.0 Installation Guide, though there are a few packages missing in the doc

After series of trial and error came up with the below steps to Compile / Install Hue successfully

  • Install JDK, Hue dependencies, and development Libraries
$ sudo yum -y update
$ sudo yum install -y git gcc libxml2-devel libxslt-devel cyrus-sasl-devel cyrus-sasl-gssapi mysql-devel python-devel python-setuptools sqlite-devel ant gcc-c++ *sasl* krb5-devel libtidy openldap-devel wget libffi-devel gmp-devel java-1.8.0-openjdk
  • Install Apache Maven from public Fedora repository
$ sudo wget -O /etc/yum.repos.d/epel-apache-maven.repo
$ sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo
$ sudo yum install -y apache-maven
  • Clone Hue Git Repository
git clone
  • Build Hue from Source
# Configure $PREFIX with the path where you want to install Hue
$ cd hue
$ PREFIX=/usr/share make install 

The above commands were executed and tested on

OS : CentOS release 6.9 (Final)
Hue : Version 4.1
Date : 21/Feb/2018
0 Kudos
Super Collaborator

It might be beneficial to stuff this in a Docker container and run

make prod tarball

Then, you can run the Docker container for the respective environment, and simply copy the tarball to external clusters.

Version history
Last update:
‎02-21-2018 10:34 AM
Updated by: