Adding a Hue Service and Role Instance

Adding the Hue Service

Minimum Required Role: Cluster Administrator (also provided by Full Administrator)

After initial installation, you can use the Add a Service wizard in Cloudera Manager to add and configure a new Hue service instance.

  1. On the Home > Status tab, click to the right of the cluster name.
  2. Select Add a Service.
  3. Select the Hue service and click Continue.
  4. Select the row with the Hue dependencies required for your cluster.
  5. Click Continue to accept the default role assignments; or click the gray field below each role to open the hosts dialog, customize assignments, and click OK to save.

    If a drop down menu displays (indicating that all hosts apply), select All Hosts, or else click Custom to display the hosts dialog. Click OK to accept custom assignments.

    The wizard evaluates host hardware configurations to determine the best hosts for each role. All worker roles are automatically assigned to the same set of hosts as the HDFS DataNode. You can reassign if necessary. Specify hostnames by IP address, rack name, or by range:

    Range Definition Matching Hosts
    10.1.1.[1-4] 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4
    host[1-3].company.com host1.company.com, host2.company.com, host3.company.com
    host[07-10].company.com host07.company.com, host08.company.com, host09.company.com, host10.company.com
  6. Select Use Custom Databases for production clusters and input values for database hostname, type, name, username, and password.
  7. Click Test Connection, and when green, click Continue. Cloudera Manager starts the Hue service.
  8. Click Continue and Finish.
  9. If your cluster uses Kerberos, Cloudera Manager automatically adds a Hue Kerberos Ticket Renewer role to each host where you assigned the Hue Server role instance. See, Enable Hue to Work with Hadoop Security using Cloudera Manager.

Adding a Hue Role Instance

Minimum Required Role: Cluster Administrator (also provided by Full Administrator)

Roles are functions that comprise a service and role instances must be assigned to one or more hosts. You can easily assign roles to hosts in Cloudera Manager.

  1. Go to the Hue service.
  2. Click the Instances tab.
  3. Click the Add Role Instances button.
  4. Click Continue to accept the default role assignments; or click the gray field below each role to open the hosts dialog, customize assignments, and click OK to save.

    If a drop down menu displays (indicating that all hosts apply), select All Hosts, or else click Custom to display the hosts dialog. Click OK to accept custom assignments.

    The wizard evaluates host hardware configurations to determine the best hosts for each role. All worker roles are automatically assigned to the same set of hosts as the HDFS DataNode. You can reassign if necessary. Specify hostnames by IP address, rack name, or by range:

    Range Definition Matching Hosts
    10.1.1.[1-4] 10.1.1.1, 10.1.1.2, 10.1.1.3, 10.1.1.4
    host[1-3].company.com host1.company.com, host2.company.com, host3.company.com
    host[07-10].company.com host07.company.com, host08.company.com, host09.company.com, host10.company.com
  5. If your cluster uses Kerberos, you must manually add the Hue Kerberos Ticket Renewer role to each host where you assigned the Hue Server role instance. Cloudera Manager throws a validation error if the new Hue Server role does not have a colocated KT Renewer role. See, Enable Hue to Work with Hadoop Security using Cloudera Manager.
  6. Click Continue.