| 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 | Description |
|---|---|---|
static PrivilegedOperation |
PrivilegedOperationExecutor.squashCGroupOperations(java.util.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 | Description |
|---|---|---|
org.apache.hadoop.hdfs.protocol.datatransfer.IOStreamPair |
PrivilegedOperationExecutor.executePrivilegedInteractiveOperation(java.util.List<java.lang.String> prefixCommands,
PrivilegedOperation operation) |
|
java.lang.String |
PrivilegedOperationExecutor.executePrivilegedOperation(java.util.List<java.lang.String> prefixCommands,
PrivilegedOperation operation,
java.io.File workingDir,
java.util.Map<java.lang.String,java.lang.String> env,
boolean grabOutput,
boolean inheritParentEnv) |
Executes a privileged operation.
|
java.lang.String |
PrivilegedOperationExecutor.executePrivilegedOperation(PrivilegedOperation operation,
boolean grabOutput) |
Executes a privileged operation.
|
java.lang.String[] |
PrivilegedOperationExecutor.getPrivilegedOperationExecutionCommand(java.util.List<java.lang.String> prefixCommands,
PrivilegedOperation operation) |
| Modifier and Type | Method | Description |
|---|---|---|
static PrivilegedOperation |
PrivilegedOperationExecutor.squashCGroupOperations(java.util.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 | Description |
|---|---|---|
java.util.List<PrivilegedOperation> |
CGroupsBlkioResourceHandlerImpl.bootstrap(org.apache.hadoop.conf.Configuration configuration) |
|
java.util.List<PrivilegedOperation> |
CGroupsCpuResourceHandlerImpl.bootstrap(org.apache.hadoop.conf.Configuration conf) |
|
java.util.List<PrivilegedOperation> |
CGroupsMemoryResourceHandlerImpl.bootstrap(org.apache.hadoop.conf.Configuration conf) |
|
java.util.List<PrivilegedOperation> |
NetworkPacketTaggingHandlerImpl.bootstrap(org.apache.hadoop.conf.Configuration configuration) |
Bootstrapping network-tagging-handler - mounts net_cls
controller.
|
java.util.List<PrivilegedOperation> |
ResourceHandler.bootstrap(org.apache.hadoop.conf.Configuration configuration) |
Bootstrap resource susbsystem.
|
java.util.List<PrivilegedOperation> |
ResourceHandlerChain.bootstrap(org.apache.hadoop.conf.Configuration configuration) |
|
java.util.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
|
java.util.List<PrivilegedOperation> |
CGroupsBlkioResourceHandlerImpl.postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
CGroupsCpuResourceHandlerImpl.postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
CGroupsMemoryResourceHandlerImpl.postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
NetworkPacketTaggingHandlerImpl.postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Cleanup operation once container is completed - deletes cgroup.
|
java.util.List<PrivilegedOperation> |
ResourceHandler.postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Perform any tasks necessary after container completion.
|
java.util.List<PrivilegedOperation> |
ResourceHandlerChain.postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.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).
|
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.reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
CGroupsCpuResourceHandlerImpl.reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
CGroupsMemoryResourceHandlerImpl.reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.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.
|
java.util.List<PrivilegedOperation> |
ResourceHandler.reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
Require state for container that was already launched
|
java.util.List<PrivilegedOperation> |
ResourceHandlerChain.reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.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
|
java.util.List<PrivilegedOperation> |
CGroupsBlkioResourceHandlerImpl.teardown() |
|
java.util.List<PrivilegedOperation> |
CGroupsCpuResourceHandlerImpl.teardown() |
|
java.util.List<PrivilegedOperation> |
CGroupsMemoryResourceHandlerImpl.teardown() |
|
java.util.List<PrivilegedOperation> |
NetworkPacketTaggingHandlerImpl.teardown() |
|
java.util.List<PrivilegedOperation> |
ResourceHandler.teardown() |
Teardown environment for resource subsystem if requested.
|
java.util.List<PrivilegedOperation> |
ResourceHandlerChain.teardown() |
|
java.util.List<PrivilegedOperation> |
TrafficControlBandwidthHandlerImpl.teardown() |
|
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 |
|---|---|---|
java.util.List<PrivilegedOperation> |
FpgaResourceHandlerImpl.bootstrap(org.apache.hadoop.conf.Configuration configuration) |
|
java.util.List<PrivilegedOperation> |
FpgaResourceHandlerImpl.postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
FpgaResourceHandlerImpl.preStart(Container container) |
|
java.util.List<PrivilegedOperation> |
FpgaResourceHandlerImpl.reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
FpgaResourceHandlerImpl.teardown() |
|
java.util.List<PrivilegedOperation> |
FpgaResourceHandlerImpl.updateContainer(Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<PrivilegedOperation> |
GpuResourceHandlerImpl.bootstrap(org.apache.hadoop.conf.Configuration configuration) |
|
java.util.List<PrivilegedOperation> |
GpuResourceHandlerImpl.postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
GpuResourceHandlerImpl.preStart(Container container) |
|
java.util.List<PrivilegedOperation> |
GpuResourceHandlerImpl.reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
GpuResourceHandlerImpl.teardown() |
|
java.util.List<PrivilegedOperation> |
GpuResourceHandlerImpl.updateContainer(Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<PrivilegedOperation> |
NumaResourceHandlerImpl.bootstrap(org.apache.hadoop.conf.Configuration configuration) |
|
java.util.List<PrivilegedOperation> |
NumaResourceHandlerImpl.postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
NumaResourceHandlerImpl.preStart(Container container) |
|
java.util.List<PrivilegedOperation> |
NumaResourceHandlerImpl.reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
NumaResourceHandlerImpl.teardown() |
|
java.util.List<PrivilegedOperation> |
NumaResourceHandlerImpl.updateContainer(Container container) |
| Modifier and Type | Method | Description |
|---|---|---|
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) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.List<PrivilegedOperation> |
DeviceResourceHandlerImpl.bootstrap(org.apache.hadoop.conf.Configuration configuration) |
|
java.util.List<PrivilegedOperation> |
DeviceResourceHandlerImpl.postComplete(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
DeviceResourceHandlerImpl.preStart(Container container) |
|
java.util.List<PrivilegedOperation> |
DeviceResourceHandlerImpl.reacquireContainer(org.apache.hadoop.yarn.api.records.ContainerId containerId) |
|
java.util.List<PrivilegedOperation> |
DeviceResourceHandlerImpl.teardown() |
|
java.util.List<PrivilegedOperation> |
DeviceResourceHandlerImpl.updateContainer(Container container) |
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.