You can call this operation to run the nodetool command in a specified data center.

Debugging

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 ExecuteNodeTool

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

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

The ID of the cluster.

Command String Yes settimeout misc

The command that follows nodetool.

DataCenterId String Yes cn-shanghai-f

The ID of the data center in the cluster.

Arguments String No 10056

The parameters that follow the nodetool command.

Response parameters

Parameter Type Example Description
RequestId String DCF0CD20-0F85-4FD2-8F75-73636D1331F7

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/? Action=ExecuteNodeTool
&ClusterId=cds-3872l6py****n4u1
&Command=settimeout misc
&DataCenterId=cn-shanghai-f
&<Common request parameters>

Sample success responses

XML format

<ExecuteNodeToolResponse>
  <RequestId>DCF0CD20-0F85-4FD2-8F75-73636D1331F7</RequestId>
</ExecuteNodeToolResponse>

JSON format

{
  "RequestId": "DCF0CD20-0F85-4FD2-8F75-73636D1331F7"
}

Error codes

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