mesos git commit: Fixed build error for HTTPCommandExecutorTest.TerminateWithACK.

2016-09-22 Thread josephwu
Repository: mesos Updated Branches: refs/heads/master 2158f3d86 -> 3f3a3bd7b Fixed build error for HTTPCommandExecutorTest.TerminateWithACK. Review: https://reviews.apache.org/r/52186/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Improve DRF sorter performance by bypassing `Resources`.

2016-09-22 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 3f3a3bd7b -> fba310812 Improve DRF sorter performance by bypassing `Resources`. Currently in `DRFSorter::calculateShare()` (which is called very frequently), the use of `Resources::get()` is expensive as it needs to loop over the

[1/2] mesos git commit: Terminate when receiving the ACK of terminal status update.

2016-09-22 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 5e23edd51 -> 2158f3d86 Terminate when receiving the ACK of terminal status update. Review: https://reviews.apache.org/r/46187/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] mesos git commit: Added the test `HTTPCommandExecutorTest.TerminateWithACK`.

2016-09-22 Thread vinodkone
Added the test `HTTPCommandExecutorTest.TerminateWithACK`. Review: https://reviews.apache.org/r/52075/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/2158f3d8 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/2158f3d8

[3/3] mesos git commit: Fixed a small formatting issue in launch.cpp.

2016-09-22 Thread jieyu
Fixed a small formatting issue in launch.cpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a67b37cc Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/a67b37cc Diff:

[2/3] mesos git commit: Updated launch helper to avoid initializing libprocess.

2016-09-22 Thread jieyu
Updated launch helper to avoid initializing libprocess. Previously, we used 'process::subprocess()' to run all of our pre-exec commands. However, doing so causes us to (unnecesssarily) initialize all of libprocess (and subsequently creating a whole bunch of unused threads, etc.) just to run a

[1/3] mesos git commit: Added 'os::spawn()' to stout as 'argv' counterpart to 'os::system()'.

2016-09-22 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 0c6c5f8a3 -> a67b37cc8 Added 'os::spawn()' to stout as 'argv' counterpart to 'os::system()'. Review: https://reviews.apache.org/r/52184/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed a wrong comment in `LocalPuller`.

2016-09-22 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master fba310812 -> 0c6c5f8a3 Fixed a wrong comment in `LocalPuller`. Review: https://reviews.apache.org/r/52151/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0c6c5f8a

[1/2] mesos git commit: Added MESOS-6235 to 1.0.2 CHANGELOG.

2016-09-22 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master a67b37cc8 -> e0b672145 Added MESOS-6235 to 1.0.2 CHANGELOG. Review: https://reviews.apache.org/r/52187 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f3d72e1f Tree:

[2/2] mesos git commit: Added MESOS-6075 to 1.0.2 CHANGELOG.

2016-09-22 Thread jieyu
Added MESOS-6075 to 1.0.2 CHANGELOG. Review: https://reviews.apache.org/r/52188 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e0b67214 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e0b67214 Diff:

[3/4] mesos git commit: Added MESOS-6235 to 1.0.2 CHANGELOG.

2016-09-22 Thread jieyu
Added MESOS-6235 to 1.0.2 CHANGELOG. Review: https://reviews.apache.org/r/52187 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/778253ca Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/778253ca Diff:

[1/4] mesos git commit: Added 'os::spawn()' to stout as 'argv' counterpart to 'os::system()'.

2016-09-22 Thread jieyu
Repository: mesos Updated Branches: refs/heads/1.0.x d6132c58c -> 7b322c9ef Added 'os::spawn()' to stout as 'argv' counterpart to 'os::system()'. Review: https://reviews.apache.org/r/52184/ *** Modified for 1.0.x *** Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/4] mesos git commit: Updated launch helper to avoid initializing libprocess.

2016-09-22 Thread jieyu
Updated launch helper to avoid initializing libprocess. Previously, we used 'process::subprocess()' to run all of our pre-exec commands. However, doing so causes us to (unnecesssarily) initialize all of libprocess (and subsequently creating a whole bunch of unused threads, etc.) just to run a

mesos git commit: Added support for CNI networks for `--task_group`.

2016-09-22 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master e0b672145 -> c13644984 Added support for CNI networks for `--task_group`. Review: https://reviews.apache.org/r/52177/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] mesos git commit: Replaced usage of `strcpy` in stout.

2016-09-22 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 34e9e09b8 -> 4df496aaf Replaced usage of `strcpy` in stout. Various simple-minded static analysis tools warn against using `strcpy` when the `src` buffer is not a C string literal. Although the way in which stout was using `strcpy` should

[2/2] mesos git commit: Cleaned up header includes in stout.

2016-09-22 Thread alexr
Cleaned up header includes in stout. Review: https://reviews.apache.org/r/52086/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4df496aa Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/4df496aa Diff:

[1/2] mesos git commit: Added validation of *_NESTED_CONTAINER calls in the agent API.

2016-09-22 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 2a8de6255 -> 7a4a7a53b Added validation of *_NESTED_CONTAINER calls in the agent API. Review: https://reviews.apache.org/r/52100 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] mesos git commit: Introduced an agent API for managing nested containers.

2016-09-22 Thread bmahler
Introduced an agent API for managing nested containers. This allows the executor to manage nested containers within its container. This is useful for the implementation of task groups ("pod"-like containers) as well as for executors that would like to implement isolation between sub-tasks. This

mesos git commit: Updated a comment for oversubscribed resources for clarity.

2016-09-22 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 7a4a7a53b -> cd3f27e1e Updated a comment for oversubscribed resources for clarity. Review: https://reviews.apache.org/r/43138 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Cleaned up indentation for _accept() in master.hpp.

2016-09-22 Thread alexr
Repository: mesos Updated Branches: refs/heads/master cd3f27e1e -> 34e9e09b8 Cleaned up indentation for _accept() in master.hpp. Review: https://reviews.apache.org/r/52142/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added support for opaque whiteout file `.wh..wh..opq`.

2016-09-22 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master c2b595e1c -> f433cdd0c Added support for opaque whiteout file `.wh..wh..opq`. Review: https://reviews.apache.org/r/52118/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] mesos git commit: Pulled out the mock containerizer into a header for reuse.

2016-09-22 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master f433cdd0c -> 5e23edd51 Pulled out the mock containerizer into a header for reuse. This also adds a mock of the newly introduce nested container `launch()` member function. Review: https://reviews.apache.org/r/52134 Project:

[2/2] mesos git commit: Implemented the *_NESTED_CONTAINER calls in the agent API.

2016-09-22 Thread bmahler
Implemented the *_NESTED_CONTAINER calls in the agent API. This patch adds the wiring for the *_NESTED_CONTAINER calls, including validation and calling into the containerizer. Review: https://reviews.apache.org/r/52135 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added `DEFAULT_ROLE` constant to persistent volume tests.

2016-09-22 Thread mpark
Repository: mesos Updated Branches: refs/heads/master 4df496aaf -> c2b595e1c Added `DEFAULT_ROLE` constant to persistent volume tests. Review: https://reviews.apache.org/r/41613/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: