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

java.lang.Object
  extended by 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)

Constructor Summary
GetClusterNodesResponse()
           
 
Method Summary
abstract  List<NodeReport> getNodeReports()
          Get NodeReport for all nodes in the cluster.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetClusterNodesResponse

public GetClusterNodesResponse()
Method Detail

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 © 2013 Apache Software Foundation. All Rights Reserved.