| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> |
NodeManager.NMContext.containers |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> |
Context.getContainers() |
|
java.util.concurrent.ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> |
NodeManager.NMContext.getContainers() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
ContainerExecutor.cleanupBeforeRelaunch(Container container) |
Perform any cleanup before the next launch of the container.
|
java.lang.String |
ContainerExecutor.getExposedPorts(Container container) |
|
java.lang.String |
LinuxContainerExecutor.getExposedPorts(Container container) |
|
java.lang.String[] |
ContainerExecutor.getIpAndHost(Container container) |
|
java.lang.String[] |
LinuxContainerExecutor.getIpAndHost(Container container) |
|
static java.lang.String[] |
ContainerExecutor.getLocalIpAndHost(Container container) |
|
java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.LocalResource> |
ContainerExecutor.getLocalResources(Container container) |
|
java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.LocalResource> |
LinuxContainerExecutor.getLocalResources(Container container) |
|
void |
ContainerExecutor.pauseContainer(Container container) |
Pause the container.
|
void |
ContainerExecutor.resumeContainer(Container container) |
Resume the container from pause state.
|
| Constructor | Description |
|---|---|
DelayedProcessKiller(Container container,
java.lang.String user,
java.lang.String pid,
long delayMS,
ContainerExecutor.Signal signal,
ContainerExecutor containerExecutor) |
Basic constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
Container |
AuxServicesEvent.getContainer() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
ContainerManagerImpl.authorizeGetAndStopContainerRequest(org.apache.hadoop.yarn.api.records.ContainerId containerId,
Container container,
boolean stopRequest,
org.apache.hadoop.yarn.security.NMTokenIdentifier identifier,
java.lang.String remoteUser) |
| Constructor | Description |
|---|---|
AuxServicesEvent(AuxServicesEventType eventType,
java.lang.String user,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
java.lang.String serviceId,
java.nio.ByteBuffer serviceData,
Container container) |
|
AuxServicesEvent(AuxServicesEventType eventType,
Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,Container> |
Application.getContainers() |
|
java.util.Map<org.apache.hadoop.yarn.api.records.ContainerId,Container> |
ApplicationImpl.getContainers() |
| Constructor | Description |
|---|---|
ApplicationContainerInitEvent(Container container) |
| Modifier and Type | Class | Description |
|---|---|---|
class |
ContainerImpl |
| Modifier and Type | Field | Description |
|---|---|---|
protected Container |
ContainerLaunch.container |
| Modifier and Type | Method | Description |
|---|---|---|
Container |
ContainersLauncherEvent.getContainer() |
| 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) |
|
ContainersLauncherEvent(Container container,
ContainersLauncherEventType eventType) |
|
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) |
|
SignalContainersLauncherEvent(Container container,
org.apache.hadoop.yarn.api.records.SignalContainerCommand command) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
NetworkTagMappingJsonManager.getNetworkTagHexID(Container container) |
|
java.lang.String |
NetworkTagMappingManager.getNetworkTagHexID(Container container) |
Get networkTagHexID for the given container.
|
java.util.List<PrivilegedOperation> |
CGroupsBlkioResourceHandlerImpl.preStart(Container container) |
|
java.util.List<PrivilegedOperation> |
CGroupsCpuResourceHandlerImpl.preStart(Container container) |
|
java.util.List<PrivilegedOperation> |
CGroupsMemoryResourceHandlerImpl.preStart(Container container) |
|
java.util.List<PrivilegedOperation> |
NetworkPacketTaggingHandlerImpl.preStart(Container container) |
Pre-start hook for network-tagging-handler.
|
java.util.List<PrivilegedOperation> |
ResourceHandler.preStart(Container container) |
Prepare a resource environment for container launch
|
java.util.List<PrivilegedOperation> |
ResourceHandlerChain.preStart(Container container) |
|
java.util.List<PrivilegedOperation> |
TrafficControlBandwidthHandlerImpl.preStart(Container container) |
Pre-start hook for 'outbound-bandwidth' resource.
|
java.util.List<PrivilegedOperation> |
CGroupsBlkioResourceHandlerImpl.updateContainer(Container container) |
|
java.util.List<PrivilegedOperation> |
CGroupsCpuResourceHandlerImpl.updateContainer(Container container) |
|
java.util.List<PrivilegedOperation> |
CGroupsMemoryResourceHandlerImpl.updateContainer(Container container) |
|
java.util.List<PrivilegedOperation> |
NetworkPacketTaggingHandlerImpl.updateContainer(Container container) |
|
java.util.List<PrivilegedOperation> |
ResourceHandler.updateContainer(Container container) |
Update state for container that was already launched
|
java.util.List<PrivilegedOperation> |
ResourceHandlerChain.updateContainer(Container container) |
|
java.util.List<PrivilegedOperation> |
TrafficControlBandwidthHandlerImpl.updateContainer(Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
FpgaResourceAllocator.FpgaAllocation |
FpgaResourceAllocator.assignFpga(java.lang.String type,
long count,
Container container,
java.lang.String ipidHash) |
Assign
FpgaResourceAllocator.FpgaAllocation with preferred IPID, if no, with random FPGAs |
java.lang.String |
FpgaResourceHandlerImpl.getRequestedIPID(Container container) |
|
java.util.List<PrivilegedOperation> |
FpgaResourceHandlerImpl.preStart(Container container) |
|
java.util.List<PrivilegedOperation> |
FpgaResourceHandlerImpl.updateContainer(Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator.GpuAllocation |
GpuResourceAllocator.assignGpus(Container container) |
Assign GPU to the specified container.
|
java.util.List<PrivilegedOperation> |
GpuResourceHandlerImpl.preStart(Container container) |
|
java.util.List<PrivilegedOperation> |
GpuResourceHandlerImpl.updateContainer(Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
NumaResourceAllocation |
NumaResourceAllocator.allocateNumaNodes(Container container) |
Allocates the available NUMA nodes for the requested containerId with
resource in a round robin fashion.
|
java.util.List<PrivilegedOperation> |
NumaResourceHandlerImpl.preStart(Container container) |
|
java.util.List<PrivilegedOperation> |
NumaResourceHandlerImpl.updateContainer(Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
OCIContainerRuntime.allowHostPidNamespace(Container container) |
Return whether the YARN container is allowed to run using the host's PID
namespace for the OCI-compliant container.
|
protected boolean |
OCIContainerRuntime.allowPrivilegedContainerExecution(Container container) |
Return whether the YARN container is allowed to run in a privileged
OCI-compliant container.
|
java.lang.String |
DefaultLinuxContainerRuntime.getExposedPorts(Container container) |
|
java.lang.String |
DelegatingLinuxContainerRuntime.getExposedPorts(Container container) |
|
java.lang.String |
DockerLinuxContainerRuntime.getExposedPorts(Container container) |
|
java.lang.String |
RuncContainerRuntime.getExposedPorts(Container container) |
|
java.lang.String[] |
DefaultLinuxContainerRuntime.getIpAndHost(Container container) |
|
java.lang.String[] |
DelegatingLinuxContainerRuntime.getIpAndHost(Container container) |
|
java.lang.String[] |
DockerLinuxContainerRuntime.getIpAndHost(Container container) |
|
java.lang.String[] |
RuncContainerRuntime.getIpAndHost(Container container) |
|
java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.LocalResource> |
DelegatingLinuxContainerRuntime.getLocalResources(Container container) |
|
default java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.LocalResource> |
LinuxContainerRuntime.getLocalResources(Container container) |
|
java.util.Map<java.lang.String,org.apache.hadoop.yarn.api.records.LocalResource> |
RuncContainerRuntime.getLocalResources(Container container) |
|
protected boolean |
OCIContainerRuntime.isContainerRequestedAsPrivileged(Container container) |
This function only returns whether a privileged container was requested,
not whether the container was or will be launched as privileged.
|
java.lang.String |
RuncContainerRuntime.writeCommandToFile(RuncContainerExecutorConfig runcContainerExecutorConfig,
Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
Container |
ContainerLocalizationEvent.getContainer() |
| Constructor | Description |
|---|---|
ContainerLocalizationCleanupEvent(Container c,
java.util.Map<org.apache.hadoop.yarn.api.records.LocalResourceVisibility,java.util.Collection<LocalResourceRequest>> rsrc) |
Event requesting the cleanup of the rsrc.
|
ContainerLocalizationEvent(LocalizationEventType event,
Container c) |
|
ContainerLocalizationRequestEvent(Container c,
java.util.Map<org.apache.hadoop.yarn.api.records.LocalResourceVisibility,java.util.Collection<LocalResourceRequest>> rsrc) |
Event requesting the localization of the rsrc.
|
| Modifier and Type | Method | Description |
|---|---|---|
DockerVolumeCommand |
DockerCommandPlugin.getCleanupDockerVolumesCommand(Container container) |
Cleanup volumes created for one docker container
|
DockerVolumeCommand |
DockerCommandPlugin.getCreateDockerVolumeCommand(Container container) |
Create volume when needed.
|
void |
DockerCommandPlugin.updateDockerRunCommand(DockerRunCommand dockerRunCommand,
Container container) |
Update docker run command
|
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.deviceframework.DeviceMappingManager.DeviceAllocation |
DeviceMappingManager.assignDevices(java.lang.String resourceName,
Container container) |
|
DockerVolumeCommand |
DeviceResourceDockerRuntimePluginImpl.getCleanupDockerVolumesCommand(Container container) |
|
DockerVolumeCommand |
DeviceResourceDockerRuntimePluginImpl.getCreateDockerVolumeCommand(Container container) |
|
DeviceRuntimeSpec |
DeviceResourceDockerRuntimePluginImpl.getRuntimeSpec(Container container) |
|
java.util.List<PrivilegedOperation> |
DeviceResourceHandlerImpl.preStart(Container container) |
|
protected boolean |
DeviceResourceDockerRuntimePluginImpl.requestedDevice(java.lang.String resName,
Container container) |
|
java.util.List<PrivilegedOperation> |
DeviceResourceHandlerImpl.updateContainer(Container container) |
|
void |
DeviceResourceDockerRuntimePluginImpl.updateDockerRunCommand(DockerRunCommand dockerRunCommand,
Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
DockerVolumeCommand |
NvidiaDockerV1CommandPlugin.getCleanupDockerVolumesCommand(Container container) |
|
DockerVolumeCommand |
NvidiaDockerV2CommandPlugin.getCleanupDockerVolumesCommand(Container container) |
|
DockerVolumeCommand |
NvidiaDockerV1CommandPlugin.getCreateDockerVolumeCommand(Container container) |
|
DockerVolumeCommand |
NvidiaDockerV2CommandPlugin.getCreateDockerVolumeCommand(Container container) |
|
protected boolean |
NvidiaDockerV1CommandPlugin.requestsGpu(Container container) |
|
protected boolean |
NvidiaDockerV2CommandPlugin.requestsGpu(Container container) |
|
void |
NvidiaDockerV1CommandPlugin.updateDockerRunCommand(DockerRunCommand dockerRunCommand,
Container container) |
|
void |
NvidiaDockerV2CommandPlugin.updateDockerRunCommand(DockerRunCommand dockerRunCommand,
Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
Container |
ContainerRuntimeContext.getContainer() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
ContainerRuntime.getExposedPorts(Container container) |
Return the exposed ports of the container.
|
java.lang.String[] |
ContainerRuntime.getIpAndHost(Container container) |
Return the host and ip of the container.
|
| Constructor | Description |
|---|---|
Builder(Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
Container |
ContainerSchedulerEvent.getContainer() |
Get the container associated with the event.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
AllocationBasedResourceUtilizationTracker.addContainerResources(Container container) |
Add Container's resources to the accumulated Utilization.
|
void |
ResourceUtilizationTracker.addContainerResources(Container container) |
Add Container's resources to Node Utilization.
|
boolean |
AllocationBasedResourceUtilizationTracker.hasResourcesAvailable(Container container) |
Check if NM has resources available currently to run the container.
|
boolean |
ResourceUtilizationTracker.hasResourcesAvailable(Container container) |
Check if NM has resources available currently to run the container.
|
void |
ContainerScheduler.recoverActiveContainer(Container container,
NMStateStoreService.RecoveredContainerState rcs) |
Populates auxiliary data structures used by the ContainerScheduler on
recovery.
|
protected void |
ContainerScheduler.scheduleContainer(Container container) |
|
void |
AllocationBasedResourceUtilizationTracker.subtractContainerResource(Container container) |
Subtract Container's resources to the accumulated Utilization.
|
void |
ResourceUtilizationTracker.subtractContainerResource(Container container) |
Subtract Container's resources to Node Utilization.
|
| Constructor | Description |
|---|---|
ContainerSchedulerEvent(Container container,
ContainerSchedulerEventType eventType) |
Create instance of Event.
|
UpdateContainerSchedulerEvent(Container container,
org.apache.hadoop.yarn.security.ContainerTokenIdentifier origToken,
UpdateContainerTokenEvent event) |
Create instance of Event.
|
| Constructor | Description |
|---|---|
ContainerVolumePublisher(Container container,
java.lang.String localMountRoot,
OCIContainerRuntime runtime) |
| Modifier and Type | Method | Description |
|---|---|---|
Container |
ContainerExecContext.getContainer() |
|
Container |
ContainerLivenessContext.getContainer() |
|
Container |
ContainerPrepareContext.getContainer() |
|
Container |
ContainerReacquisitionContext.getContainer() |
|
Container |
ContainerReapContext.getContainer() |
Get the container set for the context.
|
Container |
ContainerSignalContext.getContainer() |
|
Container |
ContainerStartContext.getContainer() |
| Modifier and Type | Method | Description |
|---|---|---|
ContainerExecContext.Builder |
ContainerExecContext.Builder.setContainer(Container c) |
|
ContainerLivenessContext.Builder |
ContainerLivenessContext.Builder.setContainer(Container container) |
|
ContainerPrepareContext.Builder |
ContainerPrepareContext.Builder.setContainer(Container container) |
|
ContainerReacquisitionContext.Builder |
ContainerReacquisitionContext.Builder.setContainer(Container container) |
|
ContainerReapContext.Builder |
ContainerReapContext.Builder.setContainer(Container container) |
Set the container within the context.
|
ContainerSignalContext.Builder |
ContainerSignalContext.Builder.setContainer(Container container) |
|
ContainerStartContext.Builder |
ContainerStartContext.Builder.setContainer(Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
NMLeveldbStateStoreService.storeAssignedResources(Container container,
java.lang.String resourceType,
java.util.List<java.io.Serializable> assignedResources) |
|
void |
NMNullStateStoreService.storeAssignedResources(Container container,
java.lang.String resourceType,
java.util.List<java.io.Serializable> assignedResources) |
|
abstract void |
NMStateStoreService.storeAssignedResources(Container container,
java.lang.String resourceType,
java.util.List<java.io.Serializable> assignedResources) |
Store the assigned resources to a container.
|
protected void |
NMStateStoreService.updateContainerResourceMapping(Container container,
java.lang.String resourceType,
java.util.List<java.io.Serializable> assignedResources) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
NMTimelinePublisher.reportContainerResourceUsage(Container container,
java.lang.Long pmemUsage,
java.lang.Float cpuUsagePercentPerCore) |
| Modifier and Type | Method | Description |
|---|---|---|
protected boolean |
ContainerShellWebSocket.checkAuthorization(org.eclipse.jetty.websocket.api.Session session,
Container container) |
Check if user is authorized to access container.
|
| Constructor | Description |
|---|---|
ContainerInfo(Context nmContext,
Container container) |
|
ContainerInfo(Context nmContext,
Container container,
java.lang.String requestUri,
java.lang.String pathPrefix,
java.lang.String remoteUser) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.