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.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}.
|
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 |
---|
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.
|
Copyright © 2018 Apache Software Foundation. All Rights Reserved.