Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
0.22.0
-
None
-
Mesosphere Q1 Sprint 5 - 3/20
Description
static ExecutorInfo decorateExecutorEnvironment( ExecutorInfo executorInfo, const TaskInfo& taskInfo) { // Merge environment variables retrieved from label-decorator hooks. executorInfo.mutable_command()->mutable_environment()->MergeFrom( HookManager::slaveLaunchExecutorEnvironmentDecorator( executorInfo, taskInfo)); return executorInfo; }
does a default allocation of environment, even when the original ExecutorInfo doesn't have one set.
When a new master is elected and receives this copy, it would reject tasks for the same Executor because of this difference:
Existing ExecutorInfo has :
command
environment
{ } value: "./gc_executor" } framework_id { value: "201103282247-0000000019-0000" }------------------------------------------------------------
New Task's ExecutorInfo has:
command
value: "./gc_executor"
}
framework_id
Attachments
Issue Links
- relates to
-
MESOS-3003 Support mounting in default configuration files/volumes into every new container
- Resolved