You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2019/04/29 09:27:26 UTC
[jira] [Issue Comment Deleted] (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 ]
Gavin updated MESOS-2883:
-------------------------
Comment: was deleted
(was: www.rtat.net)
> 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: Kapil Arya
> Priority: Major
>
> 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
(v7.6.3#76005)