Example usage for Java org.apache.hadoop.yarn.api.records NodeReport fields, constructors, methods, implement or subclass
The text is from its open source code.
Resource | getCapability() Get the total Resource on the node. |
String | getHealthReport() Get the diagnostic health report of the node. |
String | getHttpAddress() Get the http address of the node. |
long | getLastHealthReportTime() Get the last timestamp at which the health report was received. |
NodeId | getNodeId() Get the NodeId of the node. |
Set | getNodeLabels() Get labels of this node. |
NodeState | getNodeState() Get the NodeState of the node. |
int | getNumContainers() Get the number of allocated containers on the node. |
String | getRackName() Get the rack name for the node. |
Resource | getUsed() Get used Resource on the node. |
NodeReport | newInstance(NodeId nodeId, NodeState nodeState, String httpAddress, String rackName, Resource used, Resource capability, int numContainers, String healthReport, long lastHealthReportTime) |
void | setNodeId(NodeId nodeId) |