[01/10] mesos git commit: Windows: Moved "kill on close" job object flag to own function.

2018-02-09 Thread andschwa
Repository: mesos Updated Branches: refs/heads/master 988bab82f -> 04990253e Windows: Moved "kill on close" job object flag to own function. Instead of setting this flag unconditionally when we create a job object, this patch abstracts it to the function `set_job_kill_on_close_limit(pid_t)` so

[10/10] mesos git commit: Windows: Fixed recovery of Mesos containerizer.

2018-02-09 Thread andschwa
Windows: Fixed recovery of Mesos containerizer. The Windows OS deletes the job object created in the agent process when the agent dies, because no other process holds a handle to it (despite processes being assigned to the job object). While this is counter-intuitive, it is the observed behavior.

[09/10] mesos git commit: Fixed `SlaveRecoveryTest.ReconcileTasksMissingFromSlave`.

2018-02-09 Thread andschwa
Fixed `SlaveRecoveryTest.ReconcileTasksMissingFromSlave`. Because it is not possible to delete a file (or a folder recursively) with open handles on Windows, we have to explicitly `reset()` the agent before removing the framework meta directory. Otherwise, the task status update manager will be de

[04/10] mesos git commit: Windows: Used Unicode API to duplicate sockets.

2018-02-09 Thread andschwa
Windows: Used Unicode API to duplicate sockets. This code was still using the macro `::WSADuplicateSocket` instead of the explicit Unicode version `::WSADuplicateSocketW`. Because `UNICODE` has been defined, the code logically has not changed, but the comment was out-of-date, and the warning no lo

[05/10] mesos git commit: Implemented `net::socket()` for Windows using `WSASocket`.

2018-02-09 Thread andschwa
Implemented `net::socket()` for Windows using `WSASocket`. Rather than reusing the existing `net::socket()` wrapper for Windows, the original wrapper was moved to `posix/socket.hpp`, and a new wrapper was written in `windows/socket.hpp` which uses `::WSASocket()` instead of `::socket()` and takes

[06/10] mesos git commit: Added `TYPED_TEST_TEMP_DISABLED_ON_WINDOWS` macro.

2018-02-09 Thread andschwa
Added `TYPED_TEST_TEMP_DISABLED_ON_WINDOWS` macro. This lets us temporarily disable `TYPED_TEST` unit tests on Windows. Review: https://reviews.apache.org/r/65406 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b7cfcd7a Tree

[03/10] mesos git commit: Windows: Enabled `Flags::runtime_directory` for checkpointing.

2018-02-09 Thread andschwa
Windows: Enabled `Flags::runtime_directory` for checkpointing. This had previously been compiled out on Windows, but we bring it back in order to support checkpointing. Review: https://reviews.apache.org/r/65401 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-u

[08/10] mesos git commit: Windows: Ported `slave_recovery_tests.cpp`.

2018-02-09 Thread andschwa
Windows: Ported `slave_recovery_tests.cpp`. This commit enables the unit tests found in `slave_recovery_tests.cpp` to test agent recovery on Windows. Review: https://reviews.apache.org/r/65408 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/

[07/10] mesos git commit: Windows: Enabled tests that were blocked by MESOS-7604.

2018-02-09 Thread andschwa
Windows: Enabled tests that were blocked by MESOS-7604. This commit enables tests that were previously disabled on Windows due to MESOS-7604. Review: https://reviews.apache.org/r/65407 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/meso

[02/10] mesos git commit: Windows: Tied task lifetimes to executors.

2018-02-09 Thread andschwa
Windows: Tied task lifetimes to executors. To enable recovery of checkpointed tasks, the agent must be able to die without also killing the executors and tasks, thus we cannot set the "job object kill on close" limit unconditionally. However, the executors must still be able to kill their tasks wh

[7/8] mesos-site git commit: Updated the website built from mesos SHA: 0499025.

2018-02-09 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b3c1ed81/content/api/latest/c++/index.hhk -- diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk index b386aa4..f837ba8 100644 --- a/content/api/la

[5/8] mesos-site git commit: Updated the website built from mesos SHA: 0499025.

2018-02-09 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b3c1ed81/content/api/latest/c++/stout_2include_2stout_2gtest_8hpp_source.html -- diff --git a/content/api/latest/c++/stout_2include_2stout_2gtest_8hpp_source.html b/content/a

[8/8] mesos-site git commit: Updated the website built from mesos SHA: 0499025.

2018-02-09 Thread git-site-role
Updated the website built from mesos SHA: 0499025. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/b3c1ed81 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/b3c1ed81 Diff: http://git-wip-us.apache.org/rep

[3/8] mesos-site git commit: Updated the website built from mesos SHA: 0499025.

2018-02-09 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b3c1ed81/content/api/latest/c++/stout_2include_2stout_2os_2windows_2socket_8hpp_source.html -- diff --git a/content/api/latest/c++/stout_2include_2stout_2os_2windows_2socket_8

[1/8] mesos-site git commit: Updated the website built from mesos SHA: 0499025.

2018-02-09 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site c2ec82208 -> b3c1ed810 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b3c1ed81/content/api/latest/c++/windows_2write_8hpp_source.html -- diff --git a/content/

[2/8] mesos-site git commit: Updated the website built from mesos SHA: 0499025.

2018-02-09 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b3c1ed81/content/api/latest/c++/windows_2os_8hpp_source.html -- diff --git a/content/api/latest/c++/windows_2os_8hpp_source.html b/content/api/latest/c++/windows_2os_8hpp_sour

[4/8] mesos-site git commit: Updated the website built from mesos SHA: 0499025.

2018-02-09 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b3c1ed81/content/api/latest/c++/stout_2include_2stout_2os_2posix_2socket_8hpp_source.html -- diff --git a/content/api/latest/c++/stout_2include_2stout_2os_2posix_2socket_8hpp_

[6/8] mesos-site git commit: Updated the website built from mesos SHA: 0499025.

2018-02-09 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b3c1ed81/content/api/latest/c++/libprocess_2include_2process_2gtest_8hpp_source.html -- diff --git a/content/api/latest/c++/libprocess_2include_2process_2gtest_8hpp_source.htm

[3/3] mesos git commit: Added named cgroup hierarchy support.

2018-02-09 Thread jieyu
Added named cgroup hierarchy support. This patch add a helper to get the cgroup associated with the given pid for a named cgroup hierarchy. Review: https://reviews.apache.org/r/62798 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/

[2/3] mesos git commit: Fixed an issue for the I/O switchboard process lifetime.

2018-02-09 Thread jieyu
Fixed an issue for the I/O switchboard process lifetime. We expect the I/O switchboard process to last across agent restarts (similar to log rotate process or executor processes). Therefore, we should put it into 'mesos_executor.slice' like others. Review: https://reviews.apache.org/r/62799 Pro

[1/3] mesos git commit: Created cgroups under systemd hierarchy in LinuxLauncher.

2018-02-09 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 04990253e -> a86ff8c36 Created cgroups under systemd hierarchy in LinuxLauncher. This patch added the support for systemd hierarchy in LinuxLauncher. It created the same cgroup layout under the systemd hierarchy (if systemd is enabled) as t

[4/4] mesos-site git commit: Updated the website built from mesos SHA: a86ff8c.

2018-02-09 Thread git-site-role
Updated the website built from mesos SHA: a86ff8c. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/00eec894 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/00eec894 Diff: http://git-wip-us.apache.org/rep

[3/4] mesos-site git commit: Updated the website built from mesos SHA: a86ff8c.

2018-02-09 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/00eec894/content/api/latest/c++/index.hhk -- diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk index f837ba8..b9c8111 100644 --- a/content/api/la

[1/4] mesos-site git commit: Updated the website built from mesos SHA: a86ff8c.

2018-02-09 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site b3c1ed810 -> 00eec894b http://git-wip-us.apache.org/repos/asf/mesos-site/blob/00eec894/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml i

[2/4] mesos-site git commit: Updated the website built from mesos SHA: a86ff8c.

2018-02-09 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/00eec894/content/api/latest/c++/linux_2cgroups_8hpp_source.html -- diff --git a/content/api/latest/c++/linux_2cgroups_8hpp_source.html b/content/api/latest/c++/linux_2cgroups_

mesos git commit: Removed unused Boost.Variant header.

2018-02-09 Thread mpark
Repository: mesos Updated Branches: refs/heads/master a86ff8c36 -> ea1ca0b9a Removed unused Boost.Variant header. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ea1ca0b9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/