You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jie Yu (JIRA)" <ji...@apache.org> on 2015/06/18 02:32:00 UTC

[jira] [Assigned] (MESOS-2883) Do not call hook manager if no hooks installed

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

Jie Yu reassigned MESOS-2883:
-----------------------------

    Assignee: Jie Yu  (was: Kapil Arya)

> Do not call hook manager if no hooks installed
> ----------------------------------------------
>
>                 Key: MESOS-2883
>                 URL: https://issues.apache.org/jira/browse/MESOS-2883
>             Project: Mesos
>          Issue Type: Improvement
>          Components: modules
>            Reporter: Kapil Arya
>            Assignee: Jie Yu
>
> Hooks modules allow us to provide decorators during various aspects of a task lifecycle such as label decorator, environment decorator, etc.  Often the call into such a decorator hooks results in a new copy of labels, environment, etc., being returned to the call site. This is an unnecessary overhead if there are no hooks installed.
> The proper way would be to call decorators via the hook manager only if there are some hooks installed. This would prevent unnecessary copying overhead if no hooks are available.



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