mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Budnik (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (MESOS-8706) Unify return type of `wait` and `destroy` containerizer methods
Date Thu, 05 Apr 2018 17:53:00 GMT

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

Andrei Budnik reassigned MESOS-8706:
------------------------------------

    Assignee: Andrei Budnik

> Unify return type of `wait` and `destroy` containerizer methods
> ---------------------------------------------------------------
>
>                 Key: MESOS-8706
>                 URL: https://issues.apache.org/jira/browse/MESOS-8706
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Andrei Budnik
>            Assignee: Andrei Budnik
>            Priority: Major
>
> We want to unify return type of both `destroy` and `wait` methods for a containerizer,
because they depend on the same container termination promise in our built-in mesos and docker
containerizers. That gives us an opportunity to simplify launch and destroy logic in composing
containerizer.
> The return type of `destroy()` methods should be changed from:
> {code:java}
> Future<bool> destroy(const ContainerID& containerId);
> {code}
> to
> {code:java}
> Future<Option<ContainerTermination>> destroy(const ContainerID& containerId);{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message