|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@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.
NodeHealthStatus
,
ClientRMProtocol.getClusterNodes(org.apache.hadoop.yarn.api.protocolrecords.GetClusterNodesRequest)
Method Summary | |
---|---|
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. |
Method Detail |
---|
NodeId getNodeId()
NodeId
of the node.
NodeId
of the nodeorg.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 node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |