|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RMNode
Node managers information on available resources and other static information.
Method Summary | |
---|---|
List<org.apache.hadoop.yarn.api.records.ApplicationId> |
getAppsToCleanup()
|
int |
getCommandPort()
the command port for this node |
List<org.apache.hadoop.yarn.api.records.ContainerId> |
getContainersToCleanUp()
|
String |
getHealthReport()
the latest health report received from this node. |
String |
getHostName()
the hostname of this node |
String |
getHttpAddress()
the http-Address for this node. |
int |
getHttpPort()
the http port for this node |
long |
getLastHealthReportTime()
the time of the latest health report received from this node. |
org.apache.hadoop.yarn.server.api.protocolrecords.NodeHeartbeatResponse |
getLastNodeHeartBeatResponse()
|
org.apache.hadoop.net.Node |
getNode()
the Node information for this node. |
String |
getNodeAddress()
the ContainerManager address for this node. |
org.apache.hadoop.yarn.api.records.NodeId |
getNodeID()
the node id of of this node. |
String |
getRackName()
The rack name for this node manager. |
org.apache.hadoop.yarn.api.records.NodeState |
getState()
|
org.apache.hadoop.yarn.api.records.Resource |
getTotalCapability()
the total available resource. |
List<UpdatedContainerInfo> |
pullContainerUpdates()
Get and clear the list of containerUpdates accumulated across NM heartbeats. |
void |
updateNodeHeartbeatResponseForCleanup(org.apache.hadoop.yarn.server.api.protocolrecords.NodeHeartbeatResponse response)
Update a NodeHeartbeatResponse with the list of containers and
applications to clean up for this node. |
Method Detail |
---|
org.apache.hadoop.yarn.api.records.NodeId getNodeID()
String getHostName()
int getCommandPort()
int getHttpPort()
String getNodeAddress()
String getHttpAddress()
String getHealthReport()
long getLastHealthReportTime()
org.apache.hadoop.yarn.api.records.Resource getTotalCapability()
String getRackName()
org.apache.hadoop.net.Node getNode()
Node
information for this node.
Node
information for this node.org.apache.hadoop.yarn.api.records.NodeState getState()
List<org.apache.hadoop.yarn.api.records.ContainerId> getContainersToCleanUp()
List<org.apache.hadoop.yarn.api.records.ApplicationId> getAppsToCleanup()
void updateNodeHeartbeatResponseForCleanup(org.apache.hadoop.yarn.server.api.protocolrecords.NodeHeartbeatResponse response)
NodeHeartbeatResponse
with the list of containers and
applications to clean up for this node.
response
- the NodeHeartbeatResponse
to updateorg.apache.hadoop.yarn.server.api.protocolrecords.NodeHeartbeatResponse getLastNodeHeartBeatResponse()
List<UpdatedContainerInfo> pullContainerUpdates()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |