Gilbert Song created MESOS-5657:
-----------------------------------
Summary: Executors should not inherit environment variables from
the agent.
Key: MESOS-5657
URL: https://issues.apache.org/jira/browse/MESOS-5657
Project: Mesos
Issue Type: Bug
Components: containerization
Reporter: Gilbert Song
Assignee: Gilbert Song
Fix For: 1.0.0
Currently executors are inheriting environment variables form the slave in
mesos containerizer. This is problematic, because of two reasons:
1. When we use docker images (such as `mongo`) in unified containerizer,
duplicated environment variables inherited from the slave lead to
initialization failures, because LANG and/or LC_* environment variables are not
set correctly.
2. When we are looking at the environment variables from the executor tasks,
there are pages of environment variables listed, which is redundant and
dangerous.
Depending on the reasons above, we propose that no longer allow executors to
inherit environment variables from the slave. Instead, users should specify all
environment variables they need by setting the slave flag
`--executor_environment_variables` as a JSON format.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)