Class GetClusterNodesResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<NodeReport>GetNodeReportfor all nodes in the cluster.static GetClusterNodesResponsenewInstance(List<NodeReport> nodeReports) abstract voidsetNodeReports(List<NodeReport> nodeReports)
-
Constructor Details
-
GetClusterNodesResponse
public GetClusterNodesResponse()
-
-
Method Details
-
newInstance
-
getNodeReports
GetNodeReportfor all nodes in the cluster.- Returns:
NodeReportfor all nodes in the cluster
-
setNodeReports
-