|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.yarn.server.resourcemanager.rmnode.RMNodeImpl
@InterfaceAudience.Private @InterfaceStability.Unstable public class RMNodeImpl
This class is used to keep track of all the applications/containers running on a node.
| Nested Class Summary | |
|---|---|
static class |
RMNodeImpl.AddNodeTransition
|
static class |
RMNodeImpl.CleanUpAppTransition
|
static class |
RMNodeImpl.CleanUpContainerTransition
|
static class |
RMNodeImpl.DeactivateNodeTransition
|
static class |
RMNodeImpl.StatusUpdateWhenHealthyTransition
|
static class |
RMNodeImpl.StatusUpdateWhenUnHealthyTransition
|
| Field Summary |
|---|
| Fields inherited from interface org.apache.hadoop.yarn.server.resourcemanager.rmnode.RMNode |
|---|
ANY |
| Constructor Summary | |
|---|---|
RMNodeImpl(org.apache.hadoop.yarn.api.records.NodeId nodeId,
RMContext context,
String hostName,
int cmPort,
int httpPort,
org.apache.hadoop.net.Node node,
org.apache.hadoop.yarn.api.records.Resource capability)
|
|
| 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 |
getHostName()
the hostname of this node |
String |
getHttpAddress()
the http-Address for this node. |
int |
getHttpPort()
the http port for this node |
org.apache.hadoop.yarn.server.api.records.HeartbeatResponse |
getLastHeartBeatResponse()
|
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.NodeHealthStatus |
getNodeHealthStatus()
the health-status 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. |
RMNodeState |
getState()
|
org.apache.hadoop.yarn.api.records.Resource |
getTotalCapability()
the total available resource. |
void |
handle(RMNodeEvent event)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RMNodeImpl(org.apache.hadoop.yarn.api.records.NodeId nodeId,
RMContext context,
String hostName,
int cmPort,
int httpPort,
org.apache.hadoop.net.Node node,
org.apache.hadoop.yarn.api.records.Resource capability)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic String getHostName()
RMNode
getHostName in interface RMNodepublic int getCommandPort()
RMNode
getCommandPort in interface RMNodepublic int getHttpPort()
RMNode
getHttpPort in interface RMNodepublic org.apache.hadoop.yarn.api.records.NodeId getNodeID()
RMNode
getNodeID in interface RMNodepublic String getNodeAddress()
RMNode
getNodeAddress in interface RMNodepublic String getHttpAddress()
RMNode
getHttpAddress in interface RMNodepublic org.apache.hadoop.yarn.api.records.Resource getTotalCapability()
RMNode
getTotalCapability in interface RMNodepublic String getRackName()
RMNode
getRackName in interface RMNodepublic org.apache.hadoop.net.Node getNode()
RMNodeNode information for this node.
getNode in interface RMNodeNode information for this node.public org.apache.hadoop.yarn.api.records.NodeHealthStatus getNodeHealthStatus()
RMNode
getNodeHealthStatus in interface RMNodepublic RMNodeState getState()
getState in interface RMNodepublic List<org.apache.hadoop.yarn.api.records.ApplicationId> getAppsToCleanup()
getAppsToCleanup in interface RMNodepublic List<org.apache.hadoop.yarn.api.records.ContainerId> getContainersToCleanUp()
getContainersToCleanUp in interface RMNodepublic org.apache.hadoop.yarn.server.api.records.HeartbeatResponse getLastHeartBeatResponse()
getLastHeartBeatResponse in interface RMNodepublic void handle(RMNodeEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<RMNodeEvent>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||