Add the Hue service using Cloudera Manager

After you have installed and configured the MySQL database for Hue, add the Hue service using Cloudera Manager.

  1. Sign in to Cloudera Manager as an Administrator.
  2. Go to Clusters > Actions and click Add Service.
    The Add Service to Cluster wizard is displayed.
  3. Select Hue as the Service Type and click Continue.
    The Select Dependencies page is displayed.
  4. On the Select Dependencies page, select the optional dependencies that are required for your cluster and click Continue.
    The required dependency is selected by default.
  5. On the Assign Roles page, you can perform one of the following actions:
    • To accept the default role assignments, click Continue in the lower right corner of the page. To view the default role assignments by host, click View By Host.
    • To customize role assignments, click the field below Hue Server and Load Balancer roles. This launches a dialog box where you can select hosts where you want to add the role. Click OK after making your selection.

      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. On the Setup Database page:
    1. Select a database vendor from the Type field and specify the Database Hostname, Database Name, Username, and Password.
    2. Click Test Connection, and when the success message appears, click Continue and Cloudera Manager starts the Hue service.
  7. Review your configurations on the Review Changes page and click Continue.
  8. On the Command Details page, expand the running commands to view the details of any step, including log files and command output. You can filter the view by selecting Show All Steps, Show Only Failed Steps, or Show Only Running Steps.
    After the First Run command completes, click Continue to go to the Summary page.
  9. After the service is started, click Continue and then click Finish.
    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 "Enabling Kerberos Authentication" for more information.