- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Created on 02-21-2018 10:34 AM
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 http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -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 https://github.com/cloudera/hue.git
- 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
Created on 02-21-2018 06:51 PM
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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.