edit-icon download-icon

Hue

Last Updated: Jun 26, 2018

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

Preparations

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. 0.0.0.0/0 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.

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.