This topic describes how to add configuration items to the global configuration file hue.ini.


An E-MapReduce (EMR) Hadoop cluster is created. For more information, see Create a cluster.


  1. Go to the Cluster Overview page of your cluster.
    1. Log on to the Alibaba Cloud EMR console by using your Alibaba Cloud account.
    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. Go to the Hue service page.
    1. In the left-side navigation pane, choose Cluster Service > Hue.
    2. On the Hue service page, click the Configure tab.
    3. In the Service Configuration section, click the hue tab.
  3. Click Custom Configuration in the upper-right corner.
  4. In the Add Configuration Item dialog box, add the configuration items.
    In the Key column, you must enter a parameter in the following format:
    • $real_key: the parameter you want to add, such as hive_server_host.
    • $section_path: the section to which the parameter belongs. You can view the hue.ini file to obtain the section. For more information, see hue.ini.
      For example, if you want to add the hive_server_host parameter, which belongs to the [beeswax] section in the hue.ini file, you must enter beeswax.hive_server_host into the Key column and enter localhost in the Value column. hive-server-host
      For another example, if you want to modify the user_name_attr parameter, which is under multiple levels of sections, you must enter desktop.ldap.users.user_name_attr in the Key column. user_name_attr

    After you add all the required configuration items, click OK.

  5. Save the configurations.
    1. In the upper-right corner of the Service Configuration section, click Save.
    2. In the Confirm Changes dialog box, specify Description and click OK.
  6. Restart Hue.
    1. In the upper-right corner of the Hue service page, choose Actions > Restart Hue.
    2. In the Cluster Activities dialog box, specify Description and click OK.
    3. In the Confirm message, click OK.