org.apache.hadoop.yarn.server.resourcemanager.rmnode
Interface RMNode

All Known Implementing Classes:
RMNodeImpl

public interface RMNode

Node managers information on available resources and other static information.


Field Summary
static String ANY
           
 
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.
 

Field Detail

ANY

static final String ANY
See Also:
Constant Field Values
Method Detail

getNodeID

org.apache.hadoop.yarn.api.records.NodeId getNodeID()
the node id of of this node.

Returns:
the node id of this node.

getHostName

String getHostName()
the hostname of this node

Returns:
hostname of this node

getCommandPort

int getCommandPort()
the command port for this node

Returns:
command port for this node

getHttpPort

int getHttpPort()
the http port for this node

Returns:
http port for this node

getNodeAddress

String getNodeAddress()
the ContainerManager address for this node.

Returns:
the ContainerManager address for this node.

getHttpAddress

String getHttpAddress()
the http-Address for this node.

Returns:
the http-url address for this node

getNodeHealthStatus

org.apache.hadoop.yarn.api.records.NodeHealthStatus getNodeHealthStatus()
the health-status for this node

Returns:
the health-status for this node.

getTotalCapability

org.apache.hadoop.yarn.api.records.Resource getTotalCapability()
the total available resource.

Returns:
the total available resource.

getRackName

String getRackName()
The rack name for this node manager.

Returns:
the rack name.

getNode

org.apache.hadoop.net.Node getNode()
the Node information for this node.

Returns:
Node information for this node.

getState

RMNodeState getState()

getContainersToCleanUp

List<org.apache.hadoop.yarn.api.records.ContainerId> getContainersToCleanUp()

getAppsToCleanup

List<org.apache.hadoop.yarn.api.records.ApplicationId> getAppsToCleanup()

getLastHeartBeatResponse

org.apache.hadoop.yarn.server.api.records.HeartbeatResponse getLastHeartBeatResponse()


Copyright © 2012 Apache Software Foundation. All Rights Reserved.