Re: Review Request 59506: Consistently use EXIT() in agent startup.

2017-05-23 Thread James Peach
: https://reviews.apache.org/r/59506/diff/3/ Changes: https://reviews.apache.org/r/59506/diff/2-3/ Testing --- make check (Fedora 25) Thanks, James Peach

Review Request 59506: Consistently use EXIT_ERROR in agent startup.

2017-05-23 Thread James Peach
25) Thanks, James Peach

Review Request 59547: Rename ContainerLaunchInfo `capabilities` field.

2017-05-24 Thread James Peach
60d22aa877c1ab62a08222e5efe8800e337684da src/slave/containerizer/mesos/launch.cpp f48d294a0a832dfe248c4a83849ee5a63cb76bce Diff: https://reviews.apache.org/r/59547/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 49571: Added a benchmark test for allocations.

2017-05-24 Thread James Peach
es`, then showing the `process::Statistics` once at the end of the test? - James Peach On May 24, 2017, 5:47 p.m., Anindya Sinha wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > http

Re: Review Request 59185: Add ambient capability support.

2017-05-24 Thread James Peach
/1-2/ Testing --- make check (Fedora 25) Thanks, James Peach

Review Request 59552: Add support for explicitly setting bounding capabilities.

2017-05-24 Thread James Peach
/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Review Request 59553: Add ambient capabilities to launched tasks.

2017-05-24 Thread James Peach
f48d294a0a832dfe248c4a83849ee5a63cb76bce Diff: https://reviews.apache.org/r/59553/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Review Request 59554: Rename the `--allowed_capabilities` flag to `--effective_capabilities`.

2017-05-24 Thread James Peach
src/slave/flags.cpp 0c8276e425a6a7d22ee68edc6cc25b331635ec44 src/tests/containerizer/linux_capabilities_isolator_tests.cpp 40376a03fdb8f931f8d3f83b1c3fa6207e02c1d1 Diff: https://reviews.apache.org/r/59554/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Review Request 59551: Change launcher working directory before dropping privilege.

2017-05-24 Thread James Peach
. Diffs - src/slave/containerizer/mesos/launch.cpp f48d294a0a832dfe248c4a83849ee5a63cb76bce Diff: https://reviews.apache.org/r/59551/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Review Request 59549: Add the agent --bounding_capabilities flag.

2017-05-24 Thread James Peach
0c8276e425a6a7d22ee68edc6cc25b331635ec44 Diff: https://reviews.apache.org/r/59549/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Review Request 59550: Check bounding capabilities at isolator creation time.

2017-05-24 Thread James Peach
/isolators/linux/capabilities.cpp 60d22aa877c1ab62a08222e5efe8800e337684da src/tests/containerizer/linux_capabilities_isolator_tests.cpp 40376a03fdb8f931f8d3f83b1c3fa6207e02c1d1 Diff: https://reviews.apache.org/r/59550/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59186: Additional linux/capabilities isolator documentation.

2017-05-24 Thread James Peach
/linux_capabilities.md b588aff6842a14bbf7ff5c35931cac61f9019805 Diff: https://reviews.apache.org/r/59186/diff/3/ Changes: https://reviews.apache.org/r/59186/diff/2-3/ Testing --- None. Thanks, James Peach

Re: Review Request 59413: Fix bytes.hpp constexpr compilation failure with GCC 7.1.

2017-05-24 Thread James Peach
Lines 125 (patched) <https://reviews.apache.org/r/59413/#comment249362> Unfortunately these definititons break the line length limit. You'll have to do: ``` inline constexpr Bytes Kilobytes(uint64_t value) { return Bytes(value, Bytes::KILOBYTES); } ``` - James

Review Request 59548: Add a `bounding_capabilities` field to ContainerLaunchInfo.

2017-05-24 Thread James Peach
0f96334c236027780db1d88807e09685ccda4562 src/launcher/executor.cpp 9ac3c3d84c0ec47954c5c72228ad0b8795ff3eec Diff: https://reviews.apache.org/r/59548/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59454: Adjust tests to account for GCC 7.1 fix in bytes.hpp.

2017-05-24 Thread James Peach
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59454/#review176026 --- Ship it! Ship It! - James Peach On May 24, 2017, 5:53 p.m

Re: Review Request 49571: Added a benchmark test for allocations.

2017-05-25 Thread James Peach
> On May 24, 2017, 11:35 p.m., James Peach wrote: > > src/tests/hierarchical_allocator_tests.cpp > > Lines 4995 (patched) > > <https://reviews.apache.org/r/49571/diff/35/?file=1730051#file1730051line4995> > > > > I found that this output wasn't

Re: Review Request 49571: Added a benchmark test for allocations.

2017-05-25 Thread James Peach
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/49571/#review176160 --- Ship it! Ship It! - James Peach On May 25, 2017, 11:30 p.m

Re: Review Request 59413: Fix bytes.hpp constexpr compilation failure with GCC 7.1.

2017-05-25 Thread James Peach
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59413/#review176159 --- Ship it! Ship It! - James Peach On May 25, 2017, 6:13 p.m

Re: Review Request 59434: Added a few master log lines.

2017-05-22 Thread James Peach
y do we need both? - James Peach On May 22, 2017, 5:38 a.m., Jiang Yan Xu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 59413: Fix constexpr compilation failure with GCC 7.1.

2017-05-22 Thread James Peach
` and `Duration`? - James Peach On May 19, 2017, 7 p.m., Aaron Wood wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache

Re: Review Request 55895: Extract a BasicBlocks class for disk block arithmetic.

2017-05-16 Thread James Peach
: https://reviews.apache.org/r/55895/diff/7/ Changes: https://reviews.apache.org/r/55895/diff/6-7/ Testing --- sudo make check (Fedora 25) Thanks, James Peach

Re: Review Request 56681: Use glog to log EXIT() messages.

2017-05-16 Thread James Peach
launcher I0320 11:03:43.913216 1188 provisioner.cpp:249] Using default backend 'overlay' Failed to create a master detector: Failed to parse 'phoney:5050' ``` Thanks, James Peach

Review Request 59734: Show the resources in the allocator CHECK.

2017-06-01 Thread James Peach
check Thanks, James Peach

Re: Review Request 59548: Add a `bounding_capabilities` field to ContainerLaunchInfo.

2017-06-05 Thread James Peach
25) Thanks, James Peach

Re: Review Request 59550: Check bounding capabilities at isolator creation time.

2017-06-05 Thread James Peach
/diff/2/ Changes: https://reviews.apache.org/r/59550/diff/1-2/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59549: Add the agent --bounding_capabilities flag.

2017-06-05 Thread James Peach
) - src/slave/flags.hpp 2f9d52e94c2c31e95208cd8b0640a5de2d2a61fd src/slave/flags.cpp 93c8ffb5c822cf6c99071be7aca52a6b3d187619 Diff: https://reviews.apache.org/r/59549/diff/2/ Changes: https://reviews.apache.org/r/59549/diff/1-2/ Testing --- make check (Fedora 25) Thanks, James

Re: Review Request 59553: Add ambient capabilities to launched tasks.

2017-06-05 Thread James Peach
(updated) - src/slave/containerizer/mesos/launch.cpp f48d294a0a832dfe248c4a83849ee5a63cb76bce Diff: https://reviews.apache.org/r/59553/diff/2/ Changes: https://reviews.apache.org/r/59553/diff/1-2/ Testing --- make check (Fedora 25) Thanks, James Peach

Review Request 59806: Synchronize capabilities flags documentation.

2017-06-05 Thread James Peach
://issues.apache.org/jira/browse/MESOS-7477 Repository: mesos Description --- Synchronize capabilities flags documentation. Diffs - docs/configuration.md ed510fa638878b71e7fcff4850152a8a8622127e Diff: https://reviews.apache.org/r/59806/diff/1/ Testing --- None. Thanks, James Peach

Re: Review Request 59547: Rename ContainerLaunchInfo `capabilities` field.

2017-06-05 Thread James Peach
-2/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59551: Change launcher working directory before dropping privilege.

2017-06-05 Thread James Peach
--- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59554: Rename the `--allowed_capabilities` flag to `--effective_capabilities`.

2017-06-05 Thread James Peach
/ Changes: https://reviews.apache.org/r/59554/diff/1-2/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59552: Add support for explicitly setting bounding capabilities.

2017-06-05 Thread James Peach
40376a03fdb8f931f8d3f83b1c3fa6207e02c1d1 Diff: https://reviews.apache.org/r/59552/diff/2/ Changes: https://reviews.apache.org/r/59552/diff/1-2/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59185: Add ambient capability support.

2017-06-05 Thread James Peach
://reviews.apache.org/r/59185/diff/2-3/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59186: Additional linux/capabilities isolator documentation.

2017-06-05 Thread James Peach
) - docs/linux_capabilities.md b588aff6842a14bbf7ff5c35931cac61f9019805 Diff: https://reviews.apache.org/r/59186/diff/4/ Changes: https://reviews.apache.org/r/59186/diff/3-4/ Testing --- None. Thanks, James Peach

Re: Review Request 59858: Allow Gauge metrics to avoid process::defer().

2017-06-06 Thread James Peach
-- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59858/#review177103 --- On June 6, 2017, 9:16 p.m., James Peach wrote: > > -

Re: Review Request 59185: Add ambient capability support.

2017-06-11 Thread James Peach
tiesSupported` to > > this constructor. > > James Peach wrote: > It is done this way so that `Capabilities::ambientCapabilitiesSupported` > can be a const data member. > > Jie Yu wrote: > ah, ic, can you do > ``` > Capabil

Re: Review Request 59554: Rename the `--allowed_capabilities` flag to `--effective_capabilities`.

2017-06-11 Thread James Peach
enerated e-mail. To reply, visit: https://reviews.apache.org/r/59554/#review177575 ------- On June 5, 2017, 4:57 p.m., James Peach wrote: > > --- > This is an automati

Re: Review Request 59552: Add support for explicitly setting bounding capabilities.

2017-06-11 Thread James Peach
ounding set. You can't use `bounding` here because `bounding` might be set from the framework's capabilities. We need to ensure that whatever the framework specifies is within the limits set by the operator. That will still be true when the framework gets to specify the bounding set.

Re: Review Request 59552: Add support for explicitly setting bounding capabilities.

2017-06-10 Thread James Peach
None()) { > > bounding = effective.get(); > > } > > > > if (effective.isNone() && bounding.isSome()) { > > effective = bounding.get(); > > } > > > > ... > > ``` > > > > The abov

Re: Review Request 59552: Add support for explicitly setting bounding capabilities.

2017-06-10 Thread James Peach
40376a03fdb8f931f8d3f83b1c3fa6207e02c1d1 Diff: https://reviews.apache.org/r/59552/diff/4/ Changes: https://reviews.apache.org/r/59552/diff/3-4/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 58250: Test that bind-mounted host network configuration is mounted readonly.

2017-06-13 Thread James Peach
(patched) <https://reviews.apache.org/r/58250/#comment251572> This should be `ROOT_INTERNET_ReadOnlyBindMounts` because it doesn't need `curl`. - James Peach On June 14, 2017, 12:38 a.m., Silas Snider

Re: Review Request 59549: Add the agent --bounding_capabilities flag.

2017-06-15 Thread James Peach
2f9d52e94c2c31e95208cd8b0640a5de2d2a61fd src/slave/flags.cpp 93c8ffb5c822cf6c99071be7aca52a6b3d187619 Diff: https://reviews.apache.org/r/59549/diff/5/ Changes: https://reviews.apache.org/r/59549/diff/4-5/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59552: Add support for explicitly setting bounding capabilities.

2017-06-15 Thread James Peach
40376a03fdb8f931f8d3f83b1c3fa6207e02c1d1 Diff: https://reviews.apache.org/r/59552/diff/7/ Changes: https://reviews.apache.org/r/59552/diff/6-7/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 60145: Update Linux capabilities isolator tests.

2017-06-15 Thread James Peach
the various capability set configurations interact. Diffs - src/tests/containerizer/linux_capabilities_isolator_tests.cpp 40376a03fdb8f931f8d3f83b1c3fa6207e02c1d1 Diff: https://reviews.apache.org/r/60145/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Review Request 60145: Update Linux capabilities isolator tests.

2017-06-15 Thread James Peach
/linux_capabilities_isolator_tests.cpp 40376a03fdb8f931f8d3f83b1c3fa6207e02c1d1 Diff: https://reviews.apache.org/r/60145/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59464: Add Fetcher task total and failed fetch metrics.

2017-06-09 Thread James Peach
://reviews.apache.org/r/59464/diff/4/ Changes: https://reviews.apache.org/r/59464/diff/3-4/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59466: Add metrics check to Fetcher tests.

2017-06-09 Thread James Peach
b4124158a0e92f289f0edc0c8cb9394350e1cbb5 Diff: https://reviews.apache.org/r/59466/diff/4/ Changes: https://reviews.apache.org/r/59466/diff/3-4/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59467: Document new Fetcher metrics.

2017-06-09 Thread James Peach
/diff/4/ Changes: https://reviews.apache.org/r/59467/diff/3-4/ Testing --- None. Thanks, James Peach

Re: Review Request 59185: Add ambient capability support.

2017-06-11 Thread James Peach
ps://reviews.apache.org/r/59185/#review177568 ------- On June 5, 2017, 4:50 p.m., James Peach wrote: > > --- > This is an automatically generated e-mail.

Re: Review Request 59185: Add ambient capability support.

2017-06-11 Thread James Peach
: https://reviews.apache.org/r/59185/diff/5-6/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 58224: Optionally verify the source IP address for libprocess messages.

2017-05-02 Thread James Peach
break some libprocess APIs (though not in the way that Mesos uses them) and legitimate multi-homed configurations. Note that setting LIBPROCESS_ip=127.0.0.1 makes you multihomed for this purpose, which is why ``ExamplesTest.DiskFullFramework`` breaks. Thanks, James Peach

Re: Review Request 58224: Optionally verify the source IP address for libprocess messages.

2017-05-04 Thread James Peach
for this purpose, which is why ``ExamplesTest.DiskFullFramework`` breaks. Thanks, James Peach

Review Request 59855: Set the fetcher cache size at construction time.

2017-06-06 Thread James Peach
/containerizer/fetcher.cpp 770cad3e046e8a6d58b6bc9176eb7ecdbd340db4 Diff: https://reviews.apache.org/r/59855/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59466: Add metrics check to Fetcher tests.

2017-06-06 Thread James Peach
b4124158a0e92f289f0edc0c8cb9394350e1cbb5 Diff: https://reviews.apache.org/r/59466/diff/3/ Changes: https://reviews.apache.org/r/59466/diff/2-3/ Testing --- make check (Fedora 25) Thanks, James Peach

Review Request 59854: Make additional Fetcher and FetcherProcess methods const.

2017-06-06 Thread James Peach
: https://reviews.apache.org/r/59854/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Review Request 59858: Allow Gauge metrics to avoid process::defer().

2017-06-06 Thread James Peach
://reviews.apache.org/r/59858/diff/1/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 59467: Document new Fetcher metrics.

2017-06-06 Thread James Peach
: https://reviews.apache.org/r/59467/diff/2-3/ Testing --- None. Thanks, James Peach

Re: Review Request 59464: Add Fetcher task total and failed fetch metrics.

2017-06-06 Thread James Peach
770cad3e046e8a6d58b6bc9176eb7ecdbd340db4 Diff: https://reviews.apache.org/r/59464/diff/3/ Changes: https://reviews.apache.org/r/59464/diff/2-3/ Testing --- make check (Fedora 25) Thanks, James Peach

Re: Review Request 60397: WIP: Check perf version compatibility in tests with disabled coredumps.

2017-06-27 Thread James Peach
- On June 26, 2017, 8:07 p.m., Andrei Budnik wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/60397/ > ------

Review Request 60491: Capture the inode when scanning for sockets.

2017-06-28 Thread James Peach
7722fd2843614c3869cc6c3d06bc4c82ed282381 src/linux/routing/diagnosis/diagnosis.cpp aa2d020fc009040410ef557d10d386d04d71d16e Diff: https://reviews.apache.org/r/60491/diff/1/ Testing --- make check (Fedora 26) Thanks, James Peach

Review Request 60494: Expose LinuxLauncher cgroups helper.

2017-06-28 Thread James Peach
e1525231e0a374bc044e929e82b8d051732e97cb src/slave/containerizer/mesos/linux_launcher.cpp 1cea04edac8e0c4aea8c1c7d946b5065f3eac931 Diff: https://reviews.apache.org/r/60494/diff/1/ Testing --- make check (Fedora 26) Thanks, James Peach

Review Request 60493: Remove diagnostic socket IPv4 assumptions.

2017-06-28 Thread James Peach
--- make check (Fedora 26) Thanks, James Peach

Review Request 60496: WIP: Add socket checking to the network ports isolator.

2017-06-28 Thread James Peach
/network_ports_isolator_tests.cpp PRE-CREATION Diff: https://reviews.apache.org/r/60496/diff/1/ Testing --- make check (Fedora 26) Thanks, James Peach

Review Request 60497: Update mesos-execute capabilities options.

2017-06-28 Thread James Peach
6e153446efe63700606ff33df1fb681438673084 Diff: https://reviews.apache.org/r/60497/diff/1/ Testing --- make check (Fedora 26) light manual testing Thanks, James Peach

Re: Review Request 62003: Added `network/ports` isolator nested container tests.

2017-09-11 Thread James Peach
rate a bit about this? What do you mean for `the > > original nested container status gets swallowed`? > > James Peach wrote: > When we are not using nested containers, we get a > `REASON_CONTAINER_LIMITATION` status update which comes directly from the > isola

Re: Review Request 62391: Fixed invalid handle bug in `os::process()`.

2017-09-19 Thread James Peach
> On Sept. 19, 2017, 5:01 p.m., James Peach wrote: > > 3rdparty/stout/include/stout/windows/os.hpp > > Lines 550 (patched) > > <https://reviews.apache.org/r/62391/diff/2/?file=1828686#file1828686line550> > > > > So the `Process32First` i

Re: Review Request 60496: Added socket checking to the network ports isolator.

2017-09-19 Thread James Peach
and `MEMORY` reasons were the anomaly ... - James --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60496/#review185649 -------

Review Request 62518: Fixed default executor handling of nested container status.

2017-09-22 Thread James Peach
/62518/diff/1/ Testing --- make check (Fedora 26) Thanks, James Peach

Review Request 62443: Initialized tests with Google Mock initialization.

2017-09-20 Thread James Peach
Diff: https://reviews.apache.org/r/62443/diff/1/ Testing --- make check (Fedora 26) Manually verified that `--gmock_verbose=info` traces the mocked expectations. Thanks, James Peach

Re: Review Request 62307: Added gpu/nvidia isolator to the index.

2017-09-14 Thread James Peach
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62307/#review185433 --- Ship it! Ship It! - James Peach On Sept. 13, 2017, 8:51 p.m

Re: Review Request 62305: Moved posix rlimits isolator doc to the isolators folder.

2017-09-14 Thread James Peach
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62305/#review185432 --- Ship it! Ship It! - James Peach On Sept. 13, 2017, 8:51 p.m

Re: Review Request 62300: Moved docker runtime isolator doc to the isolators folder.

2017-09-14 Thread James Peach
tps://reviews.apache.org/r/62300/#comment261738> Should be a 2nd-level header, ie. ## - James Peach On Sept. 13, 2017, 8:49 p.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://

Re: Review Request 62299: Moved xfs disk isolator doc to the isolators folder.

2017-09-14 Thread James Peach
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62299/#review185460 --- Ship it! Ship It! - James Peach On Sept. 13, 2017, 8:49 p.m

Re: Review Request 62302: Moved docker volume isolator doc to the isolators folder.

2017-09-14 Thread James Peach
tps://reviews.apache.org/r/62302/#comment261740> The CamelCasing in DockerContainerizer and MesosContainerizer is a bit strange, how about just "Docker containerizer" and "Meso containerizer"? - James Peach On Sept. 13, 201

Re: Review Request 62298: Moved disk du isolator doc to the isolators folder.

2017-09-14 Thread James Peach
(patched) <https://reviews.apache.org/r/62298/#comment261760> "To enable the ..." - James Peach On Sept. 13, 2017, 8:49 p.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: >

Re: Review Request 62297: Moved pid namespace isolator doc to the isolators folder.

2017-09-14 Thread James Peach
we prefer, but I guess this should be "/proc" or '/proc'. - James Peach On Sept. 13, 2017, 8:49 p.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To reply, vi

Re: Review Request 62308: Added the description for the isolators section.

2017-09-14 Thread James Peach
pache.org/r/62308/#comment261742> "Mesos supports the following built-in isolators:" - James Peach On Sept. 13, 2017, 8:52 p.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To reply, visit:

Re: Review Request 62322: Added initial doc for container volumes.

2017-09-14 Thread James Peach
> --- > > (Updated Sept. 14, 2017, 5:31 a.m.) > > > Review request for mesos, Gilbert Song and James Peach. > > > Repository: mesos > > > Description > --- > &

Re: Review Request 62306: Added an index in the mesos containerizer doc about isolators.

2017-09-14 Thread James Peach
x_path - cgroups/* - James Peach On Sept. 13, 2017, 8:51 p.m., Jie Yu wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://reviews.

Re: Review Request 62301: Moved cgroups net_cls isolator doc to the isolators folder.

2017-09-14 Thread James Peach
tps://reviews.apache.org/r/62301/#comment261739> Why MesosContainerizer (with backquotes)? Seems like "Mesos containerizer" (no quotes) would be conventional. - James Peach On Sept. 13, 2017, 8:50 p.

Review Request 62472: Fixed the ordering of Mesos containerizer isolators.

2017-09-21 Thread James Peach
4d5dc13f363f5d8886983d7dd06a5cecc177c345 Diff: https://reviews.apache.org/r/62472/diff/1/ Testing --- make check (Fedora 26) Thanks, James Peach

Re: Review Request 62391: Fixed invalid handle bug in `os::process()`.

2017-09-19 Thread James Peach
unt(init_pid)); #endif ``` - James Peach On Sept. 18, 2017, 11:39 p.m., Andrew Schwartzmeyer wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://re

Re: Review Request 60495: Added network ports isolator listen socket utilities.

2017-09-19 Thread James Peach
is is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60495/#review185635 ------- On Sept. 19, 2017, 12:19 a.m., James Peach wrote: > > ---

Re: Review Request 60495: Added network ports isolator listen socket utilities.

2017-09-19 Thread James Peach
: https://reviews.apache.org/r/60495/diff/16-17/ Testing --- make check (Fedora 26) Thanks, James Peach

Re: Review Request 60496: Added socket checking to the network ports isolator.

2017-09-19 Thread James Peach
think we need to introduce a new reason > > `REASON_CONTAINER_LIMITATION_PORT` and use it here rather than using > > `REASON_CONTAINER_LIMITATION`. > > James Peach wrote: > Why do you think a special port limitation is needed? I rather thought > that the `DISK` and `MEMORY` reason

Re: Review Request 60496: Added socket checking to the network ports isolator.

2017-09-18 Thread James Peach
t to rephrase is slightly? - James --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60496/#review185517 --- On S

Re: Review Request 60495: Added network ports isolator listen socket utilities.

2017-09-18 Thread James Peach
: https://reviews.apache.org/r/60495/diff/15-16/ Testing --- make check (Fedora 26) Thanks, James Peach

Re: Review Request 60496: Added socket checking to the network ports isolator.

2017-09-18 Thread James Peach
/network/ports.cpp PRE-CREATION Diff: https://reviews.apache.org/r/60496/diff/19/ Changes: https://reviews.apache.org/r/60496/diff/18-19/ Testing --- make check (Fedora 26) Thanks, James Peach

Re: Review Request 60496: Added socket checking to the network ports isolator.

2017-09-18 Thread James Peach
log this message like what we did here: > > > > https://github.com/apache/mesos/blob/1.3.1/src/slave/containerizer/mesos/isolators/cgroups/subsystems/memory.cpp#L556 > > James Peach wrote: > Do you mean that we should add a second log message of the form "Ports > limit exc

Re: Review Request 60766: Ignored containers that join CNI networks.

2017-09-19 Thread James Peach
his is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60766/#review185637 --- On Sept. 5, 2017, 5:57 p.m., James Peach wrote: > > --- >

Re: Review Request 62743: Synced the MTU for container eth0 in port mapping isolator.

2017-10-06 Thread James Peach
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62743/#review187273 --- Ship it! Ship It! - James Peach On Oct. 3, 2017, 4:19 a.m

Re: Review Request 62800: Created cgroups under systemd hierarchy in LinuxLauncher.

2017-10-06 Thread James Peach
ent264240> Log the `cgroup.error()`? src/slave/containerizer/mesos/linux_launcher.cpp Line 369 (original), 440 (patched) <https://reviews.apache.org/r/62800/#comment264241> I dunno, maybe a `;` rather than a `.` since it is weird to not end with a `.` when we have full sentences :

Re: Review Request 62798: Added named cgroup hierarchy support.

2017-10-06 Thread James Peach
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62798/#review187322 --- Ship it! Ship It! - James Peach On Oct. 6, 2017, 4:32 a.m

Re: Review Request 62642: Propagated the termination info down the container tree.

2017-10-10 Thread James Peach
to call `wait()` on an orphan container, which can't happen AFAICT. Maybe it would be clearer to just pass `None()` here. - James --- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/62642/#r

Re: Review Request 62642: Propagated the termination info down the container tree.

2017-10-10 Thread James Peach
4d5dc13f363f5d8886983d7dd06a5cecc177c345 Diff: https://reviews.apache.org/r/62642/diff/3/ Changes: https://reviews.apache.org/r/62642/diff/2-3/ Testing --- make check (Fedora 26) Thanks, James Peach

Review Request 62980: Added link anchors to all website headings.

2017-10-13 Thread James Peach
83596ddbd833e36b60bdbbd487ebd464b3874119 site/source/layouts/basic.erb 3bf1f55d7d8feafd3caaa7902755404f7e45bae6 Diff: https://reviews.apache.org/r/62980/diff/1/ Testing --- Verified manually using the Docker image to run Middleman in dev mode. Thanks, James Peach

Re: Review Request 62980: Added link anchors to all website headings.

2017-10-13 Thread James Peach
rg/r/62980/diff/1-2/ Testing --- Verified manually using the Docker image to run Middleman in dev mode. Thanks, James Peach

Re: Review Request 62965: Added doc for cgroups devices isolator.

2017-10-13 Thread James Peach
"? Maybe: ``` Make new character devices using the [mknod(2)](http://man7.org/linux/man-pages/man2/mknod.2.html) system call. ``` - James Peach On Oct. 13, 2017, 1:30 a.m., Jie Yu wrote: > > --- > This is an

Re: Review Request 62518: Fixed default executor handling of nested container status.

2017-10-12 Thread James Peach
://reviews.apache.org/r/62518/diff/4/ Testing --- make check (Fedora 26) Thanks, James Peach

Review Request 62939: Document the Linux build requirements.

2017-10-12 Thread James Peach
7496a10937e2119846e655c477707a30fa90b946 Diff: https://reviews.apache.org/r/62939/diff/1/ Testing --- None. Thanks, James Peach

<    5   6   7   8   9   10   11   12   13   14   >