mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anindya Sinha <anindya_si...@apple.com>
Subject Re: Review Request 42995: Allow tasks to set persistent volume as readonly or readwrite resource.
Date Tue, 02 Feb 2016 00:38:41 GMT

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

(Updated Feb. 2, 2016, 12:38 a.m.)


Review request for mesos and Adam B.


Summary (updated)
-----------------

Allow tasks to set persistent volume as readonly or readwrite resource.


Bugs: MESOS-4324
    https://issues.apache.org/jira/browse/MESOS-4324


Repository: mesos


Description (updated)
-------

If the task is the first consumer of the shared persistent volume, then
set the ownership of the persistent volume to match that of the task.
Otherwise, allow the task to be executed only if the ownership of the
persistent volume matches that of the task.
Allow the task to specify the persistent volume access to be read-only
or read-write. Note that the persistent volume is always created as
read-write.


Diffs (updated)
-----

  src/examples/persistent_shared_volume_framework.cpp PRE-CREATION 
  src/master/master.cpp 98441a543611d4083b2495ee103f0ab5e2187e83 
  src/master/validation.hpp 380b40279faf180a6f401a5e28280b601dbc648c 
  src/master/validation.cpp f2bc1bad79e3b0812c019be3774cd65b58ea2d07 
  src/slave/containerizer/mesos/isolators/filesystem/linux.cpp 24ff8194bb5ea86a31224d2d2c20d367472168aa

  src/slave/containerizer/mesos/isolators/filesystem/posix.cpp bce5ab9a1913ee7cebaf55b5ee0b42fa4a325e87


Diff: https://reviews.apache.org/r/42995/diff/


Testing
-------

make check done.


Thanks,

Anindya Sinha


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