Jie Yu created MESOS-7127:
-----------------------------
Summary: Agent executor_environment_variables cannot influence
docker executor.
Key: MESOS-7127
URL: https://issues.apache.org/jira/browse/MESOS-7127
Project: Mesos
Issue Type: Bug
Affects Versions: 1.1.0, 1.0.2, 0.28.3, 1.2.0
Reporter: Jie Yu
For instance, explicitly setting `logging_level` in
`executor_environment_variables` cannot influence the docker executor.
The main reason is because we stringify the flags when launching docker
executor. Flags like `logging_level` has a default value, and the subprocess
implementation will always stringify the flags that has a default value, which
prevent environment variables from influencing the docker executor.
https://github.com/apache/mesos/blob/1.2.x/src/slave/containerizer/docker.cpp#L1468-L1492
I think the subprocess implementation should not stringify the flags that has a
default value, but didn't set explicitly (need to check if this is possible).
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)