You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Andrei Sekretenko (JIRA)" <ji...@apache.org> on 2019/07/01 16:30:00 UTC

[jira] [Commented] (MESOS-9793) Implement UPDATE_FRAMEWORK call in V0 API

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

Andrei Sekretenko commented on MESOS-9793:
------------------------------------------

{code}
commit 3f49e5543df1a0d5ed8381389fb1ebbe515c9934
Author: Andrei Sekretenko <as...@mesosphere.io>
Date:   Thu Jun 6 17:29:48 2019 -0400

    Implemented V0 UPDATE_FRAMEWORK call in the master.
    
    Implements the UPDATE_FRAMEWORK call in the V0 scheduler API.
    To help keep consistency between V1 and V0 APIs, the V0 call is
    implemented as a wrapper around V1 call, which converts HTTP
    responses with 4xx status codes into FrameworkErrorMessage.
    
    Review: https://reviews.apache.org/r/70751/

{code}
{code}
commit e08dc03cbe97ced82d8d32e4a2f17f13d33abdae
Author: Andrei Sekretenko <as...@mesosphere.io>
Date:   Fri Jun 7 14:37:54 2019 +0200

    Fixed non-deferred callback calling Master::send() in UpdateFramework.
    
    This fixes code introduced in `3f49e5543df`.
    
    Review: https://reviews.apache.org/r/70809/

{code}
{code}
commit 58ec6ca79d02eeaf0dc595d3f7c6dc008890fe74
Author: Andrei Sekretenko <as...@mesosphere.io>
Date:   Wed Jun 12 15:46:55 2019 -0400

    Templatized UPDATE_FRAMEWORK test helpers over type of FrameworkInfo.
    
    This patch makes possible to use the same helper functions in tests of
    both V1 and V0 UPDATE_FRAMEWORK calls by templatizing them over type of
    FrameworkInfo.
    
    Review: https://reviews.apache.org/r/70753/

{code}
{code}
commit 79c32082b820ef28447d5f9509936a7992144484
Author: Andrei Sekretenko <as...@mesosphere.io>
Date:   Wed Jun 12 15:47:02 2019 -0400

    Moved UPDATE_FRAMEWORK test helpers to appropriate namespaces.
    
    Review: https://reviews.apache.org/r/70754/

{code}
{code}
commit 5a3f047a1085f6614be01b057fc1cdbc2c913f48
Author: Andrei Sekretenko <as...@mesosphere.io>
Date:   Wed Jun 12 15:47:08 2019 -0400

    Added tests for the V0 UPDATE_FRAMEWORK scheduler call.
    
    Review: https://reviews.apache.org/r/70755/

{code}
{code}
commit 203096466435dac62b89f3d16822160fab2dee78
Author: Andrei Sekretenko <as...@mesosphere.io>
Date:   Thu Jun 13 14:47:25 2019 -0400

    Replaced a set of single '*' role in SCRIPT_TEST ACL with ANY.
    
    This patch changes the roles set in the ACL used by SCRIPT_TESTs for the
    `register_frameworks` action from the '*' role to `ANY`. This is needed
    for adding and removing roles via the UPDATE_FRAMEWORK call in
    `ExamplesTest`s.
    
    Review: https://reviews.apache.org/r/70814/

{code}
{code}
commit 244c27b61a63948905225c34d2cc833c3e2a55de
Author: Andrei Sekretenko <as...@mesosphere.io>
Date:   Sat Jun 15 12:23:12 2019 -0400

    Made scheduler driver's updateFramework() require FrameworkInfo with ID.
    
    This patch makes it mandatory for the caller to fill the 'id' field of
    the FrameworkInfo passed into MesosSchedulerDriver::updateFramework().
    
    Review: https://reviews.apache.org/r/70854/

{code}
{code}
commit 37891fe86cd1c9b1500ddd326dbfcf6edddc639e
Author: Andrei Sekretenko <as...@mesosphere.io>
Date:   Sat Jun 15 12:52:28 2019 -0400

    Adapted UpdateFrameworkV0Test now that FrameworkID needs to be set.
    
    This patch makes the exitsing UpdateFramewornV0 tests fill the
    `FrameworkInfo.id` field and adds tests that invalid values of this
    field are handled properly.
    
    Review: https://reviews.apache.org/r/70855/

{code}
{code}
commit 2f3899e30544102e94e5fdbb91e7cf99066f2552
Author: Andrei Sekretenko <as...@mesosphere.io>
Date:   Sat Jun 15 13:26:09 2019 -0400

    Added updateFramework() method to java V0 scheduler driver bindings.
    
    Review: https://reviews.apache.org/r/70813/

{code}
{code}
commit 45570f13f51f69446b0f56eac24eb44a08f4dd25
Author: Andrei Sekretenko <as...@mesosphere.io>
Date:   Wed Jun 19 18:36:28 2019 -0400

    Fixed flaky UpdateFrameworkV0Test.DriverErrorOnFrameworkIDMismatch.
    
    This patch removes a spurious call of driver.start() before setting
    expectations on the scheduler's mock methods.
    
    Review: https://reviews.apache.org/r/70898/

{code}
{code}
commit c9ff134d10f5fb7875fdc99a36a97e6c233758b3
Author: Andrei Sekretenko <as...@mesosphere.io>
Date:   Thu Jun 20 13:20:18 2019 -0400

    Consolidated creating std::vector from Collection in V0 Java bindings.
    
    This patch replaces several pieces of code which build std::vector<T>
    from a Java collection with a single function template.
    This is a prerequisite for adding one more collection argument to the
    bindings.
    
    Review: https://reviews.apache.org/r/70896/

{code}

> Implement UPDATE_FRAMEWORK call in V0 API
> -----------------------------------------
>
>                 Key: MESOS-9793
>                 URL: https://issues.apache.org/jira/browse/MESOS-9793
>             Project: Mesos
>          Issue Type: Task
>            Reporter: Andrei Sekretenko
>            Assignee: Andrei Sekretenko
>            Priority: Major
>              Labels: multitenancy, resource-management
>




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