| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract EnumSet<NodeState> | GetClusterNodesRequest. getNodeStates()The state to filter the cluster nodes with. | 
| Modifier and Type | Method and Description | 
|---|---|
| static GetClusterNodesRequest | GetClusterNodesRequest. newInstance(EnumSet<NodeState> states) | 
| abstract void | GetClusterNodesRequest. setNodeStates(EnumSet<NodeState> states)The state to filter the cluster nodes with. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract NodeState | NodeReport. getNodeState()Get the  NodeStateof the node. | 
| static NodeState | NodeState. valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static NodeState[] | NodeState. values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
| Modifier and Type | Method and Description | 
|---|---|
| static NodeReport | NodeReport. newInstance(NodeId nodeId,
           NodeState nodeState,
           String httpAddress,
           String rackName,
           Resource used,
           Resource capability,
           int numContainers,
           String healthReport,
           long lastHealthReportTime) | 
| static NodeReport | NodeReport. newInstance(NodeId nodeId,
           NodeState nodeState,
           String httpAddress,
           String rackName,
           Resource used,
           Resource capability,
           int numContainers,
           String healthReport,
           long lastHealthReportTime,
           Set<String> nodeLabels,
           Integer decommissioningTimeout,
           NodeUpdateType nodeUpdateType) | 
| abstract void | NodeReport. setNodeState(NodeState nodeState) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.