Resize a cluster

Last Updated: Mar 29, 2017

Resize a cluster.

Request parameters

Field Type Required? Default Value Description
ClusterId String Yes None The ID of the cluster to be resized.
RegionId String Yes None The region ID of the cluster.
NewMasterInstances Integer Yes None The number of the master nodes in the cluster after adjustment.
NewCoreInstances Integer Yes None The number of the core nodes in the cluster after adjustment.
NewTaskInstances Integer Yes None Reserved field. Always fill in 0.

Returned parameters

Public return parameters.

Example

Request example

  1. https://emr.aliyuncs.com/?Action=ResizeCluster
  2. &NewMasterInstances=1
  3. &NewCoreInstances=3
  4. &NewTaskInstances=0
  5. &ClusterId=500003112
  6. &RegionId=cn-hangzhou
  7. &Public request parameters

Returned format

JSON format

  1. {
  2. "RequestId": "34B08619-2636-49F9-AB4E-CD8D347B1E07"
  3. }
Thank you! We've received your feedback.