You can call ListClusterServiceConfigHistory operation to query the configuration modification history of a specified service of a cluster.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. You can use OpenAPI Explorer to search for API operations, call API operations, and dynamically generate SDK sample code.

Request parameters

Parameter Type Required Example Description
Action String Yes ListClusterServiceConfigHistory

The operation that you want to perform. This parameter is required for API requests that you create by piecing together HTTP or HTTPS URLs. Set the value to ListClusterServiceConfigHistory.

ClusterId String Yes C-F32FB31D8295****

The ID of the cluster. You can call ListClusters You can call this operation to view the ID of a cluster.

RegionId String Yes cn-hangzhou

The region ID of the instance. You can call DescribeRegions To view the latest list of Alibaba Cloud regions.

ServiceName String No TEZ

The name of the service. You can call ListClusterService View data on the Member Management page.

ConfigVersion String No 0

The version of the configuration file.

HostGroupId String No G-A5EA210E15FC****

The ID of the host group. You can call ListClusterHostGroup View the machine group ID.

HostInstanceId String No i-bp146tnrkq4tcso2****

The ID of the host.

ConfigFileName String No N/A

A reserved parameter.

ConfigItemKey String No N/A

A reserved parameter.

Author String No 111

The user who modified the configuration.

Comment String No This is

The description of the cluster.

PageNumber Integer No 1

The number of the page to return.

PageSize Integer No 100

The number of entries to return on each page.

Response parameters

Parameter Type Example Description
ConfigHistoryList Array of ConfigHistory

The configuration change histories of the specified service.

Applied Boolean true

Indicates whether the configuration takes effect. Valid values:

  • true: The setting takes effect.
  • false: does not take effect.
Author String 1111

The user who modified the configuration data.

Comment String modifyConfig

The comment about the modifications.

ConfigFileName String tez-site

The name of the configuration file.

ConfigItemName String

The name of the configuration parameter.

ConfigVersion String 1543320502944

The version of the configuration file. It is represented by the modification timestamp of the configuration file.

CreateTime Long 1543320503000

The time when the user modified the configuration data.

HostGroupId String G-A5EA210E15FC****

The ID of the host group.

HostGroupName String Master instance group

The name of host group N.

HostInstanceId String i-bp146tnrkq4tcso2****

The instance ID of the host. This is typically the ID of an ECS instance.

HostName String emr-header-1

The hostname of the server.

NewValue String 1280

The parameter value after modification.

OldValue String 640

The parameter value before modification.

ServiceName String TEZ

The name of the service.

PageNumber Integer 1

The page number of the returned page.

PageSize Integer 100

The number of entries returned on each page.

RequestId String DF202AC2-5D5D-4288-B608-B7B1595B5C7C

The ID of the request.

TotalCount Integer 30

The total number of entries returned.


Sample requests

&<common request parameters>

Sample responses

XML format


JSON Syntax