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

Jie Yu commented on MESOS-7594:
-------------------------------

commit 1d8992f26acb16c90ad406336fc6a7b9617ce8e3
Author: Jan Schlicht <[email protected]>
Date:   Fri Oct 27 11:38:29 2017 +0200

    Implemented handling of storage related offer operations in master.

    While the resource provider manager is responsible to apply offer
    operations by sending events to the respective resource providers,
    the master takes care of accepting these operations. Hence, for local
    resource providers the master sends an `ApplyResourceOperationMessage`
    to the agent where the resource provider is running on. The agent
    then relays the operation contained in the message to the resource
    provider manager.

    (This is based on https://reviews.apache.org/r/61947)

    Review: https://reviews.apache.org/r/63356

> Implement 'apply' for resource provider related operations
> ----------------------------------------------------------
>
>                 Key: MESOS-7594
>                 URL: https://issues.apache.org/jira/browse/MESOS-7594
>             Project: Mesos
>          Issue Type: Task
>          Components: master
>            Reporter: Jan Schlicht
>            Assignee: Jan Schlicht
>              Labels: mesosphere, storage
>
> Resource providers provide new offer operations ({{CREATE_BLOCK}}, 
> {{DESTROY_BLOCK}}, {{CREATE_VOLUME}}, {{DESTROY_VOLUME}}). These operations 
> can be applied by frameworks when they accept on offer. Handling of these 
> operations has to be added to the master's {{accept}} call. I.e. the 
> corresponding resource provider needs be extracted from the offer's resources 
> and a {{resource_provider::Event::OPERATION}} has to be sent to the resource 
> provider. The resource provider will answer with a 
> {{resource_provider::Call::Update}} which needs to be handled as well.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to