org.apache.hadoop.yarn.server.nodemanager
Class NodeManager.NMContext

java.lang.Object
  extended by org.apache.hadoop.yarn.server.nodemanager.NodeManager.NMContext
All Implemented Interfaces:
Context
Enclosing class:
NodeManager

public static class NodeManager.NMContext
extends Object
implements Context


Constructor Summary
NodeManager.NMContext()
           
 
Method Summary
 ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,Application> getApplications()
           
 ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> getContainers()
           
 org.apache.hadoop.yarn.api.records.NodeHealthStatus getNodeHealthStatus()
           
 org.apache.hadoop.yarn.api.records.NodeId getNodeId()
          Usable only after ContainerManager is started.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeManager.NMContext

public NodeManager.NMContext()
Method Detail

getNodeId

public org.apache.hadoop.yarn.api.records.NodeId getNodeId()
Usable only after ContainerManager is started.

Specified by:
getNodeId in interface Context
Returns:
the NodeId

getApplications

public ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,Application> getApplications()
Specified by:
getApplications in interface Context

getContainers

public ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> getContainers()
Specified by:
getContainers in interface Context

getNodeHealthStatus

public org.apache.hadoop.yarn.api.records.NodeHealthStatus getNodeHealthStatus()
Specified by:
getNodeHealthStatus in interface Context


Copyright © 2012 Apache Software Foundation. All Rights Reserved.