mesos git commit: Stout: Added missing includes to makefile.

2016-03-24 Thread joris
Repository: mesos Updated Branches: refs/heads/master 31b8b05ec -> b87f01b85 Stout: Added missing includes to makefile. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b87f01b8 Tree:

[1/3] mesos git commit: Replaced EXIT(1) with EXIT(EXIT_FAILURE).

2016-03-24 Thread alexr
Repository: mesos Updated Branches: refs/heads/master b87f01b85 -> 1a9fd2a07 Replaced EXIT(1) with EXIT(EXIT_FAILURE). Review: https://reviews.apache.org/r/8 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1a9fd2a0

[2/3] mesos git commit: Replaced EXIT(1) with EXIT(EXIT_FAILURE) in libprocess.

2016-03-24 Thread alexr
Replaced EXIT(1) with EXIT(EXIT_FAILURE) in libprocess. Review: https://reviews.apache.org/r/7 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e1c9ec4b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e1c9ec4b

[3/3] mesos git commit: Replaced EXIT(1) with EXIT(EXIT_FAILURE) in stout.

2016-03-24 Thread alexr
Replaced EXIT(1) with EXIT(EXIT_FAILURE) in stout. Review: https://reviews.apache.org/r/6 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/bbe76382 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/bbe76382 Diff:

mesos git commit: Stout: Added missing include to makefile.

2016-03-24 Thread joris
Repository: mesos Updated Branches: refs/heads/master 2c891016c -> 31b8b05ec Stout: Added missing include to makefile. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/31b8b05e Tree:

mesos git commit: Allocator Performance: Exited early to avoid needless computation.

2016-03-24 Thread joris
Repository: mesos Updated Branches: refs/heads/master 1a9fd2a07 -> 6a8738f89 Allocator Performance: Exited early to avoid needless computation. Review: https://reviews.apache.org/r/43668/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[4/9] mesos git commit: Added a test for executor shutdown grace period.

2016-03-24 Thread alexr
Added a test for executor shutdown grace period. Review: https://reviews.apache.org/r/44994/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/201ab8f3 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/201ab8f3 Diff:

[1/9] mesos git commit: Made `shutdown_grace_period` configurable in `ExecutorInfo`.

2016-03-24 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 6a8738f89 -> 39acb0a6b Made `shutdown_grace_period` configurable in `ExecutorInfo`. If `ExecutorInfo.shutdown_grace_period` is set, the executor driver uses it, otherwise it falls back to the environment variable

[3/9] mesos git commit: Enabled mocking on `TestContainerizer::destroy`.

2016-03-24 Thread alexr
Enabled mocking on `TestContainerizer::destroy`. Review: https://reviews.apache.org/r/44991/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4aba78e8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/4aba78e8 Diff:

[8/9] mesos git commit: Introduced `KillPolicy` protobuf.

2016-03-24 Thread alexr
Introduced `KillPolicy` protobuf. Describes a kill policy for a task. Currently does not express different policies (e.g. hitting HTTP endpoints), only controls how long to wait between graceful and forcible task kill. Review: https://reviews.apache.org/r/44656/ Project:

[5/9] mesos git commit: Added validation for executor's shutdown grace period.

2016-03-24 Thread alexr
Added validation for executor's shutdown grace period. Review: https://reviews.apache.org/r/44854/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/52cba1d5 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/52cba1d5

[9/9] mesos git commit: Removed unused signal escalation constant.

2016-03-24 Thread alexr
Removed unused signal escalation constant. Review: https://reviews.apache.org/r/44658/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/39acb0a6 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/39acb0a6 Diff:

[2/9] mesos git commit: Reordered function declarations in `TestContainerizer`.

2016-03-24 Thread alexr
Reordered function declarations in `TestContainerizer`. The common pattern is to follow the order in the parent class. Review: https://reviews.apache.org/r/44992/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d322aa95

[7/9] mesos git commit: Added validation for task's kill policy.

2016-03-24 Thread alexr
Added validation for task's kill policy. Review: https://reviews.apache.org/r/44707/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1fe6221a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1fe6221a Diff:

[6/9] mesos git commit: Used `KillPolicy` and shutdown grace period in command executor.

2016-03-24 Thread alexr
Used `KillPolicy` and shutdown grace period in command executor. The command executor determines how much time it allots the underlying task to clean up (effectively how long to wait for the task to comply to SIGTERM before sending SIGKILL) based on both optional task's `KillPolicy` and optional

mesos git commit: Documented task, executor, and volume IDs reuse is discouraged.

2016-03-24 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 829481a73 -> 71c500a72 Documented task, executor, and volume IDs reuse is discouraged. This is generally a bad idea for (at least) two reasons: (1) Determining when the previous entity with the ID has terminated can be non-trivial.

mesos git commit: Implemented prepare() method of "network/cni" isolator.

2016-03-24 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 71c500a72 -> 4bf5833e5 Implemented prepare() method of "network/cni" isolator. Review: https://reviews.apache.org/r/44514/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] mesos git commit: Updated `/state` agent endpoint to use jsonify.

2016-03-24 Thread mpark
Repository: mesos Updated Branches: refs/heads/master 09b31633a -> 829481a73 Updated `/state` agent endpoint to use jsonify. Review: https://reviews.apache.org/r/43911/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Upgraded to clang-format-3.8.

2016-03-24 Thread mpark
Repository: mesos Updated Branches: refs/heads/master 39acb0a6b -> 09b31633a Upgraded to clang-format-3.8. Review: https://reviews.apache.org/r/44758/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/09b31633 Tree:

[2/2] mesos git commit: Marked some private `json` functions as `static`.

2016-03-24 Thread mpark
Marked some private `json` functions as `static`. Review: https://reviews.apache.org/r/44981/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/829481a7 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/829481a7 Diff:

mesos git commit: Regenerated agent endpoint documentation.

2016-03-24 Thread me
Repository: mesos Updated Branches: refs/heads/master 65c1450f2 -> 8b5856ba2 Regenerated agent endpoint documentation. Reran the generate-endpoint-help.py scipt after adding the AUTHENTICATION information to agent HELP. Review: https://reviews.apache.org/r/45037/ Project:

[08/11] mesos git commit: Windows: [1/3] Implemented `os::pagesize`.

2016-03-24 Thread joris
Windows: [1/3] Implemented `os::pagesize`. Review: https://reviews.apache.org/r/44091/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2b9b88ea Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2b9b88ea Diff:

[11/11] mesos git commit: Windows: Used os::read/write from Stout for proper OS isolation.

2016-03-24 Thread joris
Windows: Used os::read/write from Stout for proper OS isolation. Review: https://reviews.apache.org/r/44089/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ed26c1bd Tree:

[05/11] mesos git commit: Libprocess: Add `SOL_TCP` flag for Windows.

2016-03-24 Thread joris
Libprocess: Add `SOL_TCP` flag for Windows. Review: https://reviews.apache.org/r/44722/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d13ebc2d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d13ebc2d Diff:

[03/11] mesos git commit: Windows: Added Socket compatibility `#define`s to windows.hpp.

2016-03-24 Thread joris
Windows: Added Socket compatibility `#define`s to windows.hpp. Review: https://reviews.apache.org/r/44078/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/765ad6c3 Tree:

[02/11] mesos git commit: Windows: [1/2] Lifted socket API into Stout.

2016-03-24 Thread joris
Windows: [1/2] Lifted socket API into Stout. Review: https://reviews.apache.org/r/44138/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6f8544cf Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6f8544cf Diff:

[01/11] mesos git commit: Windows: [2/2] Lifted socket API into Stout.

2016-03-24 Thread joris
Repository: mesos Updated Branches: refs/heads/master 8b5856ba2 -> 2c891016c Windows: [2/2] Lifted socket API into Stout. Review: https://reviews.apache.org/r/44139/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[09/11] mesos git commit: Windows: [2/3] Transitioned `os::recv` to use `os::pagesize`.

2016-03-24 Thread joris
Windows: [2/3] Transitioned `os::recv` to use `os::pagesize`. Review: https://reviews.apache.org/r/44092/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0652a6f8 Tree:

[04/11] mesos git commit: Windows: Added `slave/flags.cpp` to Windows build.

2016-03-24 Thread joris
Windows: Added `slave/flags.cpp` to Windows build. Review: https://reviews.apache.org/r/42036/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4c4b391a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/4c4b391a Diff:

[10/11] mesos git commit: Stout: Added implementation of `read` that works on Windows.

2016-03-24 Thread joris
Stout: Added implementation of `read` that works on Windows. Review: https://reviews.apache.org/r/44748/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/8fd56e77 Tree:

[1/2] mesos git commit: Added registry tests for /weights endpoint.

2016-03-24 Thread me
Repository: mesos Updated Branches: refs/heads/master 40a1626f1 -> 65c1450f2 Added registry tests for /weights endpoint. Review: https://reviews.apache.org/r/44511/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed flaky `MasterTest.SlavesEndpointTwoSlaves`.

2016-03-24 Thread me
Repository: mesos Updated Branches: refs/heads/master 73790d3c1 -> 40a1626f1 Fixed flaky `MasterTest.SlavesEndpointTwoSlaves`. We were not correctly waiting for the master to register the first slave before making a call to the `/slaves` endpoint. There was this possible race: - Slave1 is

[2/2] mesos git commit: Style fix in allocator metrics.

2016-03-24 Thread bmahler
Style fix in allocator metrics. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6f9b40d4 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6f9b40d4 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/6f9b40d4

[1/2] mesos git commit: Style fix in docker runtime isolator.

2016-03-24 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 4bf5833e5 -> 3af01d6f8 Style fix in docker runtime isolator. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3af01d6f Tree: