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/26 18:31:00 UTC
[jira] [Comment Edited] (MESOS-9864) Add enchanced multi-role
capability support to python bindings.
[ https://issues.apache.org/jira/browse/MESOS-9864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894042#comment-16894042 ]
Andrei Sekretenko edited comment on MESOS-9864 at 7/26/19 6:30 PM:
-------------------------------------------------------------------
{code}
commit 254e5c2dd888bd08309dc59254a1cf2d9a745625
Author: Andrei Sekretenko
Date: Wed Jul 24 11:01:39 2019 -0400
Added a helper to create vector from iterable into python bindings.
Review: https://reviews.apache.org/r/71082/
{code}
{code}
commit aebf86f97a77da233b523eb7381bf1132a90410c
Author: Andrei Sekretenko
Date: Wed Jul 24 11:02:04 2019 -0400
Added enchanced multi-role capability support to the python bindings.
This patch adds suppressed roles list to the arguments of the scheduler
driver constructor and `revivieOffers()`/`suppressOffers` methods, and
also adds support of the `updateFramework()` method.
Review: https://reviews.apache.org/r/71083/
{code}
{code}
commit 72ca397be231d8564442f0ad8289bc22dac94eed
Author: Andrei Sekretenko <as...@mesosphere.io>
Date: Wed Jul 24 11:02:15 2019 -0400
Added unsuppressing via `updateFramework()` to python example framework.
This patch ensures that the list of suppressed roles is passed through
the `updateFramework()` of python V0 bindings. Now the framework
subscribes with all roles suppressed and after that issues
UPDATE_FRAMEWORK call to unsuppress offers.
Review: https://reviews.apache.org/r/71084/
{code}
was (Author: asekretenko):
{code}
commit 254e5c2dd888bd08309dc59254a1cf2d9a745625
Author: Andrei Sekretenko
Date: Wed Jul 24 11:01:39 2019 -0400
Added a helper to create vector from iterable into python bindings.
Review: https://reviews.apache.org/r/71082/
{code}
{code}
commit aebf86f97a77da233b523eb7381bf1132a90410c
Author: Andrei Sekretenko
Date: Wed Jul 24 11:02:04 2019 -0400
Added enchanced multi-role capability support to the python bindings.
This patch adds suppressed roles list to the arguments of the scheduler
driver constructor and `revivieOffers()`/`suppressOffers` methods, and
also adds support of the `updateFramework()` method.
Review: https://reviews.apache.org/r/71083/
{code}
{code}
commit 72ca397be231d8564442f0ad8289bc22dac94eed
Author: Andrei Sekretenko <as...@mesosphere.io>
Date: Wed Jul 24 11:02:15 2019 -0400
Added unsuppressing via `updateFramework()` to python example framework.
This patch ensures that the list of suppressed roles is passed through
the `updateFramework()` of python V0 bindings. Now the framework
subscribes with all roles suppressed and after that issues
UPDATE_FRAMEWORK call to unsuppress offers.
Review: https://reviews.apache.org/r/71084/
{code}
> Add enchanced multi-role capability support to python bindings.
> ---------------------------------------------------------------
>
> Key: MESOS-9864
> URL: https://issues.apache.org/jira/browse/MESOS-9864
> Project: Mesos
> Issue Type: Task
> Reporter: Andrei Sekretenko
> Assignee: Andrei Sekretenko
> Priority: Major
> Labels: mesosphere, resource-management
>
> Methods of the V0 SchedulerDriver currently not supported by python bindings:
> * updateFramework()
> * reviveOffers(roles)
> * subscribing with non-empty suppressed roles on construction
> * suppressOffers(roles), if added to the driver
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)