org.apache.hadoop.yarn.api.protocolrecords
Class GetClusterNodesRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodesRequest
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class GetClusterNodesRequest
- extends Object
The request from clients to get a report of all nodes
in the cluster from the ResourceManager
.
The request will ask for all nodes in the given NodeState
s.
- See Also:
ApplicationClientProtocol.getClusterNodes(GetClusterNodesRequest)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetClusterNodesRequest
public GetClusterNodesRequest()
newInstance
@InterfaceAudience.Public
@InterfaceStability.Stable
public static GetClusterNodesRequest newInstance(EnumSet<NodeState> states)
newInstance
@InterfaceAudience.Public
@InterfaceStability.Stable
public static GetClusterNodesRequest newInstance()
getNodeStates
public abstract EnumSet<NodeState> getNodeStates()
- The state to filter the cluster nodes with.
setNodeStates
public abstract void setNodeStates(EnumSet<NodeState> states)
- The state to filter the cluster nodes with.
Copyright © 2014 Apache Software Foundation. All Rights Reserved.