All Products
Search
Document Center

E-MapReduce:ScalingRule

Last Updated:Dec 01, 2025

Parameter

Type

Description

Example

object

The configurations of the scaling rule.

RuleName

string

The name of the rule. This parameter is required and cannot be an empty string.

scalingByYarnMemory

TriggerType

string

The type of the scaling rule. This parameter is required. Valid values:

  • TIME_TRIGGER: time-based scaling.

  • METRICS_TRIGGER: load-based scaling.

TIME_TRIGGER

ActivityType

string

The type of the scaling activity. This parameter is required. Valid values:

  • SCALE_OUT: scale-out.

  • SCALE_IN: scale-in.

SCALE_IN

AdjustmentType

string

The adjustment method of the scaling rule. This parameter applies to simple scaling rules and step scaling rules. Valid values:

  • CHANGE_IN_CAPACITY: Changes the capacity by a specified number of instances.

  • EXACT_CAPACITY: Adjusts the capacity to a specified number of instances.

CHANGE_IN_CAPACITY

AdjustmentValue

integer

The adjustment value. This parameter is required and must be a positive integer. It specifies the number of instances to add for a scale-out activity or remove for a scale-in activity.

100

TimeTrigger TimeTrigger

The configurations for time-based scaling.

MetricsTrigger MetricsTrigger

The configurations for load-based scaling.

MinAdjustmentValue

integer

The minimum number of instances to add during a scale-out activity.

1

CollationTimeZone CollationTimeZone