Details
-
Bug
-
Status: Accepted
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
Due to the hack here, where we add a small set of resources into the command executor:
ExecutorInfo Slave::getExecutorInfo( const FrameworkID& frameworkId, const TaskInfo& task) { if (task.has_command()) { ... // XXX: These are always non-revocable. // Add an allowance for the command executor. This does lead to a // small overcommit of resources. executor.mutable_resources()->MergeFrom( Resources::parse( "cpus:" + stringify(DEFAULT_EXECUTOR_CPUS) + ";" + "mem:" + stringify(DEFAULT_EXECUTOR_MEM.megabytes())).get()); } ... }
The obvious extension here would be to make these revocable, but would be great to remove this hack entirely.
Seems to originate in r/22251 from MESOS-1417.
Attachments
Issue Links
- depends upon
-
MESOS-1718 Command executor can overcommit the agent.
- Accepted
- relates to
-
MESOS-1417 Slave should not send terminal status update before containerizer update is finished
- Resolved