All Products
Search
Document Center

E-MapReduce:NodeGroup

Last Updated:Sep 24, 2024
ParameterTypeDescriptionExample
object

The node group.

ZoneIdstring

The zone ID.

cn-hangzhou
NodeGroupIdstring

The node group ID.

ng-869471354ecd****
NodeGroupNamestring

The name of the node group.

core-1
NodeGroupTypestring

The type of the node group. Valid values:

  • MASTER
  • CORE
  • TASK
  • GATEWAY This parameter is invalid for DataLake, OLAP, and DataServing clusters.
MASTER
RunningNodeCountinteger

The number of active nodes.

3
InstanceTypesarray

The instance types.

Stringstring

The instance type.

ecs.g7.2xlarge
PaymentTypestring

The billing method. Valid values: Subscription PayAsYouGo

Subscription
DataDisksarray

The data disks.

DataDiskDataDisk

The data disk.

SystemDiskSystemDisk

The system disk.

NodeGroupStatestring

The status of the node group.

RESIZING
Statusstring

The status of the node group. This parameter is the alias of the NodeGroupState parameter.

CREATED
AdditionalSecurityGroupIdsarray

The security group IDs.

Stringstring
WithPublicIpboolean

Indicates whether a public IP address is assigned.

true
VSwitchIdsarray

The vSwitch IDs.

Stringstring

The vSwitch ID.

vsw-bp1opd2qejvhsabfe****
SpotStrategystring

The usage policy of the spot instance. Valid values:

  • NoSpot: No spot instances are used.
  • SpotWithPriceLimit: Spot instances with a custom maximum price are used.
  • SpotAsPriceGo: Spot instances are used. The system automatically adjusts the upper limit of the price. The maximum price does not exceed the price of a pay-as-you-go instance.

Default value: NoSpot.

NoSpot
SpotBidPricesarray

The bid prices for preemptible instances. The parameter takes effect only when the SpotStrategy parameter is set to SpotWithPriceLimit. Number of elements in the array: 0 to 100.

SpotBidPriceSpotBidPrice

The bid prices for preemptible instances.

StateChangeReasonNodeGroupStateChangeReason

The reason of the status change.

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

Indicates whether graceful shutdown is enabled for services in the node group. Valid values:

  • true
  • false
false
SpotInstanceRemedyboolean

Indicates whether preemptible instances are supplemented. If you set this parameter to true, the system attempts to create another instance in the scaling group when the system notifies that an existing preemptible instance is about to be reclaimed. Valid values:

  • true
  • false

Default value: false.

false
NodeResizeStrategystring
  • COST_OPTIMIZED
  • PRIORITY
PRIORITY
CostOptimizedConfigCostOptimizedConfig

The configurations of the cost optimization policy.

DeploymentSetStrategystring

The deployment set policy. Valid values:

  • NONE: uses no deployment sets.
  • CLUSTER: uses deployment sets at the cluster level.
  • NODE_GROUP: uses deployment sets at the node group level.

Default value: NONE.

NONE