Installing Hue

This topic includes instructions for using package managers to download and install Hue from the EEP repository.

Prerequisites

To set up the EEP repository, see Step 11: Install Ecosystem Components Manually.
NOTE
The Hue package, mapr-hue, can be installed on either a Data Fabric cluster node (recommended) or a Data Fabric client node. If you choose to install on a client node, keep in mind that Hue directories are owned by the user who installed Hue.

About this task

Execute the following commands as root or using sudo.

Procedure

  1. Install the Hue packages.

    On Ubuntu:

    apt-get install mapr-hue

    On RHEL / CentOS:

    yum install mapr-hue

    On SLES:

    zypper install mapr-hue
  2. If the node is a Data Fabric Client node, follow the additional instructions:
    1. To determine who the <INSTALL_USER> is, enter:
      logname
    2. Set the following properties in hue.ini to that user.
      server_user=<INSTALL_USER>
      server_group=<INSTALL_USER>
      default_user=<INSTALL_USER>
    3. Change the default_hdfs_superuser property to the owner of /var on the cluster.
      WARNING
      The <INSTALL_USER> must exist on the cluster on all nodes. It must also be set as the proxy user in all configuration files listed in Configure Hue, depending on the Hue version you are installing.
  3. Run configure.sh -R:
    /opt/mapr/server/configure.sh -R

What to do next

Installing Other Components

Based on your requirements, you may also want to install the following components on at least one node in the cluster.

Component Description
HPE Ezmeral Data Fabric Database Required for access to HPE Ezmeral Data Fabric Database tables
HttpFS Required for viewing files in file system through Hue file browser
Spark Required to process data using the Notebook UI.
Hive Required to run queries with HiveServer2.

When you finish installing Hue, go to Configure Hue to learn how to configure Hue.