org.apache.hadoop.yarn.api.protocolrecords
Class GetClusterNodesResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodesResponse
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class GetClusterNodesResponse
- extends Object
The response sent by the ResourceManager
to a client
requesting a NodeReport
for all nodes.
The NodeReport
contains per-node information such as
available resources, number of containers, tracking url, rack name, health
status etc.
- See Also:
NodeReport
,
ApplicationClientProtocol.getClusterNodes(GetClusterNodesRequest)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetClusterNodesResponse
public GetClusterNodesResponse()
getNodeReports
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract List<NodeReport> getNodeReports()
- Get
NodeReport
for all nodes in the cluster.
- Returns:
NodeReport
for all nodes in the cluster
Copyright © 2014 Apache Software Foundation. All Rights Reserved.