You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ey...@apache.org on 2018/08/06 16:38:50 UTC

hadoop git commit: YARN-8624. Updated verbiage around entry point support. Contributed by Craig Condit

Repository: hadoop
Updated Branches:
  refs/heads/trunk bcfc9851f -> ca20e0d7e


YARN-8624. Updated verbiage around entry point support.
           Contributed by Craig Condit


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/ca20e0d7
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/ca20e0d7
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/ca20e0d7

Branch: refs/heads/trunk
Commit: ca20e0d7e9767a7362dddfea8ec19548947d3fd7
Parents: bcfc985
Author: Eric Yang <ey...@apache.org>
Authored: Mon Aug 6 12:37:59 2018 -0400
Committer: Eric Yang <ey...@apache.org>
Committed: Mon Aug 6 12:37:59 2018 -0400

----------------------------------------------------------------------
 .../src/site/markdown/DockerContainers.md             | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/ca20e0d7/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/DockerContainers.md
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/DockerContainers.md b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/DockerContainers.md
index 0001489..d435495 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/DockerContainers.md
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/DockerContainers.md
@@ -316,15 +316,11 @@ set, the behavior will depend on whether the
 the command will be overridden when LCE launches the image with YARN's
 container launch script.
 
-If a Docker image has an
-[entry point](https://docs.docker.com/engine/reference/builder/#entrypoint)
-set, the entry point will be honored, but the default command may be
-overridden, as just mentioned above. Unless the entry point is
-something similar to `sh -c` or
-`YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE` is set to true, the net
-result will likely be undesirable. Because the YARN container launch script
-is required to correctly launch the YARN task, use of entry points is
-discouraged.
+If a Docker image has an entry point set and
+YARN_CONTAINER_RUNTIME_DOCKER_RUN_OVERRIDE_DISABLE is set to true,
+launch_command will be passed to ENTRYPOINT program as CMD parameters in
+Docker.  The format of launch_command looks like: param1,param2 and this
+translates to CMD [ "param1","param2" ] in Docker.
 
 If an application requests a Docker image that has not already been loaded by
 the Docker daemon on the host where it is to execute, the Docker daemon will


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org