All Products
Search
Document Center

E-MapReduce:Use Hue

Last Updated:Dec 21, 2023

This topic describes how to configure and access the Hue service in E-MapReduce (EMR). Hue allows you to interact with a Hadoop cluster from your browser for data analysis and processing.

Prerequisites

  • A security group rule is configured.

    Important

    When you set the authorization object in the security group rule, enter only the CIDR blocks or IP addresses that need to access Hue. Do not enter the CIDR block 0.0.0.0/0.

  • Port 8888 is enabled.

Considerations

  • If you want to use a Hue workflow, you must delete jobbrowser from the value of the app_blacklist parameter on the Configure tab of the Hue service page. jobbrowser

  • If you want to view the directories of HDFS or perform operations on the directories by using the Hue web UI, you must delete filebrowser from the value of the app_blacklist parameter on the Configure tab of the Hue service page and start the HttpFS component of HDFS. httpfs

Access the Hue web UI

  1. Go to the Cluster Overview page.

    1. Log on to the Alibaba Cloud EMR console.

    2. In the top navigation bar, select the region where your cluster resides and select a resource group based on your business requirements.

    3. Click the Cluster Management tab.

    4. On the Cluster Management page, find your cluster and click Details in the Actions column.

  2. In the left-side navigation pane of the Cluster Overview page, click Connect Strings.

  3. On the Public Connect Strings page, click the URL of Hue.

    On the page that appears, enter the username and password to access the Hue web UI.

    Note

    The first time you access the Hue web UI, you must enter the initial password of the admin user. For more information about how to view the initial password, see View the initial password.

View the initial password

If no administrator is configured, the first user who logs on to Hue becomes the administrator. To avoid the security risks caused by this mechanism, EMR creates an account named admin as the default administrator in Hue and generates a random password as the initial password of the admin account. To view the initial password of the admin account, perform the following steps:

  1. Log on to the Alibaba Cloud EMR console.

  2. In the top navigation bar, select the region where your cluster resides and select a resource group based on your business requirements.

  3. Click the Cluster Management tab.

  4. On the Cluster Management page, find your cluster and click Details in the Actions column.

  5. In the left-side navigation pane, choose Cluster Service > Hue.

  6. Click the Configure tab and find the admin_pwd parameter. The value of this parameter is the initial password of the admin account.

    Important

    The initial password is fixed. To change the logon password of the admin account, log on to Hue with the admin account and the initial password, and go to the User Admin page to change the password. Alternatively, you can also perform the steps in the Reset the password of a Hue account section.