NodeManager.NMContextpublic interface Context
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.yarn.server.security.ApplicationACLsManager |
getApplicationACLsManager() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,Application> |
getApplications() |
|
AuxServices |
getAuxServices() |
|
org.apache.hadoop.conf.Configuration |
getConf() |
|
org.apache.hadoop.yarn.server.scheduler.OpportunisticContainerAllocator |
getContainerAllocator() |
|
ContainerExecutor |
getContainerExecutor() |
|
ContainerManager |
getContainerManager() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> |
getContainers() |
|
ContainerStateTransitionListener |
getContainerStateTransitionListener() |
|
NMContainerTokenSecretManager |
getContainerTokenSecretManager() |
|
boolean |
getDecommissioned() |
|
DeletionService |
getDeletionService() |
Get the
DeletionService associated with the NM. |
int |
getHttpPort() |
Return the node http-address.
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,org.apache.hadoop.yarn.api.records.Container> |
getIncreasedContainers() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.yarn.server.api.records.AppCollectorData> |
getKnownCollectors() |
Get the list of collectors registered with the RM and known by this node.
|
LocalDirsHandlerService |
getLocalDirsHandler() |
|
java.util.concurrent.ConcurrentLinkedQueue<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport> |
getLogAggregationStatusForApps() |
|
NMLogAggregationStatusTracker |
getNMLogAggregationStatusTracker() |
|
NMStateStoreService |
getNMStateStore() |
|
NMTimelinePublisher |
getNMTimelinePublisher() |
|
NMTokenSecretManagerInNM |
getNMTokenSecretManager() |
|
org.apache.hadoop.yarn.server.api.records.NodeHealthStatus |
getNodeHealthStatus() |
|
org.apache.hadoop.yarn.api.records.NodeId |
getNodeId() |
Return the nodeId.
|
NodeLocalVolumeMonitor |
getNodeLocalVolumeMonitor() |
|
NodeManagerMetrics |
getNodeManagerMetrics() |
|
NodeResourceMonitor |
getNodeResourceMonitor() |
|
NodeStatusUpdater |
getNodeStatusUpdater() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.yarn.server.api.records.AppCollectorData> |
getRegisteringCollectors() |
Get the list of collectors that are registering with the RM from this node.
|
ResourcePluginManager |
getResourcePluginManager() |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.security.Credentials> |
getSystemCredentialsForApps() |
|
boolean |
isDistributedSchedulingEnabled() |
|
void |
setAuxServices(AuxServices auxServices) |
|
void |
setDecommissioned(boolean isDecommissioned) |
|
void |
setNMTimelinePublisher(NMTimelinePublisher nmMetricsPublisher) |
org.apache.hadoop.yarn.api.records.NodeId getNodeId()
int getHttpPort()
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,Application> getApplications()
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.security.Credentials> getSystemCredentialsForApps()
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.yarn.server.api.records.AppCollectorData> getRegisteringCollectors()
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ApplicationId,org.apache.hadoop.yarn.server.api.records.AppCollectorData> getKnownCollectors()
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> getContainers()
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,org.apache.hadoop.yarn.api.records.Container> getIncreasedContainers()
NMContainerTokenSecretManager getContainerTokenSecretManager()
NMTokenSecretManagerInNM getNMTokenSecretManager()
org.apache.hadoop.yarn.server.api.records.NodeHealthStatus getNodeHealthStatus()
ContainerManager getContainerManager()
NodeResourceMonitor getNodeResourceMonitor()
NodeLocalVolumeMonitor getNodeLocalVolumeMonitor()
LocalDirsHandlerService getLocalDirsHandler()
org.apache.hadoop.yarn.server.security.ApplicationACLsManager getApplicationACLsManager()
NMStateStoreService getNMStateStore()
boolean getDecommissioned()
org.apache.hadoop.conf.Configuration getConf()
void setDecommissioned(boolean isDecommissioned)
java.util.concurrent.ConcurrentLinkedQueue<org.apache.hadoop.yarn.server.api.protocolrecords.LogAggregationReport> getLogAggregationStatusForApps()
NodeStatusUpdater getNodeStatusUpdater()
boolean isDistributedSchedulingEnabled()
org.apache.hadoop.yarn.server.scheduler.OpportunisticContainerAllocator getContainerAllocator()
void setNMTimelinePublisher(NMTimelinePublisher nmMetricsPublisher)
NMTimelinePublisher getNMTimelinePublisher()
NMLogAggregationStatusTracker getNMLogAggregationStatusTracker()
ContainerExecutor getContainerExecutor()
ContainerStateTransitionListener getContainerStateTransitionListener()
ResourcePluginManager getResourcePluginManager()
NodeManagerMetrics getNodeManagerMetrics()
DeletionService getDeletionService()
DeletionService associated with the NM.DeletionService.void setAuxServices(AuxServices auxServices)
AuxServices getAuxServices()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.