@InterfaceAudience.Public @InterfaceStability.Stable public interface NodeReport
NodeReport is a summary of runtime information of a
node in the cluster.
It includes details such as:
NodeId of the node.Resource on the node.Resource of the node.NodeHealthStatus of the node.| Modifier and Type | Method and Description |
|---|---|
Resource |
getCapability()
Get the total
Resource on the node. |
String |
getHttpAddress()
Get the http address of the node.
|
NodeHealthStatus |
getNodeHealthStatus()
Get the
NodeHealthStatus of the node. |
NodeId |
getNodeId()
Get the
NodeId of the node. |
org.apache.hadoop.yarn.api.records.NodeState |
getNodeState()
Get the
NodeState of the node. |
int |
getNumContainers()
Get the number of running containers on the node.
|
String |
getRackName()
Get the rack name for the node.
|
Resource |
getUsed()
Get used
Resource on the node. |
org.apache.hadoop.yarn.api.records.NodeState getNodeState()
NodeState of the node.NodeState of the node@InterfaceAudience.Public @InterfaceStability.Stable String getHttpAddress()
@InterfaceAudience.Public @InterfaceStability.Stable String getRackName()
@InterfaceAudience.Public @InterfaceStability.Stable Resource getUsed()
Resource on the node.Resource on the node@InterfaceAudience.Public @InterfaceStability.Stable Resource getCapability()
Resource on the node.Resource on the node@InterfaceAudience.Public @InterfaceStability.Stable int getNumContainers()
@InterfaceAudience.Public @InterfaceStability.Stable NodeHealthStatus getNodeHealthStatus()
NodeHealthStatus of the node.NodeHealthStatus of the nodeCopyright © 2013 Apache Software Foundation. All Rights Reserved.