Help Center/ MapReduce Service/ User Guide/ Managing Clusters/ Managing MRS Cluster Components/ Viewing the Modified Component Configuration Parameters of an MRS Cluster
Updated on 2024-09-23 GMT+08:00

Viewing the Modified Component Configuration Parameters of an MRS Cluster

MRS allows you to view the changes of service configuration parameters in a cluster with one click, helping you quickly locate faults and improve configuration management efficiency.

On the Manager page of the MRS 3.x cluster, you can easily see the non-initial default values for each service, non-unified values for the same role instance, historical records of cluster configuration changes, and expired configuration parameters in the cluster.

In MRS 3.x, O&M personnel can view environment variables and role configurations on Manager to quickly verify the accuracy of configuration items or access hidden configuration items.

Viewing the Modified Component Configuration Parameters

  1. Log in to the Manager page of the cluster.
  2. Choose Cluster > Configurations.
  3. Select an operation page based on the scenario.

    • View all non-default values.
      1. Click All Non-default Values. The system displays the parameters whose values are different from the default values configured for each service, role, or instance in the current cluster.

        You can click next to a parameter value to quickly restore the value to the default one. You can click to view the historical modification records of the parameter.

        If there are a large number of parameters to configure, you can filter the parameters in the filter box in the upper right corner of the page or enter keywords in the search box.

      2. To change the values of the parameters, change the values according to the parameter description and click Save. In the dialog box that is displayed, click OK.
    • View all non-uniform values.
      1. Click All Non-uniform Values. The system displays parameters with different role, service, instance group, or instance configurations in the current cluster.

        You can click next to a parameter value and view the differences in the dialog box that is displayed.

      2. To change the value of a parameter, click to cancel the configuration difference or manually adjust the parameter value, click OK, and then click Save. In the dialog box that is displayed, click OK.
    • View the expired configuration items.
      1. Click Expired Configurations. Expired configuration items in the current cluster are displayed.
      2. You can filter services using the service filter box in the upper part of the page to view expired configurations of different services. Alternatively, you can enter keywords in the search box.
      3. Expired configuration items do not take effect completely. Restart the services or instances whose configurations have expired in a timely manner.
    • View historical configuration records.
      1. Click Historical Configurations. The historical configuration change records of the current cluster are displayed. You can view details about parameter value changes, including the service to which the parameter belongs, parameter values before and after the modification, and parameter files.
      2. To restore a configuration change, click Restore Configuration in the Operation column of the target record. In the dialog box that is displayed, click OK.

        If the same configuration of the same service instance is modified for multiple times, the configuration can only be restored to the latest modification.

    Some configuration items take effect only after the corresponding services are restarted. After the configurations are saved, restart the services or instances whose configurations have expired in a timely manner.

Viewing the Role Instance Configuration File

  1. Log in to the cluster Manager.
  2. Choose Cluster > Services.
  3. On the page that is displayed, click Instances.
  4. Click the name of the target instance. In the Configuration File area on the Instance Status page, the configuration file list of the instance is displayed.

    Figure 1 Viewing the instance configuration file

  5. Click the name of the configuration file to be viewed to view the parameter values in the configuration file.

    To obtain the configuration file, download the configuration file to the local PC.

    If a node in the cluster is faulty, the configuration file cannot be viewed. Rectify the fault before viewing the configuration file again.