Help Center > > User Guide> Managing Active Clusters> Managing a Component> Configuring Service Parameters

Configuring Service Parameters

Updated at:Apr 28, 2020 GMT+08:00

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

Impact on the System

  • After the attributes of HBase, HDFS, Hive, Spark, Yarn, and MapReduce are configured, the client configuration files need to be downloaded and update.
  • The parameters of DBService cannot be modified if only one DBService role instance exists in the cluster.

Prerequisites

IAM user synchronization has been completed. (On the Dashboard tab page of the cluster details page, click on the right side of IAM User Sync to synchronize IAM users.)

Figure 1 IAM User Sync

Procedure

  • Modify a service.
    1. On the MRS cluster details page, click Components.
      Figure 2 Components

      For MRS 1.8.10 or earlier, follow instructions in Configuring Service Parameters.

    2. Select the target service from the service list.
    3. Click the Service Configuration tab.
    4. Set Type to All. All configuration parameters of the service are displayed in the navigation tree. The root nodes in the navigation tree represent the service names and role names.
    5. In the navigation tree, choose a parameter and change its value. You can also enter the parameter name in Search to search for it and view the result.

      You can click to restore a parameter value.

      You can also use host groups to change role instance configurations in batches. Choose a role name in Role, and then choose <select hosts> in Host. Enter a name in Host Group Name, select the target host from All Hosts and add it to Selected Hosts. Click OK to add it to the host group. The added host group can be selected from Host and is only valid on the current page. The page cannot be saved after being refreshed.

    6. Click Save Configuration, select Restart the affected services or instances, and click OK to restart the service.

      Click Finish when the system displays Operation succeeded. The service is successfully started.

      If you do not restart Yarn after upgrading its queue configuration, you can choose More > Refresh the queue on the Service Status page for the configuration to take effect.

  • Export service configuration parameters.
    1. On the MRS cluster details page, click Components.
      Figure 3 Components

      For MRS 1.8.10 or earlier, follow instructions in Configuring Service Parameters.

    2. Select a service.
    3. Click Service Configuration.
    4. Click Export Service Configuration. Select a path for saving the configuration files.
  • Import service configuration parameters.
    1. On the MRS cluster details page, click Components.
      Figure 4 Components

      For MRS 1.8.10 or earlier, follow instructions in Configuring Service Parameters.

    2. Select a service.
    3. Click Service Configuration.
    4. Click Import Service Configuration.
    5. Select the target configuration file.
    6. Click Save Configuration and select Restart the affected services or instances. Click OK.

      When Operation succeeded is displayed, click Finish. The service is started successfully.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel