| Package | Description |
|---|---|
| org.apache.hadoop.yarn.server.nodemanager | |
| 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.gpu | |
| org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.runtime | |
| 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 | |
| org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu |
| Modifier and Type | Method and Description |
|---|---|
protected PrivilegedOperationExecutor |
LinuxContainerExecutor.getPrivilegedOperationExecutor() |
| Modifier and Type | Method and Description |
|---|---|
static PrivilegedOperationExecutor |
PrivilegedOperationExecutor.getInstance(org.apache.hadoop.conf.Configuration conf) |
| Constructor and Description |
|---|
TrafficControlBandwidthHandlerImpl(PrivilegedOperationExecutor privilegedOperationExecutor,
CGroupsHandler cGroupsHandler,
org.apache.hadoop.yarn.server.nodemanager.containermanager.linux.resources.TrafficController trafficController) |
| Constructor and Description |
|---|
GpuResourceHandlerImpl(Context nmContext,
CGroupsHandler cGroupsHandler,
PrivilegedOperationExecutor privilegedOperationExecutor) |
| Constructor and Description |
|---|
DefaultLinuxContainerRuntime(PrivilegedOperationExecutor privilegedOperationExecutor)
Create an instance using the given
PrivilegedOperationExecutor
instance for performing operations. |
DockerLinuxContainerRuntime(PrivilegedOperationExecutor privilegedOperationExecutor)
Create an instance using the given
PrivilegedOperationExecutor
instance for performing operations. |
DockerLinuxContainerRuntime(PrivilegedOperationExecutor privilegedOperationExecutor,
CGroupsHandler cGroupsHandler)
Create an instance using the given
PrivilegedOperationExecutor
instance for performing operations and the given CGroupsHandler
instance. |
| Modifier and Type | Method and Description |
|---|---|
static String |
DockerCommandExecutor.executeDockerCommand(DockerCommand dockerCommand,
String containerId,
Map<String,String> env,
org.apache.hadoop.conf.Configuration conf,
PrivilegedOperationExecutor privilegedOperationExecutor,
boolean disableFailureLogging)
Execute a docker command and return the output.
|
static DockerCommandExecutor.DockerContainerStatus |
DockerCommandExecutor.getContainerStatus(String containerId,
org.apache.hadoop.conf.Configuration conf,
PrivilegedOperationExecutor privilegedOperationExecutor)
Get the status of the docker container.
|
| Modifier and Type | Method and Description |
|---|---|
ResourceHandler |
ResourcePlugin.createResourceHandler(Context nmContext,
CGroupsHandler cGroupsHandler,
PrivilegedOperationExecutor privilegedOperationExecutor)
Plugin needs to return
ResourceHandler when any special isolation
required for the resource type. |
| Modifier and Type | Method and Description |
|---|---|
ResourceHandler |
GpuResourcePlugin.createResourceHandler(Context context,
CGroupsHandler cGroupsHandler,
PrivilegedOperationExecutor privilegedOperationExecutor) |
Copyright © 2022 Apache Software Foundation. All rights reserved.