You can call this operation to query the execution history of the nodetool command by page.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeNodeToolExecutionHistories

The operation that you want to perform. Set the value to DescribeNodeToolExecutionHistories.

ClusterId String Yes cds-3872l6py****n9ul

The ID of the ApsaraDB for Cassandra cluster.

PageNumber Integer No 1

The number of the page to return. Valid values: any positive integer.

Default value: 1.

PageSize Integer No 10

The number of the entries to return on each page.

Response parameters

Parameter Type Example Description
Histories Array

The execution history of the nodetool command.

Arguments String 10093

The parameters that follow the nodetool command.

Command String settimeout misc

The command that follows nodetool.

CreateTime Long 1576725956000

The time when the cluster was created.

DataCenterId String cn-shanghai-f

The ID of the data center in the cluster.

ErrorMessage String See \"nodetool help\" or \"nodetool help

The detailed error message that appears if an error occurs.

IsEnded Boolean true

Indicates whether the nodetool execution is complete. Valid values: true and false.

JobId String job-C3zcrKtZ****qapO

The ID of the job that was executed. job-xxxx

ModifyTime Long 1576725689000

The modification time.

Nodes String core-1,core-2

The nodes where jobs are executed.

RegionId String cn-shanghai

The ID of the region.

PageNumber Integer 1

The page number of the returned page. Valid values: any positive integer.

Default value: 1.

PageSize Integer 10

The number of entries returned per page.

RequestId String FDC6EF03-8B7D-470D-AB81-BD9C9713A9E3

The ID of the request.

TotalCount Long 2

The total number of entries returned.


Sample requests

http(s)://[Endpoint]/? Action=DescribeNodeToolExecutionHistories
&<Common request parameters>

Sample success responses

XML format

              <Command>settimeout misc</Command>
              <Command>settimeout misc</Command>

JSON format

  "TotalCount": 2,
  "PageSize": 10,
  "RequestId": "FDC6EF03-8B7D-470D-AB81-BD9C9713A9E3",
  "PageNumber": 1,
  "Histories": {
    "History": [
        "ModifyTime": "1576725953000",
        "DataCenterId": "cn-shanghai-f",
        "Command": "settimeout misc",
        "CreateTime": "1576725956000",
        "Arguments": "10093",
        "RegionId": "cn-shanghai",
        "JobId": "job-0XDBTwhO****FikQ",
        "IsEnded": true,
        "Nodes": "core-1,core-2"
        "ModifyTime": "1576725689000",
        "DataCenterId": "cn-shanghai-f",
        "Command": "settimeout misc",
        "CreateTime": "1576725692000",
        "Arguments": "10039",
        "RegionId": "cn-shanghai",
        "JobId": "job-C3zcrKtZijSyqapO",
        "IsEnded": true,
        "Nodes": "core-1,core-2"

Error codes

For a list of error codes, visit the API Error Center.