You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Niklas Quarfot Nielsen (JIRA)" <ji...@apache.org> on 2015/02/12 22:36:12 UTC
[jira] [Created] (MESOS-2351) Enable label and environment
decorators (hooks) to remove label and environment entries
Niklas Quarfot Nielsen created MESOS-2351:
---------------------------------------------
Summary: Enable label and environment decorators (hooks) to remove label and environment entries
Key: MESOS-2351
URL: https://issues.apache.org/jira/browse/MESOS-2351
Project: Mesos
Issue Type: Task
Reporter: Niklas Quarfot Nielsen
We need to change the semantics of decorators to be able to not only add labels and environment variables, but also remove them.
The change is fairly small. The hook manager (and call site) use CopyFrom instead of MergeFrom and hook implementors pass on the labels and environment from task and executor commands respectively.
In the future, we can tag labels such that only labels belonging to a hook type (across master and slave) can be inspected and changed. For now, the active hooks are selected by the operator and there be trusted.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)