This is documentation for MapR Version 5.0. You can also refer to MapR documentation for the latest release.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
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.

To install Hue:

Execute the following commands as root or using sudo.

  1. Update the list of available packages.

    • On Ubuntu:

      Code Block
      languagetext
      apt-get update
    •  On  On Red Hat / CentOS:

      Code Block
      languagetext
      yum update

       

  2. Install the mapr-hue package.

    • On Ubuntu:

      Code Block
      languagetext
      apt-get install mapr-hue
    • On RedHat/ CentOS:

      Code Block
      languagetext
      yum install mapr-hue
      Info

      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  follow the additional instructions:
    1.  To determine who the <INSTALL_USER> is, enter:

      Code Block
       logname
    2. Set the following properties in hue.ini to that user.

      Code Block
      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.

      Note

      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.

Installing other

ServicesInstall

Components

Based on your requirements, you may also want to install the following services components on at least one node in the cluster. Each of these dependencies provides important functionality, and Hue needs to be configured to use them (see Configure Hue for more information).

Package Name

ComponentDescription
mapr-httpfsHttpFSRequired for viewing files in MapR-FS through the Hue file browser 
mapr-hiveProvides Hive libraries so beeswax can run in Hue 2.5, and so hiveserver2 can run in Hue 3.5
mapr-oozieRequired for Oozie workflows
File Browser 
HiveRequired to run queries with HiveServer2.
OozieRequired to run Oozie workflows.
HBase or MapR-DBRequired for access to HBase tables or MapR-DB tables
Sqoop2Required to create and submit jobs to transfer bulk data between structured datastores and the MapR-FS.
SparkRequired to process data using the Notebook UI.

Next Steps

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