org.apache.hadoop.yarn.api.protocolrecords
Interface GetClusterNodesResponse

All Known Implementing Classes:
GetClusterNodesResponsePBImpl

@InterfaceAudience.Public
@InterfaceStability.Stable
public interface GetClusterNodesResponse

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, ClientRMProtocol.getClusterNodes(GetClusterNodesRequest)

Method Summary
 List<NodeReport> getNodeReports()
          Get NodeReport for all nodes in the cluster.
 void setNodeReports(List<NodeReport> nodeReports)
           
 

Method Detail

getNodeReports

@InterfaceAudience.Public
@InterfaceStability.Stable
List<NodeReport> getNodeReports()
Get NodeReport for all nodes in the cluster.

Returns:
NodeReport for all nodes in the cluster

setNodeReports

@InterfaceAudience.Private
@InterfaceStability.Unstable
void setNodeReports(List<NodeReport> nodeReports)


Copyright © 2012 Apache Software Foundation. All Rights Reserved.