All Products
Search
Document Center

E-MapReduce:NodeGroup

Last Updated:Dec 02, 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 and PayAsYouGo.

Subscription
DataDisksarray

The data disks.

DataDiskDataDisk

The data disk.

SystemDiskSystemDisk

The system disk.

NodeGroupStatestring

The status of the node group.

RESIZING
AdditionalSecurityGroupIdsarray

The security group ID.

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 of the preemptible instances. The parameter takes effect only if the SpotStrategy parameter is set to SpotWithPriceLimit. Number of elements in the array: 0 to 100.

SpotBidPriceSpotBidPrice

The bid prices of the 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: No deployment sets are used.
  • CLUSTER: Deployment sets at the cluster level are used.
  • NODE_GROUP: Deployment sets at the node group level are used.

Default value: NONE.

NONE
PrivatePoolOptionsPrivatePoolOptions

The settings of the private pool that is associated with the node group.

Statusstring

The status of the node group.

CREATED