mesos git commit: Fixed a typo in a test name.

2016-09-21 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 8483fa8a9 -> 5a075ced4 Fixed a typo in a test name. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5a075ced Tree:

mesos git commit: Printed empty set if `Resources` instance is empty.

2016-09-21 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 5a075ced4 -> e2e99de29 Printed empty set if `Resources` instance is empty. Prior to this patch, empty `Resources` instances have been omitted if printed to a stream. This showed up as double space, which is confusing. Now, an empty

[1/2] mesos git commit: Removed stout `Set`.

2016-09-21 Thread mpark
Repository: mesos Updated Branches: refs/heads/master e2e99de29 -> e48e9288b Removed stout `Set`. Review: https://reviews.apache.org/r/52037/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e48e9288 Tree:

[6/8] mesos git commit: Renamed Hook to ParentHook in Mesos [2/2].

2016-09-21 Thread jieyu
Renamed Hook to ParentHook in Mesos [2/2]. Review: https://reviews.apache.org/r/52018/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f4be028f Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/f4be028f Diff:

[2/8] mesos git commit: Used ChildHooks in Mesos [2/2].

2016-09-21 Thread jieyu
Used ChildHooks in Mesos [2/2]. We now use the new ChildHooks instead of explicit options such as setsid. Review: https://reviews.apache.org/r/45492/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/059f47bf Tree:

[7/8] mesos git commit: Converted watchdog option into a childhook in libprocess [1/2].

2016-09-21 Thread jieyu
Converted watchdog option into a childhook in libprocess [1/2]. Review: https://reviews.apache.org/r/52120/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6d58c241 Tree:

[1/8] mesos git commit: Refactored subprocess options [1/2].

2016-09-21 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master e48e9288b -> 3c730dc42 Refactored subprocess options [1/2]. Previously the subprocess interface supported a several options for the child process such as setsid. In order to make the interface more flexible we refactored such options into

[5/8] mesos git commit: Renamed Hook to parent Hook in libprocess [1/2].

2016-09-21 Thread jieyu
Renamed Hook to parent Hook in libprocess [1/2]. Review: https://reviews.apache.org/r/52017/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6a4a4f1a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6a4a4f1a Diff:

[4/8] mesos git commit: Replaces Hook::None() by {} in Mesos [2/2].

2016-09-21 Thread jieyu
Replaces Hook::None() by {} in Mesos [2/2]. Review: https://reviews.apache.org/r/52016/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1db3bbb1 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1db3bbb1 Diff:

[3/8] mesos git commit: Used {} instead of Hook::None() in libprocess [1/2].

2016-09-21 Thread jieyu
Used {} instead of Hook::None() in libprocess [1/2]. Review: https://reviews.apache.org/r/52015/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2af7e5eb Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2af7e5eb Diff:

[8/8] mesos git commit: Converted watchdog option into childhook in Mesos [2/2].

2016-09-21 Thread jieyu
Converted watchdog option into childhook in Mesos [2/2]. Review: https://reviews.apache.org/r/52121/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3c730dc4 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3c730dc4

[2/2] mesos git commit: Moved user of stout's `Set` to `std::set`.

2016-09-21 Thread mpark
Moved user of stout's `Set` to `std::set`. After the move to C++11 stout's `Set` offers no benefits over `std::set`, and will be removed in a subsequent change set. Review: https://reviews.apache.org/r/52036/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed compile error in ppc64le.

2016-09-21 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master d8f48cb4a -> 2f5e4492a Fixed compile error in ppc64le. `PAGE_SIZE` is not declared in ppc64le, use `os::pagesize()` instead to support different platforms. Review: https://reviews.apache.org/r/52090/ Project:

mesos git commit: Fixed an indentation problem in subprocess.cpp.

2016-09-21 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 3c730dc42 -> d8f48cb4a Fixed an indentation problem in subprocess.cpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d8f48cb4 Tree:

mesos git commit: Fixed an uninitialized variable warning.

2016-09-21 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 2f5e4492a -> 84a3adb92 Fixed an uninitialized variable warning. Observed with clang-tidy. Review: https://reviews.apache.org/r/52113/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Adjusted the comment to avoid using sub-containers.

2016-09-21 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 84a3adb92 -> 9e0845415 Adjusted the comment to avoid using sub-containers. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9e084541 Tree:

mesos git commit: Windows: Fixed subprocess and setsid compilation errors.

2016-09-21 Thread josephwu
Repository: mesos Updated Branches: refs/heads/master 9e0845415 -> cd5e924ad Windows: Fixed subprocess and setsid compilation errors. This changes the `ChildHook::SETSID` to a noop on Windows as there is no equivalent functionality on this OS. By default, the lifetime of child processes on

mesos git commit: Updating formatting of some lambda calls for readability.

2016-09-21 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 3f6faa499 -> b27f7f7a6 Updating formatting of some lambda calls for readability. Review: https://reviews.apache.org/r/49063 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/4] mesos git commit: Prefer `at` to `[]` for read-only access to container structs.

2016-09-21 Thread bmahler
Prefer `at` to `[]` for read-only access to container structs. This was pulled out as an independent sweep from https://reviews.apache.org/r/52056/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f73f55c7 Tree:

[4/4] mesos git commit: Minor cleanup to docker containerizer wait test.

2016-09-21 Thread bmahler
Minor cleanup to docker containerizer wait test. This was missed from feedback in https://reviews.apache.org/r/52055/. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5bffa49c Tree:

mesos git commit: Fixed a leak in MesosContainerizerDestroyTest.DestroyUnknownContainer.

2016-09-21 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 1a5a89bcd -> 018203030 Fixed a leak in MesosContainerizerDestroyTest.DestroyUnknownContainer. This led to the MesosContainerizerDestroyTest.LauncherDestroyFailure test failing since the containerizer metrics were not removed from

mesos git commit: Fixed a regression in the docker containerizer tests.

2016-09-21 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master b2f5c62c9 -> 1a5a89bcd Fixed a regression in the docker containerizer tests. This was introduced by 3f6faa499c. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/4] mesos git commit: Exposed unknown container case from Containerizer::destroy.

2016-09-21 Thread bmahler
Exposed unknown container case from Containerizer::destroy. Currently the callers of `destroy` cannot determine if the call succeeds or fails (without a secondary call to `wait()`). This also allows the caller to distinguish between a failure and waiting on an unknown container. This is

[1/4] mesos git commit: Minor naming cleanup in composing containerizer tests.

2016-09-21 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master b27f7f7a6 -> b2f5c62c9 Minor naming cleanup in composing containerizer tests. This was pulled out from https://reviews.apache.org/r/52056/ as a separate cleanup patch. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Modified the `network/cni` isolator to be nesting aware.

2016-09-21 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 018203030 -> 2a8de6255 Modified the `network/cni` isolator to be nesting aware. The network file setup in the `network/cni` isolator is now nesting aware. Since the children share the network and UTS namespace with the parent, the network

[2/2] mesos git commit: Updated UUID::fromString to not throw an exception on error.

2016-09-21 Thread bmahler
Updated UUID::fromString to not throw an exception on error. The exception from the string_generator needs to be caught so that we can surface a Try to the caller. Review: https://reviews.apache.org/r/52098 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] mesos git commit: Updated scheduler library to handle UUID parsing error.

2016-09-21 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master cd5e924ad -> 8322b403c Updated scheduler library to handle UUID parsing error. Previously this would have thrown an exception. Review: https://reviews.apache.org/r/52099 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/3] mesos git commit: Return 500 rather than 503 when response handlers fail.

2016-09-21 Thread bmahler
Return 500 rather than 503 when response handlers fail. Libprocess was returning 'Service Unavailable' when an HTTP handler Future fails. More appropriate would be an 'Internal Server Error'. Review: https://reviews.apache.org/r/52053 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo

[1/3] mesos git commit: Updated slave test to expect 500 rather than 503 from libprocess.

2016-09-21 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 8322b403c -> a640eb25a Updated slave test to expect 500 rather than 503 from libprocess. Previously HTTP handler failures lead to a 'Service Unavailble' response in libprocess. Now it leads to an 'Internal Server Error'. Review:

mesos git commit: Exposed unknown container case from Containerizer::wait.

2016-09-21 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master a640eb25a -> 3f6faa499 Exposed unknown container case from Containerizer::wait. This allows the caller to distinguish between a failure and waiting on an unknown container. This is important for the upcoming agent child container API, as