[ 
https://issues.apache.org/jira/browse/MESOS-2351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam B updated MESOS-2351:
--------------------------
    Shepherd: Adam B

> 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
>            Assignee: 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 therefore be trusted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to