| Package | Description | 
|---|---|
| org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.privileged | |
| org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources | |
| org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.fpga | |
| org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.gpu | |
| org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.numa | Package org.apache.hadoop.yarn.server.nodemanager.containermanager.linux. | 
| org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime.docker | Package containing classes related to Docker commands and common operations
 used within the @{link DockerLinuxContainerRuntime}. | 
| org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.deviceframework | Licensed to the Apache Software Foundation (ASF) under one
 or more contributor license agreements. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PrivilegedOperation | PrivilegedOperationExecutor. squashCGroupOperations(List<PrivilegedOperation> ops)Squash operations for cgroups - e.g mount, add pid to cgroup etc .,
 For now, we only implement squashing for 'add pid to cgroup' since this
 is the only optimization relevant to launching containers | 
| Modifier and Type | Method and Description | 
|---|---|
| org.apache.hadoop.hdfs.protocol.datatransfer.IOStreamPair | PrivilegedOperationExecutor. executePrivilegedInteractiveOperation(List<String> prefixCommands,
                                     PrivilegedOperation operation) | 
| String | PrivilegedOperationExecutor. executePrivilegedOperation(List<String> prefixCommands,
                          PrivilegedOperation operation,
                          File workingDir,
                          Map<String,String> env,
                          boolean grabOutput,
                          boolean inheritParentEnv)Executes a privileged operation. | 
| String | PrivilegedOperationExecutor. executePrivilegedOperation(PrivilegedOperation operation,
                          boolean grabOutput)Executes a privileged operation. | 
| String[] | PrivilegedOperationExecutor. getPrivilegedOperationExecutionCommand(List<String> prefixCommands,
                                      PrivilegedOperation operation) | 
| Modifier and Type | Method and Description | 
|---|---|
| static PrivilegedOperation | PrivilegedOperationExecutor. squashCGroupOperations(List<PrivilegedOperation> ops)Squash operations for cgroups - e.g mount, add pid to cgroup etc .,
 For now, we only implement squashing for 'add pid to cgroup' since this
 is the only optimization relevant to launching containers | 
| Modifier and Type | Method and Description | 
|---|---|
| List<PrivilegedOperation> | TrafficControlBandwidthHandlerImpl. bootstrap(org.apache.hadoop.conf.Configuration configuration)Bootstrapping 'outbound-bandwidth' resource handler - mounts net_cls
 controller and bootstraps a traffic control bandwidth shaping hierarchy | 
| List<PrivilegedOperation> | CGroupsMemoryResourceHandlerImpl. bootstrap(org.apache.hadoop.conf.Configuration conf) | 
| List<PrivilegedOperation> | NetworkPacketTaggingHandlerImpl. bootstrap(org.apache.hadoop.conf.Configuration configuration)Bootstrapping network-tagging-handler - mounts net_cls
 controller. | 
| List<PrivilegedOperation> | ResourceHandler. bootstrap(org.apache.hadoop.conf.Configuration configuration)Bootstrap resource susbsystem. | 
| List<PrivilegedOperation> | CGroupsCpuResourceHandlerImpl. bootstrap(org.apache.hadoop.conf.Configuration conf) | 
| List<PrivilegedOperation> | CGroupsBlkioResourceHandlerImpl. bootstrap(org.apache.hadoop.conf.Configuration configuration) | 
| List<PrivilegedOperation> | ResourceHandlerChain. bootstrap(org.apache.hadoop.conf.Configuration configuration) | 
| List<PrivilegedOperation> | TrafficControlBandwidthHandlerImpl. postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId)Cleanup operations once container is completed - deletes cgroup and
 removes traffic shaping rule(s). | 
| List<PrivilegedOperation> | CGroupsMemoryResourceHandlerImpl. postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | NetworkPacketTaggingHandlerImpl. postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId)Cleanup operation once container is completed - deletes cgroup. | 
| List<PrivilegedOperation> | ResourceHandler. postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId)Perform any tasks necessary after container completion. | 
| List<PrivilegedOperation> | CGroupsCpuResourceHandlerImpl. postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | CGroupsBlkioResourceHandlerImpl. postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | ResourceHandlerChain. postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | TrafficControlBandwidthHandlerImpl. preStart(Container container)Pre-start hook for 'outbound-bandwidth' resource. | 
| List<PrivilegedOperation> | CGroupsMemoryResourceHandlerImpl. preStart(Container container) | 
| List<PrivilegedOperation> | NetworkPacketTaggingHandlerImpl. preStart(Container container)Pre-start hook for network-tagging-handler. | 
| List<PrivilegedOperation> | ResourceHandler. preStart(Container container)Prepare a resource environment for container launch | 
| List<PrivilegedOperation> | CGroupsCpuResourceHandlerImpl. preStart(Container container) | 
| List<PrivilegedOperation> | CGroupsBlkioResourceHandlerImpl. preStart(Container container) | 
| List<PrivilegedOperation> | ResourceHandlerChain. preStart(Container container) | 
| List<PrivilegedOperation> | TrafficControlBandwidthHandlerImpl. reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId)Reacquires state for a container - reads the classid from the cgroup
 being used for the container being reacquired | 
| List<PrivilegedOperation> | CGroupsMemoryResourceHandlerImpl. reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | NetworkPacketTaggingHandlerImpl. reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId)Reacquires state for a container - reads the classid from the cgroup
 being used for the container being reacquired. | 
| List<PrivilegedOperation> | ResourceHandler. reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId)Require state for container that was already launched | 
| List<PrivilegedOperation> | CGroupsCpuResourceHandlerImpl. reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | CGroupsBlkioResourceHandlerImpl. reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | ResourceHandlerChain. reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | TrafficControlBandwidthHandlerImpl. teardown() | 
| List<PrivilegedOperation> | CGroupsMemoryResourceHandlerImpl. teardown() | 
| List<PrivilegedOperation> | NetworkPacketTaggingHandlerImpl. teardown() | 
| List<PrivilegedOperation> | ResourceHandler. teardown()Teardown environment for resource subsystem if requested. | 
| List<PrivilegedOperation> | CGroupsCpuResourceHandlerImpl. teardown() | 
| List<PrivilegedOperation> | CGroupsBlkioResourceHandlerImpl. teardown() | 
| List<PrivilegedOperation> | ResourceHandlerChain. teardown() | 
| List<PrivilegedOperation> | TrafficControlBandwidthHandlerImpl. updateContainer(Container container) | 
| List<PrivilegedOperation> | CGroupsMemoryResourceHandlerImpl. updateContainer(Container container) | 
| List<PrivilegedOperation> | NetworkPacketTaggingHandlerImpl. updateContainer(Container container) | 
| List<PrivilegedOperation> | ResourceHandler. updateContainer(Container container)Update state for container that was already launched | 
| List<PrivilegedOperation> | CGroupsCpuResourceHandlerImpl. updateContainer(Container container) | 
| List<PrivilegedOperation> | CGroupsBlkioResourceHandlerImpl. updateContainer(Container container) | 
| List<PrivilegedOperation> | ResourceHandlerChain. updateContainer(Container container) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<PrivilegedOperation> | FpgaResourceHandlerImpl. bootstrap(org.apache.hadoop.conf.Configuration configuration) | 
| List<PrivilegedOperation> | FpgaResourceHandlerImpl. postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | FpgaResourceHandlerImpl. preStart(Container container) | 
| List<PrivilegedOperation> | FpgaResourceHandlerImpl. reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | FpgaResourceHandlerImpl. teardown() | 
| List<PrivilegedOperation> | FpgaResourceHandlerImpl. updateContainer(Container container) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<PrivilegedOperation> | GpuResourceHandlerImpl. bootstrap(org.apache.hadoop.conf.Configuration configuration) | 
| List<PrivilegedOperation> | GpuResourceHandlerImpl. postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | GpuResourceHandlerImpl. preStart(Container container) | 
| List<PrivilegedOperation> | GpuResourceHandlerImpl. reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | GpuResourceHandlerImpl. teardown() | 
| List<PrivilegedOperation> | GpuResourceHandlerImpl. updateContainer(Container container) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<PrivilegedOperation> | NumaResourceHandlerImpl. bootstrap(org.apache.hadoop.conf.Configuration configuration) | 
| List<PrivilegedOperation> | NumaResourceHandlerImpl. postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | NumaResourceHandlerImpl. preStart(Container container) | 
| List<PrivilegedOperation> | NumaResourceHandlerImpl. reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | NumaResourceHandlerImpl. teardown() | 
| List<PrivilegedOperation> | NumaResourceHandlerImpl. updateContainer(Container container) | 
| Modifier and Type | Method and Description | 
|---|---|
| PrivilegedOperation | DockerCommand. preparePrivilegedOperation(DockerCommand dockerCommand,
                          String containerName,
                          Map<String,String> env,
                          Context nmContext)Prepare the privileged operation object that will be used to invoke
 the container-executor. | 
| PrivilegedOperation | DockerInspectCommand. preparePrivilegedOperation(DockerCommand dockerCommand,
                          String containerName,
                          Map<String,String> env,
                          Context nmContext) | 
| PrivilegedOperation | DockerRmCommand. preparePrivilegedOperation(DockerCommand dockerCommand,
                          String containerName,
                          Map<String,String> env,
                          Context nmContext) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<PrivilegedOperation> | DeviceResourceHandlerImpl. bootstrap(org.apache.hadoop.conf.Configuration configuration) | 
| List<PrivilegedOperation> | DeviceResourceHandlerImpl. postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | DeviceResourceHandlerImpl. preStart(Container container) | 
| List<PrivilegedOperation> | DeviceResourceHandlerImpl. reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| List<PrivilegedOperation> | DeviceResourceHandlerImpl. teardown() | 
| List<PrivilegedOperation> | DeviceResourceHandlerImpl. updateContainer(Container container) | 
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.