Package | Description |
---|---|
org.apache.hadoop.yarn.api.protocolrecords |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
org.apache.hadoop.yarn.api.records |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
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
NodeState of 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 © 2025 Apache Software Foundation. All rights reserved.