edit-icon download-icon


Last Updated: Aug 06, 2018

E-MapReduce currently supports Hue. You can access Hue by Apache Knox.


Before you create a cluster, set Security Group Rules in Security Group of the cluster to enable 8888 port.

Note: Set the security group rules with specific IP address scope. is not allowed.

Access Hue

To accesss Hue, take the following steps:

  1. Click Configuration Management on the right side of the cluster ID in the EMR console.
  2. On the left side of the Configuration page, click Access Links and Interfaces.

Accessing Password

If Hue has no administrator after the first running, the first login user is set to administrator by default. EMR will generate an administrator account and password by default for security. The administrator account is admin. You can view the password through the following way:

  1. Click Configuration Management of the specific cluster in the cluster list.
  2. Select Service list in the left navigation pane, and then select Hue.
  3. Click Configuration, the admin_pwd parameter is the password to access Hue.

Forget Password

If you forget the password corresponding to your Hue account, you can recreate an account by the following method:

  1. Click Configuration Management of the specific cluster in the Cluster list page.
  2. Click Cluster Overview tab in the left navigation pane.
  3. Acquire the public network IP address of master node in the Master Instance Group field.
  4. Log on to the master node through SSH.
  5. Create a new account by executing the following command.
    /opt/apps/hue/build/env/bin/hue createsuperuser
  6. Enter a new user name, e-mail, password, and enter the password again, press Enter.
    If Superuser created successfully is prompted, it means the new account is created successfully, and you can log on to Hue with the new account later.

Add/Modify Configuration

  1. Enter the configuration Management page of the cluster, select Hue and configuration in sequence.
  2. Click Custom configuration on the top right corner to add or modify the key/value. The key needs to follow the following specifications:
    1. $section_path.$real_key
  • $real_key is the actual key to be added, such as hive_server_host.
  • You can view $section_path in hue.ini file. For example, you can see hive_server_host belong to [beeswax] section in hue.ini file. That is, $section_path is beeswax.
  • In conclusion, the key to be added is beeswax.hive_server_host.
  • If you need to modify the multilevel section [desktop] -> [[ldap]] -> [[[ldap_servers]]] -> [[[[users]]]] ->user_name_attr value in the hue.ini file, the key to be configured is desktop.ldap.ldap_servers.users.user_name_attr.
Thank you! We've received your feedback.