Updated on 2023-05-15 GMT+08:00

Configuring Service Parameters

On the MRS console, you can view and modify the default service configurations based on site requirements and export or import the configurations.

Impact on the System

  • You need to download and update the client configuration files after configuring HBase, HDFS, Hive, Spark, Yarn, and MapReduce service properties.
  • The parameters of DBService cannot be modified when only one DBService role instance exists in the cluster.

Prerequisites

You have synchronized IAM users. (On the Dashboard page, click Synchronize on the right side of IAM User Sync to synchronize IAM users.)

Figure 1 Synchronizing IAM users

Modifying Service Parameters

  1. On the MRS cluster details page, click Components.
    Figure 2 Components tab page (using MRS 1.9.2 as an example)
  2. Select the target service from the service list.
  3. Click Service Configuration.
  4. Switch Basic to All. All configuration parameters of the service are displayed in the navigation tree. The service name and role names are displayed from upper to lower in the navigation tree.
  5. In the navigation tree, select a specified parameter and change its value. You can also enter the parameter name in the Search box to search for the parameter and view the result.

    If you want to cancel the modification of a parameter value, click to restore it.

  6. Click Save Configuration, save the parameters as prompted, and restart the service.

    In versions earlier than MRS 3.x, to update the queue configuration of YARN without restarting the service, choose More > Refresh Queue on the Service Status tab page.