All Products
Search
Document Center

E-MapReduce:NodeGroup

Last Updated:May 28, 2026

Parameter

Type

Description

Example

object

The node group.

ZoneId

string

The zone ID.

cn-hangzhou

NodeGroupId

string

The node group ID.

ng-869471354ecd****

NodeGroupName

string

The node group name.

core-1

NodeGroupType

string

The type of the node group. Valid values:

  • MASTER: A master node.

  • CORE: A core node.

  • TASK: A task node.

  • GATEWAY: A gateway node. This value is not applicable to DATALAKE, OLAP, or DATASERVING clusters.

MASTER

RunningNodeCount

integer

The number of running nodes.

3

InstanceTypes

array

The instance types.

["ecs.g6.4xlarge"]

string

The instance type.

ecs.g7.2xlarge

PaymentType

string

The payment type. Valid values are Subscription for the subscription billing method and PayAsYouGo for the Pay-As-You-Go billing method.

Subscription

DataDisks

array

The data disks.

DataDisk

The data disk.

SystemDisk SystemDisk

The system disk.

NodeGroupState

string

The state of the node group.

RESIZING

AdditionalSecurityGroupIds

array

The additional security group IDs.

["sg-hp3abbae8lb6lmb1****"]

string

WithPublicIp

boolean

Specifies whether to assign a public IP address.

true

VSwitchIds

array

The VSwitch IDs.

["vsw-hp35g7ya5ymw68mmg****"]

string

The VSwitch ID.

vsw-bp1opd2qejvhsabfe****

SpotStrategy

string

The policy for using spot instances. Valid values:

  • NoSpot: No spot instances are used.

  • SpotWithPriceLimit: Spot instances are created with a user-defined maximum bid price.

  • SpotAsPriceGo: The system automatically bids for spot instances. The bid price does not exceed the price of a Pay-As-You-Go instance.

Default: NoSpot.

NoSpot

SpotBidPrices

array

The bid prices for the spot instances. This parameter is effective only when SpotStrategy is set to SpotWithPriceLimit. The array can contain 0 to 100 elements.

SpotBidPrice

The bid price for a spot instance.

StateChangeReason NodeGroupStateChangeReason

The reason for the state change.

Specifies whether to enable graceful shutdown for components in the node group. Valid values: * true * false: does not enable graceful disconnection.

MinimalNodeCount

integer

The minimum number of instances in the node group.

0

MaximalNodeCount

integer

The maximum number of instances in the node group.

200

GracefulShutdown

boolean

Specifies whether to enable graceful shutdown for components deployed in the node group. Valid values:

  • true: Enables graceful shutdown.

  • false: Disables graceful shutdown.

false

SpotInstanceRemedy

boolean

Specifies whether to enable spot instance remedy. If enabled, the scaling group attempts to create a new instance to replace a spot instance that is about to be reclaimed. Valid values:

  • true: Enables spot instance remedy.

  • false: Disables spot instance remedy.

Default: false.

false

CompensateWithOnDemand

boolean

Applies only when NodeResizeStrategy is set to COST_OPTIMIZED. If set to true, the system creates Pay-As-You-Go instances to meet the target capacity if it fails to create enough spot instances due to price or inventory constraints.

true

NodeResizeStrategy

string

  • COST_OPTIMIZED: The cost-optimized strategy.

  • PRIORITY: The priority-based strategy.

PRIORITY

CostOptimizedConfig CostOptimizedConfig

The configurations of the cost-optimized mode.

DeploymentSetStrategy

string

The Deployment Set strategy. Valid values:

  • NONE: Does not use a Deployment Set.

  • CLUSTER: Uses a cluster-level Deployment Set.

  • NODE_GROUP: Uses a node group-level Deployment Set.

Default: NONE.

NONE

AutoCompensateState

boolean

Specifies whether to enable auto-compensation. Valid values:

  • true: Enables auto-compensation.

  • false: Disables auto-compensation.

Default: false.

false

ExtraAttributes

object

Additional attributes for the node group. For internal console use only.

{}

string

The attribute value.

true

AckConfig

AckConfig

The configurations for ACK.

IaaSType

string

The Infrastructure as a Service (IaaS) type of the node group. Valid values:

  • ECS

  • ACK

PrivatePoolOptions PrivatePoolOptions

The private pool options.

Status

string

The node group state.

CREATED