You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2016/08/24 21:37:20 UTC

[jira] [Commented] (MESOS-6045) Implement LAUNCH_GROUP operation in master.

    [ https://issues.apache.org/jira/browse/MESOS-6045?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15435757#comment-15435757 ] 

Benjamin Mahler commented on MESOS-6045:
----------------------------------------

Implementation and a simple test is committed:

{noformat}
commit bf3957f4b534a04a0f76456f76c4e28bdee4e76d
Author: Benjamin Mahler <bm...@apache.org>
Date:   Mon Aug 22 20:38:50 2016 -0700

    Implemented the LaunchGroup Offer::Operation in the master.

    This operation is all-or-nothing, in that all tasks must be
    launched together. If the operation fails, all tasks will
    fail with TASK_ERROR and the appropriate GROUP reason.
    If a task was killed before delivery to the executor, all
    tasks are killed.

    Review: https://reviews.apache.org/r/51320
{noformat}

{noformat}
commit 09429d96c50cc5e9adc96f94d3138a9b245520d8
Author: Benjamin Mahler <bm...@apache.org>
Date:   Mon Aug 22 20:45:33 2016 -0700

    Added a test to ensure the master handles launching task groups.

    For now this test ensures the message is sent to the agent
    in the successful launch path. More tests will be added to
    test the all-or-nothing paths (killed, invalid, unauthorized).

    Review: https://reviews.apache.org/r/51321
{noformat}

[~vinodkone] Ideally we add a few additional tests before resolving this. But we could break these into separate tickets:

* If a pending task in a task group is killed, the entire group is killed.
* If a task in a task group is invalid, the whole group is considered invalid.
* If a task in a task group is unauthorized, the whole group is considered unauthorized.

> Implement LAUNCH_GROUP operation in master.
> -------------------------------------------
>
>                 Key: MESOS-6045
>                 URL: https://issues.apache.org/jira/browse/MESOS-6045
>             Project: Mesos
>          Issue Type: Task
>          Components: master
>            Reporter: Benjamin Mahler
>            Assignee: Benjamin Mahler
>
> The master needs to handle the new {{LAUNCH_GROUP}} operation. This is a bit different than the {{LAUNCH}} operation in that we need to ensure that we do not deliver the task group if any of the tasks fail authorization, are invalid, or are killed while authorization is in progress.
> The entire task group must be delivered in a single message to the agent.



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