> On 六月 24, 2016, 8:11 a.m., Guangya Liu wrote:
> > src/slave/containerizer/mesos/isolators/filesystem/linux.cpp, lines 404-420
> > <https://reviews.apache.org/r/49184/diff/1/?file=1429524#file1429524line404>
> >
> >     Can you please add some comments here for why not handling the case for 
> > absolute path case with containers which does not have rootfs?
> >     
> >     I think that the file volume was already supported by containers 
> > without rootfs if the container path is an absolute path in Line429-437?
> 
> Gilbert Song wrote:
>     Thansk Guangya!
>     
>     >> Can you please add some comments here for why not handling the case 
> for absolute path case with containers which does not have rootfs?
>     
>     I thought about that here. The comment L#431 ~ L#433 looks good to me for 
> this case, so no need to duplicate. 
>     
>     >> I think that the file volume was already supported by containers 
> without rootfs if the container path is an absolute path in Line429-437?
>     
>     Yeah, but that is a coincidence case in a 1/4 chance. They are not 
> implemented on purpose. :)

Yes, but I saw that you added a new test case for this 
https://reviews.apache.org/r/49185/ to `verifies that a file volume with an 
absolute host path as well as an absolute container path is properly mounted`. 
;)


- Guangya


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


On 六月 24, 2016, 7:19 p.m., Gilbert Song wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/49184/
> -----------------------------------------------------------
> 
> (Updated 六月 24, 2016, 7:19 p.m.)
> 
> 
> Review request for mesos, Artem Harutyunyan, Jie Yu, Timothy Chen, and Jiang 
> Yan Xu.
> 
> 
> Bugs: MESOS-5697
>     https://issues.apache.org/jira/browse/MESOS-5697
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Implemented file volume support in mesos containerizer.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/isolators/filesystem/linux.cpp 
> adacde191132a7a92c1fdf27ef8a4a41d2afa003 
> 
> Diff: https://reviews.apache.org/r/49184/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Gilbert Song
> 
>

Reply via email to