Enabling Hue Applications
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.
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.
Also, if you add a service such as Sqoop2 or Oozie after you have set up Hue, you will need to set the dependency, it won't be done automatically.
To do this:
- In the Admin console, select the Hue service, then under the Configuration tab select View and Edit.
- Select the Service-Wide category. There you will see the settings for the services that the Hue service depends on for its various applications.
- Change the setting for the service dependency from None to the appropriate service instance.
- Save Changes, then restart the Hue 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:
- Select the HBase service, then select the Instances tab.
- Click the Add button to go to the Add Role page.
- 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.
- Select the Thrift Server role instance, and from the Actions for Selected menu, Start the role.
- Select the Hue service, then under the Configuration tab select View and Edit.
- Go to the Service-Wide category.
- 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).
- In the HBase Thrift Server property, click in the edit field and select the Thrift Server role that Hue should use.
- 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.