Install Hue

Prerequisites

These procedures use package managers to download and install from the MapR Repository. For more details on setting up ecosystem repository (which includes Hue), see Prepare Packages and Repositories.
NOTE: The Hue package, mapr-hue, can be installed on either a MapR cluster node (recommended) or a MapR 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. Update the list of available packages.

    On Ubuntu:

    apt-get update

    On Red Hat / CentOS:

    yum update
  2. Install the mapr-hue package.

    On Ubuntu:

    apt-get install mapr-hue

    On RedHat/ CentOS:

    yum install mapr-hue
    NOTE: 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, yum install mapr-hue-3.6*.
  3. If the node is a MapR 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.

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
HBase or MapR-DB Required for access to HBase tables or MapR-DB tables
HttpFS Required for viewing files in MapR-FS through Hue file browser
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.
Hive Required to run queries with HiveServer2.
Oozie Required for Oozie workflows

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