tencent cloud


Hue Overview

Last updated: 2022-07-04 11:23:37

    Hue is an open-source Apache Hadoop UI system that evolved from Cloudera Desktop, which Cloudera contributed to the Hadoop project of the Apache Software Foundation. Hue is implemented on the basis of Django, a Python web framework. By using Hue, you can interact with Hadoop clusters in the web-based console on a browser, such as manipulating HDFS data, running MapReduce jobs, executing Hive SQL statements, and browsing HBase databases.

    Accessing Hue WebUI

    To use the Hue component to manage workflows, log in to the Hue console first as shown below:
    1.Log in to the EMR console, click the ID/Name of the target cluster to enter the cluster details page, and click Cluster Service.
    2. Find the Hue component on the list page and click WebUI Access Address to enter the Hue page.
    3. When logging in to the Hue console for the first time, use the root account and the password set when you created the cluster.


    As the default component account upon start in EMR is Hadoop, you need to create a Hadoop account after logging in to the Hue console with the root account for the first time. All subsequent jobs should be submitted by using the Hadoop account.

    User Permission Management

    Log in to Hue with the admin account first.


    The following takes Hue with OpenLDAP not used for user management as an example to describe the directions. In EMR v2.6.0 and later and EMR v3.3.0 and later, Hue uses OpenLDAP users by default, and Hue users can be directly managed through user management.

    1. Add a user.
      1. Click Add user on the right.
      2. Enter the user information.
      3. Enter the user group and other information.
      4. Click Add user.
    2. Perform permission control.
      You can assign different permissions to groups through Hue and add users to groups to get specific permissions.
      1. Click Groups at the top of the user management page and then click Add group on the right.
      2. Enter the user group information, select the users to be added to the group, specify the permissions for the group, and click Add group.

    Data Import

    Hue allows you to import data from a local file, HDFS file, external database, or manually.

    1. Import a local file.
      1. Click Choose file and select a CSV file. Hue will automatically recognize the delimiter and generate a preview. Click Next to import the file to a table.
      2. Enter the table information and click Save.
    2. Import an HDFS file.
      1. Select a CSV file from HDFS.
      2. Enter the table information and click Save.
    3. Import an external database.
      1. Enter the external database information, click Test Connection to get the database information, select the database and table, and click Next.
      2. Enter the information of the target table, click Libs, select the MySQL driver, and click Save.

    Job Management

    Click the Jobs tab on the right to enter the job management page. Then, click a job type tab at the top to view and manage jobs.

    Table Management

    1. Click Tables on the right to enter the table management page and view the basic database information.
    2. Click a database to view the information of its tables.
    3. Click a table to view its details.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support