| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.api.protocolrecords | |
| org.apache.hadoop.yarn.api.records | |
| org.apache.hadoop.yarn.client.api | 
| 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 | 
|---|---|
| abstract List<NodeReport> | YarnClient. getNodeReports(NodeState... states)
 Get a report of nodes ( NodeReport) in the cluster. | 
Copyright © 2023 Apache Software Foundation. All rights reserved.