All Products
Search
Document Center

E-MapReduce:Scale in a cluster

Last Updated:Apr 17, 2024

When large amounts of computing resources remain idle in your E-MapReduce (EMR) cluster, you can reduce the number of task nodes in the cluster.

Prerequisites

A cluster is created on the EMR on ECS page. For more information, see Create a cluster.

Limits

  • You can reduce the number of task nodes to scale in an EMR cluster. The cluster you want to scale in must meet the following requirements:

    • The EMR version of the cluster is V5.X later than V5.6.0 or V3.X later than V3.2.0.

    • The cluster is in the Running state.

    • The billing method of the task node group is Pay-As-You-Go or Preemptible Instance.

  • You can reduce the number of gateway nodes to scale in an EMR cluster. The cluster you want to scale in must meet the following requirements:

    • The EMR version of the cluster is V5.X later than V5.10.1.

    • The cluster is in the Running state.

    • The billing method of the gateway node group is Pay-As-You-Go.

  • For Hadoop clusters, you cannot scale out a node group that is created on the Auto Scaling tab. For more information, see Configure auto scaling (only for Hadoop clusters).

Procedure

  1. Go to the Nodes tab.

    1. Log on to the EMR console. In the left-side navigation pane, click EMR on ECS.

    2. In the top navigation bar, select the region in which your cluster resides and select a resource group based on your business requirements.

    3. On the EMR on ECS page, find the cluster that you want to scale out and click Nodes in the Actions column.

  2. On the Nodes tab, click Scale In in the Actions column of the node group that you want to scale in.

  3. In the Scale In dialog box, click the downward arrow for Reserved Quantity or enter a number in this field to reduce the number of task nodes.

  4. After you complete the configuration, click OK.

References

  • For information about how to reduce the number of core nodes or the number of subscription task nodes to scale in a cluster, follow the instructions described in Scale in a node group.

  • For information about FAQ related to cluster scale-in, see FAQ about cluster management.

  • For information about how to scale in a cluster by calling an API operation, see DecreaseNodes.