This API will be disused soon.
Planned disuse time: 2025-08-27 15:22:23
Domain name for API request: emr.intl.tencentcloudapi.com.
This API is deprecated. Use DeployYarnConf to bring configurations into effect after deployment.
This API is used to bring configurations into effect after deployment. It has been deprecated. Use the DeployYarnConf API to bring configurations into effect after deployment.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: ModifyYarnDeploy. |
| Version | Yes | String | Common Params. The value used for this API: 2019-01-03. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | Cluster ID. |
| NewScheduler | Yes | String | Scheduler after switching. The values are fair and capacity. |
| OldScheduler | No | String | Currently used scheduler. The values are fair and capacity. |
| Parameter Name | Type | Description |
|---|---|---|
| IsDraft | Boolean | When the value is "false", both the "Apply" and "Reset" buttons are grayed out. |
| ErrorMsg | String | Error information. This field is reserved. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: emr.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyYarnDeploy
<Common request parameters>
{
"InstanceId": "emr-a903oah8",
"OldScheduler": "capacity",
"NewScheduler": "fair"
}{
"Response": {
"ErrorMsg": "ErrorMsg",
"IsDraft": false,
"RequestId": "d76bd103-947e-49f3-8485-e6aab28ecbbf"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| InternalError.CamCgwError | An error occurred while calling another service API. |
| InternalError.WoodServerError | An error occurred while calling another service API. |
| InvalidParameter | Invalid parameter. |
Feedback