You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/07/22 01:10:22 UTC
mesos git commit: Documented the executor envirment variable
'MESOS_SANDBOX'.
Repository: mesos
Updated Branches:
refs/heads/master f69a27c43 -> ca5710e0a
Documented the executor envirment variable 'MESOS_SANDBOX'.
Review: https://reviews.apache.org/r/50260/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ca5710e0
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ca5710e0
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ca5710e0
Branch: refs/heads/master
Commit: ca5710e0acaccbf6016ad8d65a71fba8ad1b70fe
Parents: f69a27c
Author: Gilbert Song <so...@gmail.com>
Authored: Thu Jul 21 18:10:11 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Thu Jul 21 18:10:11 2016 -0700
----------------------------------------------------------------------
docs/executor-http-api.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/ca5710e0/docs/executor-http-api.md
----------------------------------------------------------------------
diff --git a/docs/executor-http-api.md b/docs/executor-http-api.md
index 17ba6f6..fb70f75 100644
--- a/docs/executor-http-api.md
+++ b/docs/executor-http-api.md
@@ -325,7 +325,8 @@ The following environment variables are set by the agent that can be used by the
* `MESOS_FRAMEWORK_ID`: `FrameworkID` of the scheduler needed as part of the `SUBSCRIBE` call.
* `MESOS_EXECUTOR_ID`: `ExecutorID` of the executor needed as part of the `SUBSCRIBE` call.
-* `MESOS_DIRECTORY`: Path to the working directory for the executor.
+* `MESOS_DIRECTORY`: Path to the working directory for the executor on the host filesystem (deprecated).
+* `MESOS_SANDBOX`: Path to the mapped sandbox inside of the container (determined by the agent flag `sandbox_directory`) for either mesos container with image or docker container. For the case of command task without image specified, it is the path to the sandbox on the host filesystem, which is identical to `MESOS_DIRECTORY`. `MESOS_DIRECTORY` is always the sandbox on the host filesystem.
* `MESOS_AGENT_ENDPOINT`: agent endpoint i.e. ip:port to be used by the executor to connect to the agent.
* `MESOS_CHECKPOINT`: If set to true, denotes that framework has checkpointing enabled.
* `MESOS_EXECUTOR_SHUTDOWN_GRACE_PERIOD`: Amount of time the agent would wait for an executor to shut down (e.g., 60secs, 3mins etc.) after sending a `SHUTDOWN` event.