All Products
Search
Document Center

E-MapReduce:TriggerCondition

Last Updated:Dec 12, 2024
ParameterTypeDescriptionExample
object
MetricNamestring

The name of the metric. This parameter is required and cannot be an empty string. You can view the metric name in Add Auto Scaling Rules.

yarn_resourcemanager_queue_PendingVCores
Tagsarray

The tags for the metrics of a partition. This parameter is available for only metrics that contain ByPartition. For other metrics, leave this parameter empty.

TagTag
Statisticsstring

The name of the statistic. This parameter is required. Valid values:

  • MAX
  • MIN
  • AVG
AVG
ComparisonOperatorstring

The comparison operator. This parameter is required. Valid values:

  • EQ: equal to
  • NE: not equal to
  • GT: greater than
  • LT: less than
  • GE: greater than or equal to
  • LE: less than or equal to
LT
Thresholddouble

The trigger threshold. This parameter is required.

12.5