Re: Review Request 70678: Add containerizer support for masking paths.

2019-05-23 Thread Jason Lai
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/70678/#review215491 --- Ship it! Ship It! - Jason Lai On May 22, 2019, 8:25 p.m

Re: Review Request 70678: Add containerizer support for masking paths.

2019-05-21 Thread Jason Lai
system/linux.cpp Lines 816 (patched) <https://reviews.apache.org/r/70678/#comment302130> Nit: I feel we should consider making the masked paths an instance variable of the isolator class and initializing it with `ROOTFS_MASKED_PATHS` instead, in the purpose of avoid hard coding. - Jason Lai

Review Request 70048: Documented the new `--host_path_volume_force_creation` agent option.

2019-02-24 Thread Jason Lai
://reviews.apache.org/r/70048/diff/1/ Testing --- N/A. Thanks, Jason Lai

Re: Review Request 69287: Added test cases for the `volume/host_path` isolator.

2019-02-21 Thread Jason Lai
/containerizer/volume_host_path_isolator_tests.cpp 81bf72e869d36edb162b121f9e84a53d2096dae3 Diff: https://reviews.apache.org/r/69287/diff/3/ Changes: https://reviews.apache.org/r/69287/diff/2-3/ Testing --- `make check` Thanks, Jason Lai

Re: Review Request 69286: Allowed creating non-existing host paths for Mesos Containerizer.

2019-02-21 Thread Jason Lai
ccaf65029ec2d0e78041fc3992a0bf5ca0798686 Diff: https://reviews.apache.org/r/69286/diff/4/ Changes: https://reviews.apache.org/r/69286/diff/3-4/ Testing --- Thanks, Jason Lai

Re: Review Request 69286: Allowed creating non-existing host paths for Mesos Containerizer.

2019-02-21 Thread Jason Lai
s is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69286/#review213061 --- On Feb. 21, 2019, 11:34 p.m., Jason Lai wrote: > > ---

Re: Review Request 69286: Allowed creating non-existing host paths for Mesos Containerizer.

2019-02-21 Thread Jason Lai
> > > > instead of returning a boolean, do you think it is better to return a > > `Try` (if we always regard `false` as a error case)? Makes sense. Done. - Jason --- This is an automatically generated e-ma

Re: Review Request 69287: Added test cases for the `volume/host_path` isolator.

2019-02-21 Thread Jason Lai
, Jason Lai

Re: Review Request 69287: Added test cases for the `volume/host_path` isolator.

2019-02-21 Thread Jason Lai
- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69287/#review213047 ------- On Nov. 7, 2018, 10:06 p.m., Jason Lai wrote: > > ---

Re: Review Request 69286: Allowed creating non-existing host paths for Mesos Containerizer.

2019-02-21 Thread Jason Lai
ccaf65029ec2d0e78041fc3992a0bf5ca0798686 Diff: https://reviews.apache.org/r/69286/diff/3/ Changes: https://reviews.apache.org/r/69286/diff/2-3/ Testing --- Thanks, Jason Lai

Re: Review Request 69286: Allowed creating non-existing host paths for Mesos Containerizer.

2019-02-11 Thread Jason Lai
29d8b7985ffde57da02b5fe0d3a524e98acc27c8 src/slave/flags.cpp ccaf65029ec2d0e78041fc3992a0bf5ca0798686 Diff: https://reviews.apache.org/r/69286/diff/2/ Changes: https://reviews.apache.org/r/69286/diff/1-2/ Testing --- Thanks, Jason Lai

Re: Review Request 69286: Allowed creating non-existing host paths for Mesos Containerizer.

2019-02-11 Thread Jason Lai
93#file2106293line658> > > > > Remove these lines? Done. - Jason ------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69286/#review210388

Re: Review Request 69377: Added blog post for Mesos Mini.

2018-11-17 Thread Jason Lai
> On Nov. 18, 2018, 5:19 a.m., Jason Lai wrote: > > Ship It! With a few nits. - Jason --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69377/#rev

Re: Review Request 69377: Added blog post for Mesos Mini.

2018-11-17 Thread Jason Lai
e followings/the following steps/ 2. s/as if it was/as if it were/ - Jason Lai On Nov. 18, 2018, 5:18 a.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 68832: Add unit tests for Stout `path::normalize` function in POSIX.

2018-11-07 Thread Jason Lai
--- Add unit tests for Stout `path::normalize` function in POSIX. Diffs - 3rdparty/stout/tests/path_tests.cpp 452865b919c0d3644eb0ece0e17e402318aaff41 Diff: https://reviews.apache.org/r/68832/diff/2/ Testing --- `make check` Thanks, Jason Lai

Re: Review Request 68832: Add unit tests for Stout `path::normalize` function in POSIX.

2018-11-07 Thread Jason Lai
Repository: mesos Description --- Add unit tests for Stout `path::normalize` function in POSIX. Diffs - 3rdparty/stout/tests/path_tests.cpp 452865b919c0d3644eb0ece0e17e402318aaff41 Diff: https://reviews.apache.org/r/68832/diff/2/ Testing --- `make check` Thanks, Jason

Re: Review Request 65811: Added Stout `path::normalize` function for POSIX paths.

2018-11-07 Thread Jason Lai
the actual filesystem. Diffs - 3rdparty/stout/include/stout/path.hpp ef5a2f3d14cc8cf7416ded5cad00d30a49fd5cf7 Diff: https://reviews.apache.org/r/65811/diff/9/ Testing --- `make tests and make check` with https://reviews.apache.org/r/68832/ Thanks, Jason Lai

Review Request 69286: Allowed creating non-existing host paths for Mesos Containerizer.

2018-11-07 Thread Jason Lai
src/slave/containerizer/mesos/isolators/volume/utils.cpp PRE-CREATION src/slave/flags.hpp 29d8b7985ffde57da02b5fe0d3a524e98acc27c8 src/slave/flags.cpp ccaf65029ec2d0e78041fc3992a0bf5ca0798686 Diff: https://reviews.apache.org/r/69286/diff/1/ Testing --- Thanks, Jason Lai

Review Request 69287: Added test cases for the `volume/host_path` isolator.

2018-11-07 Thread Jason Lai
81bf72e869d36edb162b121f9e84a53d2096dae3 Diff: https://reviews.apache.org/r/69287/diff/1/ Testing --- `make check` Thanks, Jason Lai

Re: Review Request 68804: Added Stout `os::readlink` function for POSIX paths.

2018-11-07 Thread Jason Lai
/stout/include/stout/os/posix/readlink.hpp PRE-CREATION Diff: https://reviews.apache.org/r/68804/diff/2/ Changes: https://reviews.apache.org/r/68804/diff/1-2/ Testing --- Thanks, Jason Lai

Re: Review Request 65812: Added an overloaded version of `os::realpath` to stout

2018-11-07 Thread Jason Lai
--- Thanks, Jason Lai

Re: Review Request 68832: Add unit tests for Stout `path::normalize` function in POSIX.

2018-11-07 Thread Jason Lai
) - 3rdparty/stout/tests/path_tests.cpp 452865b919c0d3644eb0ece0e17e402318aaff41 Diff: https://reviews.apache.org/r/68832/diff/2/ Changes: https://reviews.apache.org/r/68832/diff/1-2/ Testing (updated) --- `make check` Thanks, Jason Lai

Re: Review Request 67175: Added support for marking slave mounts.

2018-11-07 Thread Jason Lai
/linux/fs.hpp 31969f6ba82bf5ee549bfdf9698a21adaa486a90 src/linux/fs.cpp 5cdffe1f4c7f00aee5b8f640e7cfa4a0018cfa0a Diff: https://reviews.apache.org/r/67175/diff/3/ Changes: https://reviews.apache.org/r/67175/diff/2-3/ Testing --- Thanks, Jason Lai

Re: Review Request 65811: Added Stout `path::normalize` function for POSIX paths.

2018-11-07 Thread Jason Lai
Diff: https://reviews.apache.org/r/65811/diff/9/ Changes: https://reviews.apache.org/r/65811/diff/8-9/ Testing --- `make tests and make check` with https://reviews.apache.org/r/68832/ Thanks, Jason Lai

Re: Review Request 65811: Added Stout `path::normalize` function for POSIX paths.

2018-09-26 Thread Jason Lai
/8/ Testing (updated) --- `make tests and make check` with https://reviews.apache.org/r/68832/ Thanks, Jason Lai

Re: Review Request 65811: Added Stout `path::normalize` function for POSIX paths.

2018-09-24 Thread Jason Lai
e added in https://reviews.apache.org/r/68832/. - Jason --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65811/#review199363 -------

Re: Review Request 65811: Added Stout `path::normalize` function for POSIX paths.

2018-09-24 Thread Jason Lai
/stout/path.hpp ef5a2f3d14cc8cf7416ded5cad00d30a49fd5cf7 Diff: https://reviews.apache.org/r/65811/diff/8/ Changes: https://reviews.apache.org/r/65811/diff/7-8/ Testing (updated) --- `make tests` with https://reviews.apache.org/r/68832/ Thanks, Jason Lai

Review Request 68832: Add unit tests for Stout `path::normalize` function in POSIX.

2018-09-24 Thread Jason Lai
Diff: https://reviews.apache.org/r/68832/diff/1/ Testing --- `make tests` Thanks, Jason Lai

Re: Review Request 65811: Added Stout `path::normalize` function for POSIX paths.

2018-09-24 Thread Jason Lai
filesystem. Diffs - 3rdparty/stout/include/stout/path.hpp ef5a2f3d14cc8cf7416ded5cad00d30a49fd5cf7 Diff: https://reviews.apache.org/r/65811/diff/7/ Testing --- Thanks, Jason Lai

Re: Review Request 65811: Add `path::normalize` to stout for normalizing path (for POSIX only now)

2018-09-24 Thread Jason Lai
absolute paths` sounds a little weird. are these > > two separate todo items or one? Fixed. - Jason --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65811/#review208903 -------

Re: Review Request 65811: Add `path::normalize` to stout for normalizing path (for POSIX only now)

2018-09-24 Thread Jason Lai
only now). Diffs (updated) - 3rdparty/stout/include/stout/path.hpp ef5a2f3d14cc8cf7416ded5cad00d30a49fd5cf7 Diff: https://reviews.apache.org/r/65811/diff/7/ Changes: https://reviews.apache.org/r/65811/diff/6-7/ Testing --- Thanks, Jason Lai

Re: Review Request 68804: Added Stout `os::readlink` function for POSIX paths.

2018-09-21 Thread Jason Lai
--- On Sept. 21, 2018, 10:34 p.m., Jason Lai wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/68804/ > -

Re: Review Request 65812: Added an overloaded version of `os::realpath` to stout

2018-09-21 Thread Jason Lai
/ Testing --- Thanks, Jason Lai

Re: Review Request 65812: Added an overloaded version of `os::realpath` to stout

2018-09-21 Thread Jason Lai
generated e-mail. To reply, visit: https://reviews.apache.org/r/65812/#review203455 ----------- On May 17, 2018, 1:07 a.m., Jason Lai wrote: > > --- > This is an automatically

Re: Review Request 65812: Added an overloaded version of `os::realpath` to stout

2018-09-21 Thread Jason Lai
_separator` Dropped. - Jason --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65812/#review203430 --- On May 17, 2018, 1:07 a.m., Jason

Review Request 68804: Added Stout `os::readlink` function for POSIX paths.

2018-09-21 Thread Jason Lai
://reviews.apache.org/r/68804/diff/1/ Testing --- Thanks, Jason Lai

Re: Review Request 65811: Add `path::normalize` to stout for normalizing path (for POSIX only now)

2018-09-21 Thread Jason Lai
t: https://reviews.apache.org/r/65811/#review203453 ------- On Sept. 21, 2018, 9:53 p.m., Jason Lai wrote: > > --- > This is an automatically generated e

Re: Review Request 65811: Add `path::normalize` to stout for normalizing path (for POSIX only now)

2018-09-21 Thread Jason Lai
> } else if (!isEmpty && components.back() == "..") { > > components.push_back(component); > > } else if (!isEmpty) { > > components.pop_back(); > > } > > } > > ``` > > Jason Lai wrote: > I was

Re: Review Request 65811: Add `path::normalize` to stout for normalizing path (for POSIX only now)

2018-09-21 Thread Jason Lai
). Diffs (updated) - 3rdparty/stout/include/stout/path.hpp ef5a2f3d14cc8cf7416ded5cad00d30a49fd5cf7 Diff: https://reviews.apache.org/r/65811/diff/6/ Changes: https://reviews.apache.org/r/65811/diff/5-6/ Testing --- Thanks, Jason Lai

Re: Review Request 67175: Added support for marking slave mounts.

2018-09-17 Thread Jason Lai
> > If we can emulate the `os::stat` API and use enum constants to make > > this more obvious at the call site: > > ``` > > os::touch(path, os::Touch::RECURSIVE, os::Touch::FILE); > > ``` > > > > cc @jieyu > > Jason Lai wrote

Re: Review Request 67022: Refreshed checkpointed SlaveInfo if `--reconfiguration_policy==any`.

2018-09-17 Thread Jason Lai
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/67022/#review208684 --- Ship it! Ship It! - Jason Lai On Sept. 13, 2018, 5:17 p.m

Re: Review Request 67175: Added support for marking slave mounts and creating non-existing paths.

2018-09-14 Thread Jason Lai
, os::Touch::RECURSIVE, os::Touch::FILE); > > ``` > > > > cc @jieyu Makes sense. I've dropped the function in this patch and will create another patch in favor of your suggestion. - Jason --------

Re: Review Request 67175: Added support for marking slave mounts.

2018-09-14 Thread Jason Lai
/67175/diff/1-2/ Testing --- Thanks, Jason Lai

Re: Review Request 68088: Replaced `cgroups::DESTROY_TIMEOUT` with new agent flag.

2018-07-30 Thread Jason Lai
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/68088/#review206604 --- Ship it! Ship It! - Jason Lai On July 30, 2018, 5:50 p.m

Re: Review Request 66875: Added an hourly timer for docker store pull latency.

2018-06-18 Thread Jason Lai
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66875/#review204958 --- Ship it! Ship It! - Jason Lai On May 21, 2018, 5:16 p.m

Re: Review Request 53105: Added an hourly timer for `slave/docker_containerizer/pull`.

2018-06-18 Thread Jason Lai
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53105/#review204957 --- Ship it! Ship It! - Jason Lai On May 21, 2018, 5:16 p.m

Re: Review Request 67264: Unmounted any mount points in gc paths.

2018-06-11 Thread Jason Lai
mountTable->entries)) { ``` This is used in `src/linux/fs.cpp` and a couple of other places. - Jason Lai On June 11, 2018, 8:58 p.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail. To

Re: Review Request 67264: Unmounted any dangling persistent volume in gc paths.

2018-05-25 Thread Jason Lai
It would be safer to check the following: 1) Check if `entry.target` == `info->path`; 2) Check if `strings::startsWith(entry.target, path::join(info->path, ""))` (`info->path` suffied with a `"/"`)

Re: Review Request 65811: Add `path::normalize` to stout for normalizing path (for POSIX only now)

2018-05-20 Thread Jason Lai
-- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65811/#review203392 --- On May 17, 2018, 1:06 a.m., Jason Lai wrote: >

Re: Review Request 65811: Add `path::normalize` to stout for normalizing path (for POSIX only now)

2018-05-17 Thread Jason Lai
inal > > prefix (which could be a tad annoying), and then re-add it here. Indeed. As said in a previous comment, will do that in a separate patch for cross platform support. - Jason --- This is an automatically generate

Review Request 67177: Sorted container mounts by their target paths.

2018-05-16 Thread Jason Lai
/mesos/launch.cpp f25d90651ef32495c9161c3eaed8a327d1b2b926 Diff: https://reviews.apache.org/r/67177/diff/1/ Testing --- Manual Thanks, Jason Lai

Review Request 67176: Fixed target path resolution for mounts within container rootfs.

2018-05-16 Thread Jason Lai
: https://reviews.apache.org/r/67176/diff/1/ Testing --- Thanks, Jason Lai

Review Request 67175: Added support for marking slave mounts and creating non-existing paths.

2018-05-16 Thread Jason Lai
76dc09c38996eefd8487ba6ef4977ef2f7c9df4c src/linux/fs.cpp fbd03b19abb9b56dbf3fb8a84d09a39171bbc1b0 Diff: https://reviews.apache.org/r/67175/diff/1/ Testing --- Thanks, Jason Lai

Re: Review Request 65900: Defer creation of volume target paths to container launch.

2018-05-16 Thread Jason Lai
/sandbox_path.cpp e0cae1036e2e49b4f61705c77f31ae166d1b1380 src/slave/containerizer/mesos/isolators/volume/utils.hpp PRE-CREATION Diff: https://reviews.apache.org/r/65900/diff/3/ Changes: https://reviews.apache.org/r/65900/diff/2-3/ Testing --- Thanks, Jason Lai

Re: Review Request 65812: Added an overloaded version of `os::realpath` to stout

2018-05-16 Thread Jason Lai
/65812/diff/5-6/ Testing --- Thanks, Jason Lai

Re: Review Request 65811: Add `path::normalize` to stout for normalizing path (for POSIX only now)

2018-05-16 Thread Jason Lai
now). Diffs (updated) - 3rdparty/stout/include/stout/path.hpp 27438d31617b3b78bf3d4deffd25c93340610e8d Diff: https://reviews.apache.org/r/65811/diff/5/ Changes: https://reviews.apache.org/r/65811/diff/4-5/ Testing --- Thanks, Jason Lai

Re: Review Request 65900: Defer creation of volume target paths to container launch.

2018-05-15 Thread Jason Lai
tfs.isSome()) { return path::join(rootfs.get(), containerSandboxPath, mountPoint); } return path::join(hostSandboxPath, mountPoint); } ``` - Jason Lai On May 8, 2018, 7:07 p.m., Jason Lai wrote: > > --- &g

Re: Review Request 67095: Added a containerizer devices path helper.

2018-05-13 Thread Jason Lai
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/67095/#review202990 --- Ship it! Ship It! - Jason Lai On May 11, 2018, 6:32 p.m

Re: Review Request 67094: Split linux chroot into prepare and enter phases.

2018-05-11 Thread Jason Lai
5-L702) - Jason Lai On May 11, 2018, 6:31 p.m., James Peach wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 67094: Split linux chroot into prepare and enter phases.

2018-05-11 Thread Jason Lai
fs/tmp`, as well as making it an extended `pivot_root(2)` with no unnecessary preparations and cleanups. - Jason Lai On May 11, 2018, 6:31 p.m., James Peach wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 67013: Sort container mounts by their target paths.

2018-05-10 Thread Jason Lai
Diff: https://reviews.apache.org/r/67013/diff/2/ Changes: https://reviews.apache.org/r/67013/diff/1-2/ Testing --- Thanks, Jason Lai

Re: Review Request 67012: Resolve container target paths within their rootfs.

2018-05-10 Thread Jason Lai
) - src/slave/containerizer/mesos/launch/linux_helper.cpp PRE-CREATION Diff: https://reviews.apache.org/r/67012/diff/2/ Changes: https://reviews.apache.org/r/67012/diff/1-2/ Testing --- Thanks, Jason Lai

Re: Review Request 67022: Refreshed checkpointed SlaveInfo if `--reconfiguration_policy==any`.

2018-05-08 Thread Jason Lai
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/67022/#review202723 --- Ship it! Ship It! - Jason Lai On May 9, 2018, 12:40 a.m

Re: Review Request 65900: Defer creation of volume target paths to container launch.

2018-05-08 Thread Jason Lai
8ca3d55d5792ed1cfc8e49df40587ac2abc83fec src/slave/containerizer/mesos/isolators/volume/utils.hpp PRE-CREATION Diff: https://reviews.apache.org/r/65900/diff/2/ Changes: https://reviews.apache.org/r/65900/diff/1-2/ Testing --- Thanks, Jason Lai

Review Request 67013: Sort container mounts by their target paths.

2018-05-08 Thread Jason Lai
/diff/1/ Testing --- Thanks, Jason Lai

Review Request 67012: Resolve container target paths within their rootfs.

2018-05-08 Thread Jason Lai
/67012/diff/1/ Testing --- Thanks, Jason Lai

Re: Review Request 65812: Added an overloaded version of `os::realpath` to stout

2018-05-08 Thread Jason Lai
/65812/diff/4-5/ Testing --- Thanks, Jason Lai

Re: Review Request 65811: Add `path::normalize` to stout for normalizing path (for POSIX only now)

2018-05-08 Thread Jason Lai
/diff/4/ Changes: https://reviews.apache.org/r/65811/diff/3-4/ Testing --- Thanks, Jason Lai

Re: Review Request 66342: Added difference operator overload for hashset.

2018-03-28 Thread Jason Lai
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66342/#review200167 --- Ship it! Ship It! - Jason Lai On March 28, 2018, 6:23 p.m

Re: Review Request 65812: Added an overloaded version of `os::realpath` to stout

2018-03-18 Thread Jason Lai
Will do in a separate patch. - Jason --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65812/#review199365 --- On Ma

Re: Review Request 66034: Remount several proc filesystem entries as read-only.

2018-03-15 Thread Jason Lai
y be moved away from this file, as I polish up the mounts with other isolators. - Jason --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/66034/#review199281 ---------

Review Request 66104: Fixed potential memory leak in the `volume/sandbox_path` isolator.

2018-03-15 Thread Jason Lai
/volume/sandbox_path.hpp 20d5b32fb7ada1a17a40bf1a2438db4d85cf1063 src/slave/containerizer/mesos/isolators/volume/sandbox_path.cpp 5801977e93bcb8f463a2635f73e763098f2aa97d Diff: https://reviews.apache.org/r/66104/diff/1/ Testing --- Thanks, Jason Lai

Re: Review Request 66034: Remount several proc filesystem entries as read-only.

2018-03-15 Thread Jason Lai
exec,relatime |-/sys sysfs sysfs ro,nosuid,nodev,noexec,relatime `-/dev tmpfs tmpfs rw,nosuid,noexec,mode=755 |-/dev/ptsdevpts devpts rw,nosuid,noexec,relatime,mode=600,ptmxmode=666 `-/dev/shmtmpfs tmpfs rw,nosuid,nodev ``` Thanks, Jason Lai

Re: Review Request 65899: Use launch actions in `MesosContainerizerLaunchHelper` instead.

2018-03-15 Thread Jason Lai
: https://reviews.apache.org/r/65899/diff/1-2/ Testing --- Thanks, Jason Lai

Re: Review Request 65898: Add `MesosContainerizerLaunchHelper` and subclasses for different OSes.

2018-03-15 Thread Jason Lai
-CREATION src/slave/containerizer/mesos/launch/windows_helper.cpp PRE-CREATION Diff: https://reviews.apache.org/r/65898/diff/3/ Changes: https://reviews.apache.org/r/65898/diff/2-3/ Testing --- Thanks, Jason Lai

Re: Review Request 65899: Use launch actions in `MesosContainerizerLaunchHelper` instead.

2018-03-14 Thread Jason Lai
ps://reviews.apache.org/r/65899/#review198759 ------- On March 5, 2018, 7:31 a.m., Jason Lai wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/65899/ > -

Re: Review Request 65811: Add `path::clean` to stout for normalizing path (for POSIX only now)

2018-03-14 Thread Jason Lai
ve more folks in favor of it. - Jason --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65811/#review198548 --- On Ma

Re: Review Request 66034: Remount several proc filesystem entries as read-only.

2018-03-12 Thread Jason Lai
exec,relatime |-/sys sysfs sysfs ro,nosuid,nodev,noexec,relatime `-/dev tmpfs tmpfs rw,nosuid,noexec,mode=755 |-/dev/ptsdevpts devpts rw,nosuid,noexec,relatime,mode=600,ptmxmode=666 `-/dev/shmtmpfs tmpfs rw,nosuid,nodev ``` Thanks, Jason Lai

Review Request 66034: Remount several proc filesystem entries as read-only.

2018-03-12 Thread Jason Lai
xec,relatime `-/dev tmpfs tmpfs rw,nosuid,noexec,mode=755 |-/dev/ptsdevpts devpts rw,nosuid,noexec,relatime,mode=600,ptmxmode=666 `-/dev/shmtmpfs tmpfs rw,nosuid,nodev ``` Thanks, Jason Lai

Re: Review Request 65930: Start heartbeater after SUBSCRIBED event.

2018-03-06 Thread Jason Lai
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65930/#review198714 --- Ship it! Ship It! - Jason Lai On March 6, 2018, 4:57 p.m

Re: Review Request 65899: Use launch actions in `MesosContainerizerLaunchHelper` instead.

2018-03-05 Thread Jason Lai
in function "protected: virtual int __cdecl > > mesos::internal::slave::MesosContainerizerLaunch::execute(void)" > > (?execute@MesosContainerizerLaunch@slave@internal@mesos@@MEAAHXZ) > > [D:\DCOS\mesos\src\launcher\mesos-executor.vcxproj] > >

Review Request 65900: Defer creation of volume target paths to container launch.

2018-03-05 Thread Jason Lai
/1/ Testing --- Thanks, Jason Lai

Re: Review Request 65898: Add `MesosContainerizerLaunchHelper` and subclasses for different OSes.

2018-03-05 Thread Jason Lai
/windows_helper.cpp PRE-CREATION Diff: https://reviews.apache.org/r/65898/diff/2/ Changes: https://reviews.apache.org/r/65898/diff/1-2/ Testing --- Thanks, Jason Lai

Review Request 65899: Use launch actions in `MesosContainerizerLaunchHelper` instead.

2018-03-04 Thread Jason Lai
- src/slave/containerizer/mesos/launch.cpp 75b7eaf9cd62d6b5f02896175168b651f4517e12 Diff: https://reviews.apache.org/r/65899/diff/1/ Testing --- Thanks, Jason Lai

Review Request 65898: Add `MesosContainerizerLaunchHelper` and subclasses for different OSes.

2018-03-04 Thread Jason Lai
src/slave/containerizer/mesos/launch/windows_helper.hpp PRE-CREATION src/slave/containerizer/mesos/launch/windows_helper.cpp PRE-CREATION Diff: https://reviews.apache.org/r/65898/diff/1/ Testing --- Thanks, Jason Lai

Re: Review Request 65812: Added an overloaded version of `os::realpath` to stout

2018-03-04 Thread Jason Lai
://reviews.apache.org/r/65812/diff/3-4/ Testing --- Thanks, Jason Lai

Re: Review Request 65812: Added an overloaded version of `os::realpath` to stout

2018-03-02 Thread Jason Lai
://reviews.apache.org/r/65812/diff/2-3/ Testing --- Thanks, Jason Lai

Re: Review Request 65811: Add `path::clean` to stout for normalizing path (for POSIX only now)

2018-03-02 Thread Jason Lai
). Diffs (updated) - 3rdparty/stout/include/stout/path.hpp 27438d31617b3b78bf3d4deffd25c93340610e8d Diff: https://reviews.apache.org/r/65811/diff/3/ Changes: https://reviews.apache.org/r/65811/diff/2-3/ Testing --- Thanks, Jason Lai

Re: Review Request 65812: Added an overloaded version of `os::realpath` to stout

2018-02-27 Thread Jason Lai
/ Testing --- Thanks, Jason Lai

Re: Review Request 65812: Added an overloaded version of `os::realpath` to stout for evaluating real path within a scoped root directory

2018-02-27 Thread Jason Lai
. Diffs (updated) - 3rdparty/stout/include/stout/os/posix/realpath.hpp 31352cefc5b8d0ccd9af8f6dabdec4a959fded32 Diff: https://reviews.apache.org/r/65812/diff/2/ Changes: https://reviews.apache.org/r/65812/diff/1-2/ Testing --- Thanks, Jason Lai

Re: Review Request 65811: Add `path::clean` to stout for normalizing path (for POSIX only now)

2018-02-27 Thread Jason Lai
ts.back()` as long as `components` is guaranteed > > not empty. Doh! This was dumb. Nice catch! - Jason --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65811/#review198334

Re: Review Request 65811: Add `path::clean` to stout for normalizing path (for POSIX only now)

2018-02-27 Thread Jason Lai
). Diffs (updated) - 3rdparty/stout/include/stout/path.hpp 27438d31617b3b78bf3d4deffd25c93340610e8d Diff: https://reviews.apache.org/r/65811/diff/2/ Changes: https://reviews.apache.org/r/65811/diff/1-2/ Testing --- Thanks, Jason Lai

Review Request 65812: Added an overloaded version of `os::realpath` to stout for evaluating real path within a scoped root directory

2018-02-26 Thread Jason Lai
/posix/realpath.hpp 31352cefc5b8d0ccd9af8f6dabdec4a959fded32 Diff: https://reviews.apache.org/r/65812/diff/1/ Testing --- Thanks, Jason Lai

Review Request 65811: Add `path::clean` to stout for normalizing path (for POSIX only now)

2018-02-26 Thread Jason Lai
27438d31617b3b78bf3d4deffd25c93340610e8d Diff: https://reviews.apache.org/r/65811/diff/1/ Testing --- Thanks, Jason Lai

Re: Review Request 65294: Support `revocable_resources` capability in `mesos-execute`.

2018-01-30 Thread Jason Lai
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/65294/#review196550 --- Ship it! Ship It! - Jason Lai On Jan. 30, 2018, 12:03 a.m

Re: Review Request 56721: Implemented pruneImages with a mark and sweep in docker store.

2017-11-11 Thread Jason Lai
4 (patched) <https://reviews.apache.org/r/56721/#comment268389> Will there be a race here? - Jason Lai On Nov. 10, 2017, 7:34 p.m., Zhitao Li wrote: > > --- > This is an automatically generated e-mail. To reply, visit: >

Re: Review Request 54693: Add ProtoBuf schema for Blkio cgroup subsystem

2017-06-26 Thread Jason Lai
0017d3d9d46433b391703025f611ce437bbc7ebe Diff: https://reviews.apache.org/r/54693/diff/3/ Testing --- Thanks, Jason Lai

Re: Review Request 60170: Supported 'cgroups_auto' flag in unified cgroup isolator.

2017-06-17 Thread Jason Lai
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60170/#review178153 --- Ship it! Ship It! - Jason Lai On June 17, 2017, 4:58 p.m

Re: Review Request 60170: Supported 'cgroups_auto' flag in unified cgroup isolator.

2017-06-17 Thread Jason Lai
> On June 18, 2017, 4:08 a.m., Jason Lai wrote: > > Ship It! Ditto Qian's comment. - Jason --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60170/#rev

Review Request 59960: Add data structures and stats/control helpers for the Blkio cgroup subsystem

2017-06-09 Thread Jason Lai
the kernel blkio doc for helper functions Diffs - src/linux/cgroups.hpp eaf0dcad0ed38c507564624f1647e0c731b8b433 src/linux/cgroups.cpp 334005abfc4ec9b20b7dc0212d852ba1f505dbb5 Diff: https://reviews.apache.org/r/59960/diff/1/ Testing --- Thanks, Jason Lai

  1   2   >