This is the documentation for Cloudera Manager 4.8.2.
Documentation for other versions is available at Cloudera Documentation.

The Hue Service

Hue is a set of web applications that enable you to interact with a CDH cluster. Hue applications let you browse HDFS, manage a Hive metastore, and run Hive and Cloudera Impala queries, HBase and Sqoop commands, Pig scripts, MapReduce jobs, and Oozie workflows.

Continue reading:

Configuring Hue to Work with High Availability

If your cluster has High Availability enabled, you must configure the Hue HDFS Web Interface Role property to use HTTPFS. See Configuring Hue to work with High Availability for detailed instructions.

Managing Hue Analytics Data Collection

Hue tracks anonymised pages and application versions in order to gather information to help compare each application's usage levels. The data collected does not include any hostnames or IDs. For example, the data is of the form: /2.3.0/pig, /2.5.0/beeswax/execute. You can restrict data collection as follows:
  1. Go to the Hue service.
  2. Select Configuration > View and Edit.
  3. Expand the Service-Wide category.
  4. Uncheck the Enable Usage Data Collection checkbox.
  5. Click Save Changes.
  6. Restart the Hue service.

Enabling Hue Applications

Most Hue applications are configured by default, based on the services you have installed. Cloudera Manager selects the service instance (Oozie, HBase, Impala, or Sqoop) that Hue depends on. If you have more than one service, you may want to verify or change the service dependency for Hue. If you add a service such as Sqoop2 or Oozie after you have set up Hue, you will need to set the dependency because it won't be done automatically. To do this:
  1. Go to the Hue service.
  2. Select Configuration > View and Edit.
  3. Select the Service-Wide category. There you will see the settings for the services that the Hue service depends on for its various applications.
  4. Change the setting for the service dependency from None to the appropriate service instance.
  5. Click Save Changes.
  6. Restart the Hue service.

Configuring Hue to Use HiveServer2

By default Hue uses the Beeswax server to execute Hive commands. To configure Hue to use HiveServer2 instead, do the following:
  1. Go to the Hue service.
  2. Select Configuration > View and Edit.
  3. Expand the Hue Server category and click the Advanced category.
  4. In the Hue Server Configuration Safety Valve for hue_safety_valve_server.ini field, add the following:
    [ beeswax ]
    server_interface=hiveserver2
    beeswax_server_port=10000
    beeswax_server_host=<HS2 hostname>
  5. Save Changes to have these configurations take effect.
  6. Restart the Hue service.
  Note: Cloudera Manager still requires a Beeswax instance for Hue even though it is not used. You can shut down the Beeswax role once the Hue service starts, however, there is no way to remove the Beeswax instance.
If using Kerberos also do the following:
  1. Go to the Hive service.
  2. Select Configuration > View and Edit.
  3. Expand the Gateway category and click the Advanced category.
  4. In the Hive Client Configuration Safety Valve for hive-site.xml field, add the following:
    <property>
    <name>hive.server2.authentication</name>
    <value>KERBEROS</value>
    </property>
  5. Save Changes to have these configurations take effect.
  6. Restart the Hive service.

Enabling Sqoop2

If you upgrade to Cloudera Manager 4.7 from an earlier version of Cloudera Manager 4, you will need to set the Hue dependency to enable the new Sqoop application. Follow the steps above to do this.

Enabling the HBase Browser application

The HBase Browser application, new as of CDH4.4, depends on the HBase Thrift server for its functionality. The Thrift server role is not added by default when you install HBase, so in order to use the HBase Browser you must first add a Thrift Server role.

To add a Thrift Server role:

  1. Select the HBase service, then select the Instances tab.
  2. Click the Add button to go to the Add Role page.
  3. Select the host(s) where you want to add the Thrift Server role (you only need one for Hue) and click Continue. The Thrift server role should appear in the instances list for the HBase server.
  4. Select the Thrift Server role instance, and from the Actions for Selected menu, Start the role.
To configure Hue for the HBase Browser:
  1. Go to the Hue service.
  2. Select Configuration > View and Edit.
  3. Go to the Service-Wide category.
  4. For the HBase Service property, make sure it is set to the HBase service for which you enabled the Thrift Server role(if you have more than one HBase service instance).
  5. In the HBase Thrift Server property, click in the edit field and select the Thrift Server role that Hue should use.
  6. Save Changes to have these configurations take effect.

Enabling Impala with Hue

To use the Cloudera Impala Query UI with Hue, you must add the host name of the Impala Daemon in the Hue Server safety valve.

See Deploying Impala with Hue for detailed instructions.

Enabling Solr Search with Hue

To use the Solr Search application with Hue, you must update the URL for the Solr Server in the Hue Server safety valve. In addition, if you are using parcels with CDH4.3, you must register the "hue-search" application manually or access will fail. You do not need to do this if you are using CDH4.4 or later.

See Deploying Search with Hue for detailed instructions.