All Products
Search
Document Center

E-MapReduce:NodeSelector

Last Updated:May 28, 2026

Parameter

Type

Description

Example

object

Specifies the criteria for selecting nodes.

NodeSelectType

string

The node selection type. Valid values:

  • CLUSTER: Selects all nodes in the cluster.

  • NODE_GROUP: Selects nodes by their node group.

  • NODE: Selects specific nodes by name.

CLUSTER

NodeNames

array

The names of the nodes to select. This parameter applies only when NodeSelectType is set to NODE.

["core1-1"]

string

A node name.

master-1-1

NodeGroupId

string

Note

This parameter is deprecated. Use NodeGroupIds instead.

ng-869471354ecd****

NodeGroupIds

array

The IDs of the node groups to select.

string

The ID of a node group.

ng-869471354ecd****

NodeGroupTypes

array

The types of node groups to select. This parameter applies only when NodeSelectType is set to NODE_GROUP and NodeGroupIds is not specified. The array can contain up to 10 elements.

["CORE","TASK"]

string

The node group type. Valid values:

  • MASTER: The master node group.

  • CORE: The core node group.

  • TASK: The task node group.

MASTER

NodeGroupName

string

Note

This parameter is deprecated. Use NodeGroupNames instead.

master-1

NodeGroupNames

array

The names of the node groups to select.

string

The name of a node group.

master-1