E-MapReduce (EMR) allows you to modify and add configuration items for services such as HDFS, YARN, and Spark in the EMR console. This topic describes how to modify and add configuration items in the EMR console.

Prerequisites

An EMR cluster is created. For more information, see Create a cluster.

Modify configuration items

  1. Go to the Configure tab of a service.
    1. Log on to the EMR on ECS console.
    2. In the top navigation bar, select the region where your cluster resides and select a resource group based on your business requirements.
    3. On the EMR on ECS page, find the desired cluster and click Services in the Actions column.
    4. On the Services tab, find the desired service and click Configure.
  2. Modify configuration items.
    1. In the search box, enter the name of the configuration item that you want to modify and click the search icon.
    2. Change the value of the configuration item.
  3. Save the configurations.
    1. On the Configure tab, click Save.
    2. In the dialog box that appears, configure the Execution Reason parameter and click Save.
  4. Make the configurations take effect.
    To allow the modifications to take effect, perform the following operations based on the type of the configuration item you modified:
    • Client-side configurations
      1. After you modify client-side configurations, click Deploy Client Configuration next to Save in the lower part of the page.
      2. In the dialog box that appears, configure the Execution Reason parameter and click OK.
      3. In the Confirm message, click OK.
    • Server-side configurations
      1. After you modify server-side configurations, choose More > RESTART in the upper-right corner of the Configure tab.
      2. In the dialog box that appears, configure the Execution Reason parameter and click OK.
      3. In the Confirm message, click OK.

Add configuration items

  1. Go to the Configure tab of a service.
    1. Log on to the EMR on ECS console.
    2. In the top navigation bar, select the region where your cluster resides and select a resource group based on your business requirements.
    3. On the EMR on ECS page, find the desired cluster and click Services in the Actions column.
    4. On the Services tab, find the desired service and click Configure.
  2. Add configuration items.
    1. Click the tab on which you want to add configuration items.
    2. Click Add Configuration Item.
    3. Add configuration items based on your business requirements.
      You can add multiple configuration items at the same time.
      Configuration itemDescription
      KeyThe name of the configuration item.
      ValueThe value of the configuration item.
      DescriptionThe description of the configuration item.
      ActionsYou can remove configuration items.
    4. Click OK.
    5. In the dialog box that appears, configure the Execution Reason parameter and click Save.
  3. Make the configurations take effect.
    To allow the modifications to take effect, perform the following operations based on the type of the configuration item you modified:
    • Client-side configurations
      1. After you modify client-side configurations, click Deploy Client Configuration next to Save in the lower part of the page.
      2. In the dialog box that appears, configure the Execution Reason parameter and click OK.
      3. In the Confirm message, click OK.
    • Server-side configurations
      1. After you modify server-side configurations, choose More > RESTART in the upper-right corner of the Configure tab.
      2. In the dialog box that appears, configure the Execution Reason parameter and click OK.
      3. In the Confirm message, click OK.