YARN-8285. Remove unused environment variables from the Docker runtime. Contributed by Eric Badger
This commit is contained in:
parent
34e8b9f9a8
commit
9837ca9cc7
@ -106,9 +106,6 @@
|
|||||||
* will be used to launch the Docker container.
|
* will be used to launch the Docker container.
|
||||||
* </li>
|
* </li>
|
||||||
* <li>
|
* <li>
|
||||||
* {@code YARN_CONTAINER_RUNTIME_DOCKER_IMAGE_FILE} is currently ignored.
|
|
||||||
* </li>
|
|
||||||
* <li>
|
|
||||||
* {@code YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE} controls
|
* {@code YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE} controls
|
||||||
* whether the Docker container's default command is overridden. When set
|
* whether the Docker container's default command is overridden. When set
|
||||||
* to {@code true}, the Docker container's command will be
|
* to {@code true}, the Docker container's command will be
|
||||||
@ -198,9 +195,6 @@ public class DockerLinuxContainerRuntime implements LinuxContainerRuntime {
|
|||||||
public static final String ENV_DOCKER_CONTAINER_IMAGE =
|
public static final String ENV_DOCKER_CONTAINER_IMAGE =
|
||||||
"YARN_CONTAINER_RUNTIME_DOCKER_IMAGE";
|
"YARN_CONTAINER_RUNTIME_DOCKER_IMAGE";
|
||||||
@InterfaceAudience.Private
|
@InterfaceAudience.Private
|
||||||
public static final String ENV_DOCKER_CONTAINER_IMAGE_FILE =
|
|
||||||
"YARN_CONTAINER_RUNTIME_DOCKER_IMAGE_FILE";
|
|
||||||
@InterfaceAudience.Private
|
|
||||||
public static final String ENV_DOCKER_CONTAINER_RUN_OVERRIDE_DISABLE =
|
public static final String ENV_DOCKER_CONTAINER_RUN_OVERRIDE_DISABLE =
|
||||||
"YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE";
|
"YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE";
|
||||||
@InterfaceAudience.Private
|
@InterfaceAudience.Private
|
||||||
@ -216,9 +210,6 @@ public class DockerLinuxContainerRuntime implements LinuxContainerRuntime {
|
|||||||
public static final String ENV_DOCKER_CONTAINER_RUN_PRIVILEGED_CONTAINER =
|
public static final String ENV_DOCKER_CONTAINER_RUN_PRIVILEGED_CONTAINER =
|
||||||
"YARN_CONTAINER_RUNTIME_DOCKER_RUN_PRIVILEGED_CONTAINER";
|
"YARN_CONTAINER_RUNTIME_DOCKER_RUN_PRIVILEGED_CONTAINER";
|
||||||
@InterfaceAudience.Private
|
@InterfaceAudience.Private
|
||||||
public static final String ENV_DOCKER_CONTAINER_RUN_ENABLE_USER_REMAPPING =
|
|
||||||
"YARN_CONTAINER_RUNTIME_DOCKER_RUN_ENABLE_USER_REMAPPING";
|
|
||||||
@InterfaceAudience.Private
|
|
||||||
public static final String ENV_DOCKER_CONTAINER_MOUNTS =
|
public static final String ENV_DOCKER_CONTAINER_MOUNTS =
|
||||||
"YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS";
|
"YARN_CONTAINER_RUNTIME_DOCKER_MOUNTS";
|
||||||
@InterfaceAudience.Private
|
@InterfaceAudience.Private
|
||||||
|
Loading…
Reference in New Issue
Block a user