Updated on 2024-09-23 GMT+08:00

Modifying MRS Role Instance Parameters

Configuration parameters of each role instance can be modified. In the scenario where instances are migrated to a new cluster or the service is redeployed, the cluster administrator can import or export all configuration data of a service to quickly copy configuration results.

Making changes to configuration parameters, exporting instance configurations, or importing instance configurations will not impact other instances.

Impact on the System

  • After modifying the configuration of a role instance, you need to restart the instance if the instance status is Expired. The role instance is unavailable during restart.
  • You need to download and update the client configuration files after configuring HBase, HDFS, Hive, Spark, YARN, and MapReduce service properties.

Prerequisites

  • The IAM users have been synchronized in advance. You can do this by clicking Synchronize next to IAM User Sync on the Dashboard page of the cluster details.
  • You have logged in to MRS Manager. For how to log in, see Accessing MRS Manager.

Modifying Instance Parameters on the Console

  1. Log in to the MRS console and click the name of the target cluster.
  2. On the MRS cluster details page, click Components.
  3. Select the target service from the service list.
  4. Click the Instances tab.
  5. Click the target role instance from the role instance list.
  6. Click the Instance Configuration tab.
  7. Switch Basic to All from the drop-down list on the right of the page. All configuration parameters of the role instance are displayed in the navigation tree.
  8. 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.

  9. Click Save Configuration and operate as prompted.

Modifying Instance Parameters on Manager

  1. Log in to Manager and choose Cluster > Services.

    For MRS 2.x and earlier versions, click Services.

  2. Click the specified service name and click Instances.
  3. Click the specified instance and select Instance Configuration.

    By default, Basic Configuration is displayed. To modify more parameters, click All Configurations. All parameter categories supported by the instance are displayed on the All Configurations page.

  4. In the navigation tree, select the specified parameter category and change the parameter values on the right.

    Enter the name of a parameter in the upper right corner to search for it. Search results are displayed on Manager in real-time.

  5. Click Save. In the confirmation dialog box, click OK.

    For MRS 2.x and earlier versions, click Save Configuration, select Restart the role instance, and click OK to restart the role instance.

    Wait until the message "Operation succeeded" is displayed. Click Finish. The configuration is modified.

    • After the configuration parameters of a role instance are modified, you need to restart the instance if the instance status is Expired. You can select the expired instance on the Instances page and choose More > Restart Instance.
    • If is displayed before a parameter, this parameter takes effect dynamically. After the configuration is saved, the parameter value is automatically updated to the configuration file. is supported only in MRS 3.2.0 or later.