The Hortonworks virtual machine already has one version of Hue running, but that is very old. We will install the latest version of Hue ourselves since it has a better Oozie editor.
Start the virtual machine. Once the machine is up and running, we can log in to that via SSH using the following command:
$ ssh [email protected] -p 2222
The default password is hadoop
.
Let's download and configure Hue. Here are the steps to do so:
Download the latest release of Hue.
Install the dependencies required to build Hue via yum.
Build the Hue package using the
make
command.Before you execute the following commands, check the Hue website (http://gethue.com/category/release/) and find out the latest version of Hue. I have used 3.8.1 in this book. But I suggest you to download the latest one. The only change needed in the following is to change the version 3.8.1 to whatever latest version is present:
$ mkdir -p /opt/learn_oozie/hue $ chmod 777 /opt/learn_oozie/hue $ chown hue:hue...