Re: Review Request 38511: Added a warning comment to the copy provisioner backend.

2015-09-18 Thread Mesos ReviewBot

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


Patch looks great!

Reviews applied: [38511]

All tests passed.

- Mesos ReviewBot


On Sept. 18, 2015, 10:13 p.m., Jiang Yan Xu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38511/
> ---
> 
> (Updated Sept. 18, 2015, 10:13 p.m.)
> 
> 
> Review request for mesos, Jie Yu, Jojy Varghese, and Timothy Chen.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> - We should investigate how to resolve these implications or 
> disable/discourage the use of this backend in production after the overlay 
> backend is committed.
> 
> 
> Diffs
> -
> 
>   src/slave/containerizer/provisioner/backends/copy.hpp 
> 10d9aee8c69e29e0cc9848fc5bde9919d0732b09 
> 
> Diff: https://reviews.apache.org/r/38511/diff/
> 
> 
> Testing
> ---
> 
> N/A.
> 
> 
> Thanks,
> 
> Jiang Yan Xu
> 
>



Re: Review Request 38511: Added a warning comment to the copy provisioner backend.

2015-09-18 Thread Jiang Yan Xu


> On Sept. 18, 2015, 10:22 p.m., Timothy Chen wrote:
> > src/slave/containerizer/provisioner/backends/copy.hpp, line 38
> > 
> >
> > most of the comments makes sense.
> > however what do you mean by writing to root is not accounted for? what 
> > kind of accounting are you referring to?

The disk space it takes. Our current DiskIsolator doesn't count disk space 
outside the sandbox and it's not straightforward to just count the provisioned 
rootfs either because the user/task doesn't ask for it to be copied, the 
slave/operator decided it. Make sense?

I will update point 2) to make it more clear.


- Jiang Yan


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


On Sept. 18, 2015, 3:13 p.m., Jiang Yan Xu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38511/
> ---
> 
> (Updated Sept. 18, 2015, 3:13 p.m.)
> 
> 
> Review request for mesos, Jie Yu, Jojy Varghese, and Timothy Chen.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> - We should investigate how to resolve these implications or 
> disable/discourage the use of this backend in production after the overlay 
> backend is committed.
> 
> 
> Diffs
> -
> 
>   src/slave/containerizer/provisioner/backends/copy.hpp 
> 10d9aee8c69e29e0cc9848fc5bde9919d0732b09 
> 
> Diff: https://reviews.apache.org/r/38511/diff/
> 
> 
> Testing
> ---
> 
> N/A.
> 
> 
> Thanks,
> 
> Jiang Yan Xu
> 
>



Re: Review Request 38511: Added a warning comment to the copy provisioner backend.

2015-09-18 Thread Timothy Chen

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



src/slave/containerizer/provisioner/backends/copy.hpp (line 38)


most of the comments makes sense.
however what do you mean by writing to root is not accounted for? what kind 
of accounting are you referring to?


- Timothy Chen


On Sept. 18, 2015, 10:13 p.m., Jiang Yan Xu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38511/
> ---
> 
> (Updated Sept. 18, 2015, 10:13 p.m.)
> 
> 
> Review request for mesos, Jie Yu, Jojy Varghese, and Timothy Chen.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> - We should investigate how to resolve these implications or 
> disable/discourage the use of this backend in production after the overlay 
> backend is committed.
> 
> 
> Diffs
> -
> 
>   src/slave/containerizer/provisioner/backends/copy.hpp 
> 10d9aee8c69e29e0cc9848fc5bde9919d0732b09 
> 
> Diff: https://reviews.apache.org/r/38511/diff/
> 
> 
> Testing
> ---
> 
> N/A.
> 
> 
> Thanks,
> 
> Jiang Yan Xu
> 
>



Re: Review Request 38511: Added a warning comment to the copy provisioner backend.

2015-09-18 Thread Jie Yu

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

Ship it!


Ship It!

- Jie Yu


On Sept. 18, 2015, 10:13 p.m., Jiang Yan Xu wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38511/
> ---
> 
> (Updated Sept. 18, 2015, 10:13 p.m.)
> 
> 
> Review request for mesos, Jie Yu, Jojy Varghese, and Timothy Chen.
> 
> 
> Repository: mesos
> 
> 
> Description
> ---
> 
> - We should investigate how to resolve these implications or 
> disable/discourage the use of this backend in production after the overlay 
> backend is committed.
> 
> 
> Diffs
> -
> 
>   src/slave/containerizer/provisioner/backends/copy.hpp 
> 10d9aee8c69e29e0cc9848fc5bde9919d0732b09 
> 
> Diff: https://reviews.apache.org/r/38511/diff/
> 
> 
> Testing
> ---
> 
> N/A.
> 
> 
> Thanks,
> 
> Jiang Yan Xu
> 
>



Review Request 38511: Added a warning comment to the copy provisioner backend.

2015-09-18 Thread Jiang Yan Xu

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

Review request for mesos, Jie Yu, Jojy Varghese, and Timothy Chen.


Repository: mesos


Description
---

- We should investigate how to resolve these implications or disable/discourage 
the use of this backend in production after the overlay backend is committed.


Diffs
-

  src/slave/containerizer/provisioner/backends/copy.hpp 
10d9aee8c69e29e0cc9848fc5bde9919d0732b09 

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


Testing
---

N/A.


Thanks,

Jiang Yan Xu