org.apache.hadoop.yarn.server.nodemanager
Interface Context

All Known Implementing Classes:
NodeManager.NMContext

public interface Context

Context interface for sharing information across components in the NodeManager.


Method Summary
 ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,Application> getApplications()
           
 ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> getContainers()
           
 NMContainerTokenSecretManager getContainerTokenSecretManager()
           
 org.apache.hadoop.yarn.api.records.NodeHealthStatus getNodeHealthStatus()
           
 org.apache.hadoop.yarn.api.records.NodeId getNodeId()
          Return the nodeId.
 

Method Detail

getNodeId

org.apache.hadoop.yarn.api.records.NodeId getNodeId()
Return the nodeId. Usable only when the ContainerManager is started.

Returns:
the NodeId

getApplications

ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,Application> getApplications()

getContainers

ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> getContainers()

getContainerTokenSecretManager

NMContainerTokenSecretManager getContainerTokenSecretManager()

getNodeHealthStatus

org.apache.hadoop.yarn.api.records.NodeHealthStatus getNodeHealthStatus()


Copyright © 2013 Apache Software Foundation. All Rights Reserved.