mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Wu <jos...@mesosphere.io>
Subject Re: Review Request 61904: Added volume/host_path isolator.
Date Mon, 28 Aug 2017 21:37:35 GMT

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


Fix it, then Ship it!





src/slave/containerizer/mesos/isolators/volume/host_path.cpp
Lines 100-101 (patched)
<https://reviews.apache.org/r/61904/#comment260017>

    Perhaps expand on this note?
    
    i.e. If an old master (no validation code) is used to launch a task with a volume.



src/slave/containerizer/mesos/isolators/volume/host_path.cpp
Lines 108-111 (patched)
<https://reviews.apache.org/r/61904/#comment260019>

    Consider adding a NOTE here about why it is *not* an error for `volume.host_path` to be
relative (even though it is an error in `volume.source().host_path()`).


- Joseph Wu


On Aug. 28, 2017, 1:26 p.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/61904/
> -----------------------------------------------------------
> 
> (Updated Aug. 28, 2017, 1:26 p.m.)
> 
> 
> Review request for mesos, Gilbert Song and Joseph Wu.
> 
> 
> Bugs: MESOS-7223 and MESOS-7306
>     https://issues.apache.org/jira/browse/MESOS-7223
>     https://issues.apache.org/jira/browse/MESOS-7306
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This isolator will be used to handle HOST_PATH volumes. The goal is to
> move the logics of handling host volumes from the linux filesystem
> isolator to this dedicated isolator to make the code more modular.
> 
> 
> Diffs
> -----
> 
>   src/CMakeLists.txt 0816c6ebaa9caaa5b6a606e601427ed17112a300 
>   src/Makefile.am 5157b2baac4ff6c4493faaeb7a311381e8e76fe7 
>   src/slave/containerizer/mesos/isolators/volume/host_path.hpp PRE-CREATION 
>   src/slave/containerizer/mesos/isolators/volume/host_path.cpp PRE-CREATION 
> 
> 
> Diff: https://reviews.apache.org/r/61904/diff/1/
> 
> 
> Testing
> -------
> 
> sudo make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>


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