Uses of Interface
org.apache.hadoop.yarn.server.nodemanager.containermanager.container.Container
Packages that use Container
Package
Description
This package contains classes related to NM container launch.
Package org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Package for GPU support classes.
Container Scheduler
CSI volumes.
Package org.apache.hadoop.yarn.server.nodemanager.timelineservice contains
classes related to publishing container events and other NM lifecycle events
to ATSv2.
-
Uses of Container in org.apache.hadoop.yarn.server.nodemanager
Fields in org.apache.hadoop.yarn.server.nodemanager with type parameters of type ContainerModifier and TypeFieldDescriptionprotected final ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> NodeManager.NMContext.containersMethods in org.apache.hadoop.yarn.server.nodemanager that return types with arguments of type ContainerModifier and TypeMethodDescriptionConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> Context.getContainers()ConcurrentMap<org.apache.hadoop.yarn.api.records.ContainerId,Container> NodeManager.NMContext.getContainers()Methods in org.apache.hadoop.yarn.server.nodemanager with parameters of type ContainerModifier and TypeMethodDescriptionvoidContainerExecutor.cleanupBeforeRelaunch(Container container) Perform any cleanup before the next launch of the container.ContainerExecutor.getExposedPorts(Container container) LinuxContainerExecutor.getExposedPorts(Container container) String[]ContainerExecutor.getIpAndHost(Container container) String[]LinuxContainerExecutor.getIpAndHost(Container container) static String[]ContainerExecutor.getLocalIpAndHost(Container container) ContainerExecutor.getLocalResources(Container container) LinuxContainerExecutor.getLocalResources(Container container) voidContainerExecutor.pauseContainer(Container container) Pause the container.voidContainerExecutor.resumeContainer(Container container) Resume the container from pause state.Constructors in org.apache.hadoop.yarn.server.nodemanager with parameters of type ContainerModifierConstructorDescriptionDelayedProcessKiller(Container container, String user, String pid, long delayMS, ContainerExecutor.Signal signal, ContainerExecutor containerExecutor) Basic constructor. -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager that return ContainerMethods in org.apache.hadoop.yarn.server.nodemanager.containermanager with parameters of type ContainerModifier and TypeMethodDescriptionprotected voidContainerManagerImpl.authorizeGetAndStopContainerRequest(org.apache.hadoop.yarn.api.records.ContainerId containerId, Container container, boolean stopRequest, org.apache.hadoop.yarn.security.NMTokenIdentifier identifier, String remoteUser) Constructors in org.apache.hadoop.yarn.server.nodemanager.containermanager with parameters of type ContainerModifierConstructorDescriptionAuxServicesEvent(AuxServicesEventType eventType, String user, org.apache.hadoop.yarn.api.records.ApplicationId appId, String serviceId, ByteBuffer serviceData, Container container) AuxServicesEvent(AuxServicesEventType eventType, Container container) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.application
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.application that return types with arguments of type ContainerConstructors in org.apache.hadoop.yarn.server.nodemanager.containermanager.application with parameters of type Container -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.container
Classes in org.apache.hadoop.yarn.server.nodemanager.containermanager.container that implement Container -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher
Fields in org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher declared as ContainerMethods in org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher that return ContainerConstructors in org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher with parameters of type ContainerModifierConstructorDescriptionContainerCleanup(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) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources with parameters of type ContainerModifier and TypeMethodDescriptionNetworkTagMappingJsonManager.getNetworkTagHexID(Container container) NetworkTagMappingManager.getNetworkTagHexID(Container container) Get networkTagHexID for the given container.Pre-start hook for network-tagging-handler.Prepare a resource environment for container launchPre-start hook for 'outbound-bandwidth' resource.AbstractCGroupsCpuResourceHandler.updateContainer(Container container) AbstractCGroupsMemoryResourceHandler.updateContainer(Container container) CGroupsBlkioResourceHandlerImpl.updateContainer(Container container) NetworkPacketTaggingHandlerImpl.updateContainer(Container container) ResourceHandler.updateContainer(Container container) Update state for container that was already launchedResourceHandlerChain.updateContainer(Container container) TrafficControlBandwidthHandlerImpl.updateContainer(Container container) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.fpga
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.fpga with parameters of type ContainerModifier and TypeMethodDescriptionFpgaResourceAllocator.assignFpga(String type, long count, Container container, String ipidHash) AssignFpgaResourceAllocator.FpgaAllocationwith preferred IPID, if no, with random FPGAsFpgaResourceHandlerImpl.getRequestedIPID(Container container) FpgaResourceHandlerImpl.updateContainer(Container container) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu with parameters of type ContainerModifier and TypeMethodDescriptionorg.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu.GpuResourceAllocator.GpuAllocationGpuResourceAllocator.assignGpus(Container container) Assign GPU to the specified container.GpuResourceHandlerImpl.updateContainer(Container container) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.numa
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.numa with parameters of type ContainerModifier and TypeMethodDescriptionNumaResourceAllocator.allocateNumaNodes(Container container) Allocates the available NUMA nodes for the requested containerId with resource in a round robin fashion.NumaResourceHandlerImpl.updateContainer(Container container) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime with parameters of type ContainerModifier and TypeMethodDescriptionprotected booleanOCIContainerRuntime.allowHostPidNamespace(Container container) Return whether the YARN container is allowed to run using the host's PID namespace for the OCI-compliant container.protected booleanOCIContainerRuntime.allowPrivilegedContainerExecution(Container container) Return whether the YARN container is allowed to run in a privileged OCI-compliant container.DefaultLinuxContainerRuntime.getExposedPorts(Container container) DelegatingLinuxContainerRuntime.getExposedPorts(Container container) DockerLinuxContainerRuntime.getExposedPorts(Container container) RuncContainerRuntime.getExposedPorts(Container container) String[]DefaultLinuxContainerRuntime.getIpAndHost(Container container) String[]DelegatingLinuxContainerRuntime.getIpAndHost(Container container) String[]DockerLinuxContainerRuntime.getIpAndHost(Container container) String[]RuncContainerRuntime.getIpAndHost(Container container) DelegatingLinuxContainerRuntime.getLocalResources(Container container) LinuxContainerRuntime.getLocalResources(Container container) RuncContainerRuntime.getLocalResources(Container container) protected booleanOCIContainerRuntime.isContainerRequestedAsPrivileged(Container container) This function only returns whether a privileged container was requested, not whether the container was or will be launched as privileged.RuncContainerRuntime.writeCommandToFile(RuncContainerExecutorConfig runcContainerExecutorConfig, Container container) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event that return ContainerConstructors in org.apache.hadoop.yarn.server.nodemanager.containermanager.localizer.event with parameters of type ContainerModifierConstructorDescriptionContainerLocalizationCleanupEvent(Container c, Map<org.apache.hadoop.yarn.api.records.LocalResourceVisibility, Collection<LocalResourceRequest>> rsrc) Event requesting the cleanup of the rsrc.ContainerLocalizationRequestEvent(Container c, Map<org.apache.hadoop.yarn.api.records.LocalResourceVisibility, Collection<LocalResourceRequest>> rsrc) Event requesting the localization of the rsrc. -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin with parameters of type ContainerModifier and TypeMethodDescriptionDockerCommandPlugin.getCleanupDockerVolumesCommand(Container container) Cleanup volumes created for one docker containerDockerCommandPlugin.getCreateDockerVolumeCommand(Container container) Create volume when needed.voidDockerCommandPlugin.updateDockerRunCommand(DockerRunCommand dockerRunCommand, Container container) Update docker run command -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.deviceframework
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.deviceframework with parameters of type ContainerModifier and TypeMethodDescriptionorg.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.deviceframework.DeviceMappingManager.DeviceAllocationDeviceMappingManager.assignDevices(String resourceName, Container container) DeviceResourceDockerRuntimePluginImpl.getCleanupDockerVolumesCommand(Container container) DeviceResourceDockerRuntimePluginImpl.getCreateDockerVolumeCommand(Container container) DeviceResourceDockerRuntimePluginImpl.getRuntimeSpec(Container container) protected booleanDeviceResourceDockerRuntimePluginImpl.requestedDevice(String resName, Container container) DeviceResourceHandlerImpl.updateContainer(Container container) voidDeviceResourceDockerRuntimePluginImpl.updateDockerRunCommand(DockerRunCommand dockerRunCommand, Container container) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu with parameters of type ContainerModifier and TypeMethodDescriptionNvidiaDockerV1CommandPlugin.getCleanupDockerVolumesCommand(Container container) NvidiaDockerV2CommandPlugin.getCleanupDockerVolumesCommand(Container container) NvidiaDockerV1CommandPlugin.getCreateDockerVolumeCommand(Container container) NvidiaDockerV2CommandPlugin.getCreateDockerVolumeCommand(Container container) protected booleanNvidiaDockerV1CommandPlugin.requestsGpu(Container container) protected booleanNvidiaDockerV2CommandPlugin.requestsGpu(Container container) voidNvidiaDockerV1CommandPlugin.updateDockerRunCommand(DockerRunCommand dockerRunCommand, Container container) voidNvidiaDockerV2CommandPlugin.updateDockerRunCommand(DockerRunCommand dockerRunCommand, Container container) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.runtime
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.runtime that return ContainerMethods in org.apache.hadoop.yarn.server.nodemanager.containermanager.runtime with parameters of type ContainerModifier and TypeMethodDescriptionContainerRuntime.getExposedPorts(Container container) Return the exposed ports of the container.String[]ContainerRuntime.getIpAndHost(Container container) Return the host and ip of the container.Constructors in org.apache.hadoop.yarn.server.nodemanager.containermanager.runtime with parameters of type Container -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.scheduler
Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.scheduler that return ContainerModifier and TypeMethodDescriptionContainerSchedulerEvent.getContainer()Get the container associated with the event.Methods in org.apache.hadoop.yarn.server.nodemanager.containermanager.scheduler with parameters of type ContainerModifier and TypeMethodDescriptionvoidAllocationBasedResourceUtilizationTracker.addContainerResources(Container container) Add Container's resources to the accumulated Utilization.voidResourceUtilizationTracker.addContainerResources(Container container) Add Container's resources to Node Utilization.booleanAllocationBasedResourceUtilizationTracker.hasResourcesAvailable(Container container) Check if NM has resources available currently to run the container.booleanResourceUtilizationTracker.hasResourcesAvailable(Container container) Check if NM has resources available currently to run the container.voidContainerScheduler.recoverActiveContainer(Container container, NMStateStoreService.RecoveredContainerState rcs) Populates auxiliary data structures used by the ContainerScheduler on recovery.protected voidContainerScheduler.scheduleContainer(Container container) voidAllocationBasedResourceUtilizationTracker.subtractContainerResource(Container container) Subtract Container's resources to the accumulated Utilization.voidResourceUtilizationTracker.subtractContainerResource(Container container) Subtract Container's resources to Node Utilization.Constructors in org.apache.hadoop.yarn.server.nodemanager.containermanager.scheduler with parameters of type ContainerModifierConstructorDescriptionContainerSchedulerEvent(Container container, ContainerSchedulerEventType eventType) Create instance of Event.UpdateContainerSchedulerEvent(Container container, org.apache.hadoop.yarn.security.ContainerTokenIdentifier origToken, UpdateContainerTokenEvent event) Create instance of Event. -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.containermanager.volume.csi
Constructors in org.apache.hadoop.yarn.server.nodemanager.containermanager.volume.csi with parameters of type ContainerModifierConstructorDescriptionContainerVolumePublisher(Container container, String localMountRoot, OCIContainerRuntime runtime) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.executor
Methods in org.apache.hadoop.yarn.server.nodemanager.executor that return ContainerModifier and TypeMethodDescriptionContainerExecContext.getContainer()ContainerLivenessContext.getContainer()ContainerPrepareContext.getContainer()ContainerReacquisitionContext.getContainer()ContainerReapContext.getContainer()Get the container set for the context.ContainerSignalContext.getContainer()ContainerStartContext.getContainer()Methods in org.apache.hadoop.yarn.server.nodemanager.executor with parameters of type ContainerModifier and TypeMethodDescriptionContainerExecContext.Builder.setContainer(Container c) ContainerLivenessContext.Builder.setContainer(Container container) ContainerPrepareContext.Builder.setContainer(Container container) ContainerReacquisitionContext.Builder.setContainer(Container container) ContainerReapContext.Builder.setContainer(Container container) Set the container within the context.ContainerSignalContext.Builder.setContainer(Container container) ContainerStartContext.Builder.setContainer(Container container) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.recovery
Methods in org.apache.hadoop.yarn.server.nodemanager.recovery with parameters of type ContainerModifier and TypeMethodDescriptionvoidNMLeveldbStateStoreService.storeAssignedResources(Container container, String resourceType, List<Serializable> assignedResources) voidNMNullStateStoreService.storeAssignedResources(Container container, String resourceType, List<Serializable> assignedResources) abstract voidNMStateStoreService.storeAssignedResources(Container container, String resourceType, List<Serializable> assignedResources) Store the assigned resources to a container.protected voidNMStateStoreService.updateContainerResourceMapping(Container container, String resourceType, List<Serializable> assignedResources) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.timelineservice
Methods in org.apache.hadoop.yarn.server.nodemanager.timelineservice with parameters of type ContainerModifier and TypeMethodDescriptionvoidNMTimelinePublisher.reportContainerResourceUsage(Container container, Long pmemUsage, Float cpuUsagePercentPerCore) -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.webapp
Methods in org.apache.hadoop.yarn.server.nodemanager.webapp with parameters of type ContainerModifier and TypeMethodDescriptionprotected booleanContainerShellWebSocket.checkAuthorization(org.eclipse.jetty.websocket.api.Session session, Container container) Check if user is authorized to access container. -
Uses of Container in org.apache.hadoop.yarn.server.nodemanager.webapp.dao
Constructors in org.apache.hadoop.yarn.server.nodemanager.webapp.dao with parameters of type ContainerModifierConstructorDescriptionContainerInfo(Context nmContext, Container container) ContainerInfo(Context nmContext, Container container, String requestUri, String pathPrefix, String remoteUser)