Tom Arnfeld created MESOS-2612:
----------------------------------
Summary: Docker containerizer does not set MESOS_DIRECTORY
Key: MESOS-2612
URL: https://issues.apache.org/jira/browse/MESOS-2612
Project: Mesos
Issue Type: Bug
Components: containerization, docker, slave
Affects Versions: 0.22.0
Reporter: Tom Arnfeld
The {{MESOS_DIRECTORY}} environment variable can be used to get the path to the
working directory of the task/executor, aka the sandbox directory. However, a
differently named environment variable is used in the Docker containerizer,
which is inconsistent with the mesos containerizer and the external
containerizer.
The variable {{MESOS_DIRECTORY}} is actually set in the containerizer utils and
is shared code, however the call to this in the docker code seems to be wrapped
in an if()
https://github.com/apache/mesos/blob/00318fc1b30fc0961c2dfa4d934c37866577d801/src/slave/containerizer/docker.hpp#L353-L361.
Ping [~tnachen]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)