The following procedures use the operating system package managers to download and install Hue from the MapR Repository. For instructions on setting up the ecosystem repository (which includes Hue), see Preparing Packages and Repositories.
|The Hue package, |
Execute the following commands as
root or using
Update the list of available packages.
On Red Hat / CentOS:
apt-get install mapr-hue
On RedHat/ CentOS:
yum install mapr-hue
This command installs the most recent hue package available in the configured repository. If you want to install a previous version that is also available in the repository, specify the hue version as well. For example,
To determine who the
<INSTALL_USER> is, enter:
Set the following properties in
hue.ini to that user.
server_user=<INSTALL_USER> server_group=<INSTALL_USER> default_user=<INSTALL_USER>
default_hdfs_superuser property to the owner of
/var on the cluster.
Based on your requirements, you may also want to install the following components on at least one node in the cluster.
|HttpFS||Required for viewing files in MapR-FS through the Hue File Browser|
|Hive||Required to run queries with HiveServer2.|
|Oozie||Required to run Oozie workflows.|
|HBase or MapR-DB||Required for access to HBase tables or MapR-DB tables|
|Sqoop2||Required to create and submit jobs to transfer bulk data between structured datastores and the MapR-FS.|
|Spark||Required to process data using the Notebook UI.|
When you finish installing Hue, go to Configure Hue to learn how to configure Hue.