When computing resources on your E-MapReduce (EMR) cluster are underutilized, you can scale in by reducing the number of task or gateway nodes.
Prerequisites
An EMR on ECS cluster has been created. For more information, see Create a cluster.
Limitations
-
Task node scale-in requires all of the following conditions:
-
The E-MapReduce version is later than 5.6.0 for the 5.x series or later than 3.2.0 for the 3.x series.
-
The cluster is in the Running state.
-
The billing method for the task node group is Pay-As-You-Go or Preemptible Instance.
-
-
Gateway node scale-in requires all of the following conditions:
-
The E-MapReduce version is later than 5.10.1 for the 5.x series.
-
The cluster is in the Running state.
-
The billing method for the gateway node group is Pay-As-You-Go.
-
-
You cannot use this manual scale-in method for node groups managed by the Auto Scaling feature in Hadoop clusters. For more information, see Configure Auto Scaling (Hadoop clusters only).
Procedure
-
Go to the node management page.
-
Log on to the EMR console.
-
In the top navigation bar, select a region and a resource group as needed.
-
In the Actions column of the target cluster, click Nodes.
-
-
On the Nodes page, find the target node group and click Scale In in the Actions column.
-
In the Scale In dialog box, specify the number of nodes to retain by using the arrows or entering the value directly.
-
Click OK.
Related documentation
-
To scale in a core node group, see Manually scale in a node group.
-
For common questions about scaling in clusters, see Cluster Management FAQ.
-
To scale in a cluster via API, see DecreaseNodes.