Hadoop User Experience (HUE) Installation and HUE configuration Hadoop
HUE: Hadoop User Experience. Hue is a graphical User interface for operating and developing Hadoop applications. The Hue program is integrated into a desktop-like environment and released as a web program. For individual users, no additional installation is required.
Official website address: http://gethue.com/
The Hue official website cannot be downloaded and has timed out.
Use the CDH version for installation.
:
Http://archive.cloudera.com/cdh5/cdh/5/
Instructions:
Http://archive.cloudera.com/cdh5/cdh/5/hue-3.9.0-cdh5.5.0/
Install dependency packages
Reference: https://github.com/cloudera/hue
My system is CentOS. Install the CentOS dependency package;
Yum install ant asciidoc cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-plain gcc-c ++ krb5-devel libffi-devel libtidy libxml2-devel XSLT lib- devel make mysql-devel openldap -devel python-devel sqlite-devel openssl-devel gmp-devel-y
Download maven apache-maven-3.3.3-bin.tar.gz
Decompress tar-xzvf apache-maven-3.3.3-bin.tar.gz-C/usr/
Set maven Environment Variables
$vi ~/.bash_profile
export MAVEN_HOME= /usr/apache-maven-3.3.3export PATH = $PATH:$MAVEN_HOME/bin
JDK has been installed, so it is not installed. you can install JDK as needed.
Decompress the installation package
Tar-xzvf hue-3.9.0-cdh5.5.0.tar.gz-C/usr/
Decompress the file to the/usr/directory;
Build
Hue-3.9.0-cdh5.5.0/cd/usr/
Make apps
Build successful!
Start the service
Cd/usr/hue-3.9.0-cdh5.5.0/build/env/bin
./Supervisor
Hue user not found
Solution:
1. Create an hue user
Adduser hue
Then start the service again;
Started successfully!
Access Web
Http: // node1: 8888
The database is read-only.
Solution:
Modify Data File Permissions
Chmod 777 desktop
Chmod 766 desktop/desktop. db
Then refresh the page.
Enter the user name and password
The page jumps to the following content:
There are many error messages on the page, because the corresponding configuration is not set, the following article will describe the configuration.
For more details, please continue to read the highlights on the next page: