[
https://issues.apache.org/jira/browse/MESOS-7837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16133473#comment-16133473
]
Jie Yu edited comment on MESOS-7837 at 8/18/17 6:57 PM:
--------------------------------------------------------
commit 2c3facbb62cda6ac4d5266a2677b1347c8cf0fd5
Author: Benjamin Bannier <[email protected]>
Date: Fri Aug 18 10:00:25 2017 -0700
Moved and renamed resource provider manager-related tests.
This patch moves the existing `resource_provider_http_api_tests` file
to a more general name. We also rename the existing HTTP test. This
will allow us to collect most resource provider manager-related unit
tests in this file in the future.
Review: https://reviews.apache.org/r/61278/
commit f9ffc24aefee64ef91b50ec48258a15bb99600e5
Author: Benjamin Bannier <[email protected]>
Date: Fri Aug 18 10:00:10 2017 -0700
Stored subscribed resources in resource provider manager.
In order to be able to always communicate the aggregated total
resources available on all subscribed resource providers, a resource
provider manager needs to keep track of the resources of all
subscribed resource providers. This commit adds a field for that the
manager's internal data structures for that purpose.
To make assigned 'ResourceProviderID's opaque to users of managers, the
manager assigns provider ids to all resources added.
Review: https://reviews.apache.org/r/61181/
commit f19cc636305f2542e260b908e55dcffcf03ab228
Author: Benjamin Bannier <[email protected]>
Date: Fri Aug 18 10:00:06 2017 -0700
Added a resource providers total resources to the subscribe call.
Since resource provider resources are dynamic (as opposed to how e.g.,
agent total resources are implemented), they are not part of the
'ResourceProviderInfo'. Instead they are communicated explicitly.
This commit adds total resources the resource provider 'SUBSCRIBE'
call which can be used to communicate the total capacity in both
subscription and resubscription scenarios.
Review: https://reviews.apache.org/r/61180/
commit f6d6ef46b9cf67b48b73afbc5c142d74b517395a
Author: Benjamin Bannier <[email protected]>
Date: Fri Aug 18 10:00:01 2017 -0700
Added 'devolve' overload for 'ResourceProviderID'.
This commit adds the default overload to 'devolve'
'ResourceProviderID's.
Review: https://reviews.apache.org/r/61179/
was (Author: jieyu):
commit f9ffc24aefee64ef91b50ec48258a15bb99600e5
Author: Benjamin Bannier [email protected]
Date: Fri Aug 18 10:00:10 2017 -0700
Stored subscribed resources in resource provider manager.
In order to be able to always communicate the aggregated total
resources available on all subscribed resource providers, a resource
provider manager needs to keep track of the resources of all
subscribed resource providers. This commit adds a field for that the
manager's internal data structures for that purpose.
To make assigned 'ResourceProviderID's opaque to users of managers, the
manager assigns provider ids to all resources added.
Review: https://reviews.apache.org/r/61181/
> Propagate resource updates from local resource providers to master
> ------------------------------------------------------------------
>
> Key: MESOS-7837
> URL: https://issues.apache.org/jira/browse/MESOS-7837
> Project: Mesos
> Issue Type: Improvement
> Components: agent
> Reporter: Benjamin Bannier
> Assignee: Benjamin Bannier
> Labels: mesosphere, storage
>
> When a resource provider registers with a resource provider manager, the
> manager should sent a message to its subscribers informing them on the
> changed resources.
> For the first iteration where we add agent-specific, local resource
> providers, the agent would be subscribed to the manager. It should be changed
> to handle such a resource update by informing the master about its changed
> resources. In order to support master failovers, we should make sure to
> similarly inform the master on agent reregistration.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)