Retrieves the running information about a single command, including the running result.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeNodeToolExecutionHistory |
The operation that you want to perform. Set the value to DescribeNodeToolExecutionHistory. |
ClusterId | String | Yes | cds-t4n98w89z77***** |
The ID of the cluster. |
DcId | String | Yes | ap-southeast-1a |
The ID of the data center. You can obtain the data center ID by using DescribeDataCenters. |
JobId | String | Yes | job-y0edwqo993m***** |
The ID of a specific run job. You can obtain this ID by using DescribeNodeToolExecutionHistories. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Arguments | String | ap-southeast-1a |
The parameter of the nodetool command. |
Command | String | status |
The nodetool command. |
CreateTime | Long | 1603103307000 |
The time when the job was created. |
DataCenterId | String | ap-southeast-1a |
The ID of the data center in the cluster. |
ErrorMessage | String | Error: The keyspace ap-southeast-1a, does not exist |
The detailed error message that appears if an error occurs. |
IsEnded | Boolean | true |
Indicates whether the command is complete. Valid value: true or false. |
JobId | String | job-y0edwqo993m***** |
The ID of the job that was run. |
ModifyTime | Long | 1603103312000 |
The time when the running was complete. |
Nodes | String | core-1 |
The name of the node for running. |
RegionId | String | ap-southeast-1 |
The ID of the region. |
RequestId | String | 94D5E0BE-F383-4BBB-B768-7FA3414E95A3 |
The ID of the request. |
Result | String | result |
The command running result. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DescribeNodeToolExecutionHistory
&ClusterId=cds-t4n98w89z77*****
&DcId=ap-southeast-1a
&JobId=job-y0edwqo993m*****
&<Common request parameters>
Sample success responses
XML
format
<ModifyTime>1603103312000</ModifyTime>
<DataCenterId>ap-southeast-1a</DataCenterId>
<RequestId>94D5E0BE-F383-4BBB-B768-7FA3414E95A3</RequestId>
<CreateTime>1603103307000</CreateTime>
<Arguments>ap-southeast-1a</Arguments>
<Nodes>core-1</Nodes>
<Result>result</Result>
<IsEnded>true</IsEnded>
<Command>status</Command>
<RegionId>ap-southeast-1</RegionId>
<ErrorMessage>Error: The keyspace ap-southeast-1a, does not exist</ErrorMessage>
<JobId>job-y0edwqo993m*****</JobId>
JSON
format
{"ModifyTime":"1603103312000","DataCenterId":"ap-southeast-1a","RequestId":"94D5E0BE-F383-4BBB-B768-7FA3414E95A3","CreateTime":"1603103307000","Arguments":"ap-southeast-1a","Nodes":"core-1","Result":"result","IsEnded":"true","Command":"status","RegionId":"ap-southeast-1","ErrorMessage":"Error: The keyspace ap-southeast-1a, does not exist","JobId":"job-y0edwqo993m*****"}
Error codes
For a list of error codes, visit the API Error Center.