mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jie Yu <yujie....@gmail.com>
Subject Re: Review Request 62502: Added events to publish and unpublish resources.
Date Tue, 17 Oct 2017 20:48:44 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62502/#review188386
-----------------------------------------------------------




include/mesos/resource_provider/resource_provider.proto
Lines 38 (patched)
<https://reviews.apache.org/r/62502/#comment265363>

    No need for `UNPUBLISH` for now. Let's introduce it once we actually need it.



include/mesos/resource_provider/resource_provider.proto
Lines 53-54 (patched)
<https://reviews.apache.org/r/62502/#comment265366>

    Please adjust the comments here. This is for the agent to ask the RP agent to make the
resources ready to be used on the agent node.



include/mesos/resource_provider/resource_provider.proto
Lines 57-58 (patched)
<https://reviews.apache.org/r/62502/#comment265365>

    These two are not no needed for now. Let's remove it for now.



include/mesos/resource_provider/resource_provider.proto
Lines 62-67 (patched)
<https://reviews.apache.org/r/62502/#comment265364>

    See comments above. Remove this.



include/mesos/resource_provider/resource_provider.proto
Lines 88 (patched)
<https://reviews.apache.org/r/62502/#comment265368>

    Ditto on removal for now.



include/mesos/resource_provider/resource_provider.proto
Lines 124-126 (patched)
<https://reviews.apache.org/r/62502/#comment265367>

    Ditto on removal for now


- Jie Yu


On Oct. 13, 2017, 12:01 p.m., Jan Schlicht wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/62502/
> -----------------------------------------------------------
> 
> (Updated Oct. 13, 2017, 12:01 p.m.)
> 
> 
> Review request for mesos, Benjamin Bannier, Chun-Hung Hsiao, and Jie Yu.
> 
> 
> Bugs: MESOS-8089
>     https://issues.apache.org/jira/browse/MESOS-8089
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Before launching a task that use resource provider resources, the Mesos
> master will instruct the resource provider to make these resources
> available for the task. External resource providers will checkpoint
> informations to be able to reconcile resource usage in case of a
> failover. Resource providers will acknowledge the 'PUBLISH'/'UNPUBLISH'
> operations by sending back 'PUBLISHED'/'UNPUBLISHED' together with
> the UUID of the operation.
> 
> 
> Diffs
> -----
> 
>   include/mesos/resource_provider/resource_provider.proto f5a9073075327019fd133bd51265f695ef464845

>   include/mesos/v1/resource_provider/resource_provider.proto e5cbede5b6e57a8641fca1ebfee5454f292cc24c

>   src/resource_provider/manager.cpp 31fcb789f5ab907511e868c374c49f7457a33ed3 
>   src/resource_provider/storage/provider.cpp 46224997430ac0c568904d80014166a6f059907f

>   src/resource_provider/validation.cpp d2927227f60ab0d4ae2481ad73a31ee444b48ee0 
>   src/tests/mesos.hpp 24d220e292bc1e137992e8f81484477b62bd0896 
> 
> 
> Diff: https://reviews.apache.org/r/62502/diff/2/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jan Schlicht
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message