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

Jie Yu commented on MESOS-7837:
-------------------------------

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)

Reply via email to