All Products
Search
Document Center

E-MapReduce:ScalingRule

Last Updated:May 14, 2025
ParameterTypeDescriptionExample
object

The configurations of the scaling rule.

TriggerTypestring

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

  • TIME_TRIGGER: time-based scaling.
  • METRICS_TRIGGER: load-based scaling.
TIME_TRIGGER
MetricsTriggerMetricsTrigger

The description of load-based scaling.

AdjustmentValueinteger

The adjustment value of the scaling rule. This parameter is required. The parameter value must be a positive integer, which indicates the number of instances that you want to add or remove.

200
TimeTriggerTimeTrigger

The description of time-based scaling.

ActivityTypestring

The scaling type. This parameter is required. Valid values:

  • SCALE_OUT
  • SCALE_IN
SCALE_IN
MinAdjustmentValueinteger

The minimum number of instances that must be added in a scale-out activity.

1
RuleNamestring

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

scalingByYarnMemory