This topic describes how to modify and add configuration items.

Prerequisites

A cluster is created on the EMR on ACK page of the new Alibaba Cloud E-MapReduce (EMR) console. For more information, see Getting started.

Modify configuration items

  1. Go to the Configure tab.
    1. Log on to the EMR console.
    2. On the EMR on ACK page, find the cluster that you want to manage and click Configure in the Actions column.
  2. Modify configuration items.
    1. On the Configure tab, search for the configuration item that you want to modify.
    2. Find the configuration item and change its value.
  3. Save the modification.
    1. Click Save.
    2. In the Save dialog box, configure the Execution Reason parameter, turn on Automatically Update Configurations, and then click Save.
  4. Deploy the configuration items.
    1. In the lower part of the Configure tab, click Deploy Client Configuration.
    2. In the dialog box that appears, configure the Execution Reason parameter and click OK.
    3. In the Confirm message, click OK.
    Note The configuration items of Spark clusters are used as the default configurations when you submit Spark jobs. The default configurations take effect only on newly submitted jobs. The configurations of submitted jobs cannot be updated. If you use a custom resource definition (CRD) to submit a Spark job, the configurations in the YAML file take precedence over the default configurations. After you modify the configurations of Shuffle Service clusters, the configurations take effect only if you restart the components of the clusters. For more information, see Restart components of a cluster.

Add configuration items

  1. Go to the Configure tab.
    1. Log on to the EMR console.
    2. On the EMR on ACK page, find the cluster that you want to manage and click Configure in the Actions column.
  2. Add configuration items.
    1. On the Configure tab of the cluster details page, click the tab for configuration items that you want to use.
    2. On the Configure tab, click Add Configuration Item.
    3. In the Add Configuration Item dialog box, add configuration items as required and click OK.
      You can add multiple configuration items at a time. The following table describes the parameters to configure when you add a configuration item.
      ParameterDescription
      KeyThe name of the configuration item.
      ValueThe value of the configuration item.
      DescriptionThe description of the configuration item.
      ActionYou can click the Delete icon in this column to delete the configuration item.
    4. In the Save dialog box, configure the Execution Reason parameter, turn on Automatically Update Configurations, and then click Save.
  3. Deploy the configuration items.
    1. In the lower part of the Configure tab, click Deploy Client Configuration.
    2. In the dialog box that appears, configure the Execution Reason parameter and click OK.
    3. In the Confirm message, click OK.