| Modifier and Type | Class | Description |
|---|---|---|
static class |
NodeManager.NMContext |
| Modifier and Type | Method | Description |
|---|---|---|
Context |
NodeManager.getNMContext() |
| Modifier and Type | Method | Description |
|---|---|---|
protected ContainerManagerImpl |
NodeManager.createContainerManager(Context context,
ContainerExecutor exec,
DeletionService del,
NodeStatusUpdater nodeStatusUpdater,
org.apache.hadoop.yarn.server.security.ApplicationACLsManager aclsManager,
LocalDirsHandlerService dirsHandler) |
|
protected NMCollectorService |
NodeManager.createNMCollectorService(Context ctxt) |
|
protected NodeStatusUpdater |
NodeManager.createNodeStatusUpdater(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
NodeHealthCheckerService healthChecker) |
|
protected WebServer |
NodeManager.createWebServer(Context nmContext,
ResourceView resourceView,
org.apache.hadoop.yarn.server.security.ApplicationACLsManager aclsManager,
LocalDirsHandlerService dirsHandler) |
|
abstract void |
ContainerExecutor.init(Context nmContext) |
Run the executor initialization steps.
|
void |
ContainerStateTransitionListener.init(Context context) |
Init method which will be invoked by the Node Manager to inject the
NM
Context. |
void |
DefaultContainerExecutor.init(Context nmContext) |
|
void |
LinuxContainerExecutor.init(Context context) |
|
void |
NodeManager.DefaultContainerStateListener.init(Context context) |
|
abstract void |
ContainerExecutor.updateYarnSysFS(Context ctx,
java.lang.String user,
java.lang.String appId,
java.lang.String spec) |
Update cluster information inside container.
|
void |
DefaultContainerExecutor.updateYarnSysFS(Context ctx,
java.lang.String user,
java.lang.String appId,
java.lang.String spec) |
|
void |
LinuxContainerExecutor.updateYarnSysFS(Context ctx,
java.lang.String user,
java.lang.String appId,
java.lang.String spec) |
| Constructor | Description |
|---|---|
NodeLocalVolumeMonitorImpl(Context context) |
Initialize the node local volume monitor.
|
NodeResourceMonitorImpl(Context context) |
Initialize the node resource monitor.
|
NodeStatusUpdaterImpl(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
NodeHealthCheckerService healthChecker,
NodeManagerMetrics metrics) |
| Modifier and Type | Method | Description |
|---|---|---|
Context |
AMRMProxyApplicationContext.getNMContext() |
Gets the NMContext object.
|
Context |
AMRMProxyApplicationContextImpl.getNMContext() |
| Constructor | Description |
|---|---|
AMRMProxyApplicationContextImpl(Context nmContext,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationAttemptId applicationAttemptId,
java.lang.String user,
org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier> amrmToken,
org.apache.hadoop.security.token.Token<org.apache.hadoop.yarn.security.AMRMTokenIdentifier> localToken,
org.apache.hadoop.security.Credentials credentials,
org.apache.hadoop.registry.client.api.RegistryOperations registry) |
Create an instance of the AMRMProxyApplicationContext.
|
AMRMProxyService(Context nmContext,
org.apache.hadoop.yarn.event.AsyncDispatcher dispatcher) |
Creates an instance of the service.
|
| Constructor | Description |
|---|---|
NMCollectorService(Context context) |
| Modifier and Type | Field | Description |
|---|---|---|
protected Context |
ContainerManagerImpl.context |
| Modifier and Type | Method | Description |
|---|---|---|
Context |
ContainerManagerImpl.getContext() |
| Modifier and Type | Method | Description |
|---|---|---|
protected ContainerScheduler |
ContainerManagerImpl.createContainerScheduler(Context cntxt) |
|
protected AbstractContainersLauncher |
ContainerManagerImpl.createContainersLauncher(Context ctxt,
ContainerExecutor exec) |
|
protected LogHandler |
ContainerManagerImpl.createLogHandler(org.apache.hadoop.conf.Configuration conf,
Context context,
DeletionService deletionService) |
|
protected NMTimelinePublisher |
ContainerManagerImpl.createNMTimelinePublisher(Context ctxt) |
|
protected ResourceLocalizationService |
ContainerManagerImpl.createResourceLocalizationService(ContainerExecutor exec,
DeletionService deletionContext,
Context nmContext,
NodeManagerMetrics nmMetrics) |
| Constructor | Description |
|---|---|
ContainerManagerImpl(Context context,
ContainerExecutor exec,
DeletionService deletionContext,
NodeStatusUpdater nodeStatusUpdater,
NodeManagerMetrics metrics,
LocalDirsHandlerService dirsHandler) |
| Constructor | Description |
|---|---|
ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
java.lang.String user,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context) |
|
ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
java.lang.String user,
ApplicationImpl.FlowContext flowContext,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context) |
|
ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
java.lang.String user,
ApplicationImpl.FlowContext flowContext,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context,
long recoveredLogInitedTime) |
| Constructor | Description |
|---|---|
ContainerImpl(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext launchContext,
org.apache.hadoop.security.Credentials creds,
NodeManagerMetrics metrics,
org.apache.hadoop.yarn.security.ContainerTokenIdentifier containerTokenIdentifier,
Context context) |
|
ContainerImpl(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext launchContext,
org.apache.hadoop.security.Credentials creds,
NodeManagerMetrics metrics,
org.apache.hadoop.yarn.security.ContainerTokenIdentifier containerTokenIdentifier,
Context context,
long startTs) |
|
ContainerImpl(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
org.apache.hadoop.yarn.api.records.ContainerLaunchContext launchContext,
org.apache.hadoop.security.Credentials creds,
NodeManagerMetrics metrics,
org.apache.hadoop.yarn.security.ContainerTokenIdentifier containerTokenIdentifier,
Context context,
NMStateStoreService.RecoveredContainerState rcs) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
AbstractContainersLauncher.init(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
|
void |
ContainersLauncher.init(Context nmContext,
org.apache.hadoop.yarn.event.Dispatcher nmDispatcher,
ContainerExecutor containerExec,
LocalDirsHandlerService nmDirsHandler,
ContainerManagerImpl nmContainerManager) |
| Constructor | Description |
|---|---|
ContainerCleanup(Context context,
org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Container container,
ContainerLaunch containerLaunch) |
|
ContainerLaunch(Context context,
org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Application app,
Container container,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
|
ContainerRelaunch(Context context,
org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Application app,
Container container,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
|
ContainersLauncher(Context context,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
|
RecoveredContainerLaunch(Context context,
org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Application app,
Container container,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
|
RecoverPausedContainerLaunch(Context context,
org.apache.hadoop.conf.Configuration configuration,
org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
Application app,
Container container,
LocalDirsHandlerService dirsHandler,
ContainerManagerImpl containerManager) |
| Modifier and Type | Method | Description |
|---|---|---|
static ResourceHandlerChain |
ResourceHandlerModule.getConfiguredResourceHandlerChain(org.apache.hadoop.conf.Configuration conf,
Context nmContext) |
| Constructor | Description |
|---|---|
CGroupElasticMemoryController(org.apache.hadoop.conf.Configuration conf,
Context context,
CGroupsHandler cgroups,
boolean controlPhysicalMemory,
boolean controlVirtualMemory,
long limit) |
Default constructor.
|
DefaultOOMHandler(Context context,
boolean enforceVirtualMemory) |
Create an OOM handler.
|
| Constructor | Description |
|---|---|
FpgaResourceAllocator(Context ctx) |
|
FpgaResourceHandlerImpl(Context nmContext,
CGroupsHandler cGroupsHandler,
PrivilegedOperationExecutor privilegedOperationExecutor,
AbstractFpgaVendorPlugin plugin,
FpgaDiscoverer fpgaDiscoverer) |
| Constructor | Description |
|---|---|
GpuResourceAllocator(Context ctx) |
|
GpuResourceHandlerImpl(Context nmContext,
CGroupsHandler cGroupsHandler,
PrivilegedOperationExecutor privilegedOperationExecutor,
GpuDiscoverer gpuDiscoverer) |
| Constructor | Description |
|---|---|
NumaResourceAllocator(Context context) |
|
NumaResourceHandlerImpl(org.apache.hadoop.conf.Configuration conf,
Context nmContext) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
DefaultLinuxContainerRuntime.initialize(org.apache.hadoop.conf.Configuration conf,
Context nmContext) |
|
void |
DelegatingLinuxContainerRuntime.initialize(org.apache.hadoop.conf.Configuration conf,
Context nmContext) |
|
void |
DockerLinuxContainerRuntime.initialize(org.apache.hadoop.conf.Configuration conf,
Context nmContext) |
|
void |
JavaSandboxLinuxContainerRuntime.initialize(org.apache.hadoop.conf.Configuration conf,
Context nmContext) |
|
void |
LinuxContainerRuntime.initialize(org.apache.hadoop.conf.Configuration conf,
Context nmContext) |
Initialize the runtime.
|
void |
OCIContainerRuntime.initialize(org.apache.hadoop.conf.Configuration conf,
Context nmContext) |
|
void |
RuncContainerRuntime.initialize(org.apache.hadoop.conf.Configuration configuration,
Context nmCtx) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
DockerCommandExecutor.executeDockerCommand(DockerCommand dockerCommand,
java.lang.String containerId,
java.util.Map<java.lang.String,java.lang.String> env,
PrivilegedOperationExecutor privilegedOperationExecutor,
boolean disableFailureLogging,
Context nmContext) |
Execute a docker command and return the output.
|
static DockerCommandExecutor.DockerContainerStatus |
DockerCommandExecutor.getContainerStatus(java.lang.String containerId,
PrivilegedOperationExecutor privilegedOperationExecutor,
Context nmContext) |
Get the status of the docker container.
|
PrivilegedOperation |
DockerCommand.preparePrivilegedOperation(DockerCommand dockerCommand,
java.lang.String containerName,
java.util.Map<java.lang.String,java.lang.String> env,
Context nmContext) |
Prepare the privileged operation object that will be used to invoke
the container-executor.
|
PrivilegedOperation |
DockerInspectCommand.preparePrivilegedOperation(DockerCommand dockerCommand,
java.lang.String containerName,
java.util.Map<java.lang.String,java.lang.String> env,
Context nmContext) |
|
PrivilegedOperation |
DockerRmCommand.preparePrivilegedOperation(DockerCommand dockerCommand,
java.lang.String containerName,
java.util.Map<java.lang.String,java.lang.String> env,
Context nmContext) |
|
java.lang.String |
DockerClient.writeCommandToTempFile(DockerCommand cmd,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
Context nmContext) |
| Constructor | Description |
|---|---|
ResourceLocalizationService(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
ContainerExecutor exec,
DeletionService delService,
LocalDirsHandlerService dirsHandler,
Context context,
NodeManagerMetrics metrics) |
| Constructor | Description |
|---|---|
AppLogAggregatorImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
DeletionService deletionService,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.UserGroupInformation userUgi,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,java.lang.String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval) |
|
AppLogAggregatorImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
DeletionService deletionService,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.UserGroupInformation userUgi,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,java.lang.String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval,
long recoveredLogInitedTime) |
|
AppLogAggregatorImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
DeletionService deletionService,
org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.UserGroupInformation userUgi,
org.apache.hadoop.yarn.api.records.NodeId nodeId,
LocalDirsHandlerService dirsHandler,
org.apache.hadoop.fs.Path remoteNodeLogFileForApp,
java.util.Map<org.apache.hadoop.yarn.api.records.ApplicationAccessType,java.lang.String> appAcls,
org.apache.hadoop.yarn.api.records.LogAggregationContext logAggregationContext,
Context context,
org.apache.hadoop.fs.FileContext lfs,
long rollingMonitorInterval,
long recoveredLogInitedTime,
org.apache.hadoop.yarn.logaggregation.filecontroller.LogAggregationFileController logAggregationFileController) |
|
LogAggregationService(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
Context context,
DeletionService deletionService,
LocalDirsHandlerService dirsHandler) |
| Constructor | Description |
|---|---|
ContainersMonitorImpl(ContainerExecutor exec,
org.apache.hadoop.yarn.event.AsyncDispatcher dispatcher,
Context context) |
| Modifier and Type | Method | Description |
|---|---|---|
ResourceHandler |
ResourcePlugin.createResourceHandler(Context nmContext,
CGroupsHandler cGroupsHandler,
PrivilegedOperationExecutor privilegedOperationExecutor) |
Plugin needs to return
ResourceHandler when any special isolation
required for the resource type. |
void |
ResourcePlugin.initialize(Context context) |
Initialize the plugin, this will be invoked during NM startup.
|
void |
ResourcePluginManager.initialize(Context context) |
|
void |
ResourcePluginManager.initializePluggableDevicePlugins(Context context,
org.apache.hadoop.conf.Configuration configuration,
java.util.Map<java.lang.String,ResourcePlugin> pluginMap) |
| Modifier and Type | Method | Description |
|---|---|---|
ResourceHandler |
DevicePluginAdapter.createResourceHandler(Context nmContext,
CGroupsHandler cGroupsHandler,
PrivilegedOperationExecutor privilegedOperationExecutor) |
|
void |
DevicePluginAdapter.initialize(Context context) |
| Constructor | Description |
|---|---|
DeviceMappingManager(Context context) |
|
DeviceResourceHandlerImpl(java.lang.String resName,
DevicePluginAdapter devPluginAdapter,
DeviceMappingManager devMappingManager,
CGroupsHandler cgHandler,
PrivilegedOperationExecutor operation,
Context ctx) |
|
DeviceResourceHandlerImpl(java.lang.String resName,
DevicePluginAdapter devPluginAdapter,
DeviceMappingManager devMappingManager,
CGroupsHandler cgHandler,
PrivilegedOperationExecutor operation,
Context ctx,
ShellWrapper shell) |
| Modifier and Type | Method | Description |
|---|---|---|
ResourceHandler |
FpgaResourcePlugin.createResourceHandler(Context nmContext,
CGroupsHandler cGroupsHandler,
PrivilegedOperationExecutor privilegedOperationExecutor) |
|
void |
FpgaResourcePlugin.initialize(Context context) |
| Modifier and Type | Method | Description |
|---|---|---|
ResourceHandler |
GpuResourcePlugin.createResourceHandler(Context context,
CGroupsHandler cGroupsHandler,
PrivilegedOperationExecutor privilegedOperationExecutor) |
|
void |
GpuResourcePlugin.initialize(Context context) |
| Constructor | Description |
|---|---|
ContainerScheduler(Context context,
org.apache.hadoop.yarn.event.AsyncDispatcher dispatcher,
NodeManagerMetrics metrics) |
Instantiate a Container Scheduler.
|
ContainerScheduler(Context context,
org.apache.hadoop.yarn.event.AsyncDispatcher dispatcher,
NodeManagerMetrics metrics,
int qLength) |
|
ContainerScheduler(Context context,
org.apache.hadoop.yarn.event.AsyncDispatcher dispatcher,
NodeManagerMetrics metrics,
OpportunisticContainersQueuePolicy oppContainersQueuePolicy,
int qLength) |
| Constructor | Description |
|---|---|
NMLogAggregationStatusTracker(Context context) |
| Constructor | Description |
|---|---|
NMTimelinePublisher(Context context) |
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.List<org.apache.hadoop.fs.Path> |
ContainerLogsUtils.getContainerLogDirs(org.apache.hadoop.yarn.api.records.ContainerId containerId,
java.lang.String remoteUser,
Context context) |
Finds the directories that logs for the given container are stored
on.
|
static org.apache.hadoop.fs.Path |
ContainerLogsUtils.getContainerLogFile(org.apache.hadoop.yarn.api.records.ContainerId containerId,
java.lang.String fileName,
java.lang.String remoteUser,
Context context) |
Finds the log file with the given filename for the given container.
|
static long |
ContainerLogsUtils.getFileLength(org.apache.hadoop.fs.Path logFile,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
Context context) |
|
static org.apache.hadoop.fs.Path[] |
ContainerLogsUtils.getFilesInDir(org.apache.hadoop.fs.Path dir,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
Context context) |
|
static void |
ContainerShellWebSocket.init(Context nm) |
|
static java.io.InputStream |
ContainerLogsUtils.openLogFileForRead(java.lang.String containerIdStr,
org.apache.hadoop.fs.Path logFile,
java.lang.String remoteUser,
Context context) |
| Constructor | Description |
|---|---|
AllApplicationsBlock(Context nmContext) |
|
AllContainersBlock(Context nmContext) |
|
ApplicationBlock(Context nmContext,
org.apache.hadoop.conf.Configuration conf) |
|
ContainerBlock(Context nmContext) |
|
ContainersLogsBlock(Context context) |
|
NMWebAppFilter(com.google.inject.Injector injector,
Context nmContext) |
|
NMWebServices(Context nm,
ResourceView view,
org.apache.hadoop.yarn.webapp.WebApp webapp) |
|
NMWebServices(Context nm,
ResourceView view,
org.apache.hadoop.yarn.webapp.WebApp webapp,
javax.servlet.http.HttpServletResponse response) |
|
NodeBlock(Context context,
ResourceView resourceView) |
|
WebServer(Context nmContext,
ResourceView resourceView,
org.apache.hadoop.yarn.server.security.ApplicationACLsManager aclsManager,
LocalDirsHandlerService dirsHandler) |
| Constructor | Description |
|---|---|
ContainerInfo(Context nmContext,
Container container) |
|
ContainerInfo(Context nmContext,
Container container,
java.lang.String requestUri,
java.lang.String pathPrefix,
java.lang.String remoteUser) |
|
NMContainerLogsInfo(Context nmContext,
org.apache.hadoop.yarn.api.records.ContainerId containerId,
java.lang.String remoteUser,
org.apache.hadoop.yarn.logaggregation.ContainerLogAggregationType logType) |
|
NodeInfo(Context context,
ResourceView resourceView) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.