[1/2] mesos git commit: Added `process::loop` abstraction.

2016-12-01 Thread benh
Repository: mesos Updated Branches: refs/heads/master de2a7f414 -> c33ba209d Added `process::loop` abstraction. Review: https://reviews.apache.org/r/54110 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9b34363e Tree: htt

[2/2] mesos git commit: Added an http::serve abstraction.

2016-12-01 Thread benh
Added an http::serve abstraction. Review: https://reviews.apache.org/r/54115 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c33ba209 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/c33ba209 Diff: http://git-wip-us.ap

[7/7] mesos git commit: Added `getContainerIOSwitchboardAddress` helper to containerizer paths.

2016-12-01 Thread jieyu
Added `getContainerIOSwitchboardAddress` helper to containerizer paths. Review: https://reviews.apache.org/r/54238 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1420cfaf Tree: http://git-wip-us.apache.org/repos/asf/mesos/tr

[2/7] mesos git commit: Added implementation for containerizer 'attach()' call.

2016-12-01 Thread jieyu
Added implementation for containerizer 'attach()' call. Review: https://reviews.apache.org/r/53939 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5e387f43 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5e387f43 Diff

[4/7] mesos git commit: Updated 'io::redirect()' to take an optional vector of callback hooks.

2016-12-01 Thread jieyu
Updated 'io::redirect()' to take an optional vector of callback hooks. These callback hooks will be invoked before passing any data read from the 'from' file descriptor on to the 'to' file descriptor. Review: https://reviews.apache.org/r/54053 Project: http://git-wip-us.apache.org/repos/asf/mes

[5/7] mesos git commit: Updated the io switchboard to launch an external io switchboard server.

2016-12-01 Thread jieyu
Updated the io switchboard to launch an external io switchboard server. We don't currently handle recovering access to the io switchboard server process after agent restarts. We will add that in a subsequent commit. Review: https://reviews.apache.org/r/54148 Project: http://git-wip-us.apache.or

[3/7] mesos git commit: Added a server side component for the IOSwitchboard.

2016-12-01 Thread jieyu
Added a server side component for the IOSwitchboard. The 'IOSwitchboardServer' component encapsulates the server side logic for redirecting the 'stdin/stdout/stderr' of a container to/from multiple sources/targets. For now, we only redirect IO from a container to the FDs supplied to us by the logg

[6/7] mesos git commit: Added support to handle ATTACH_CONTAINER_OUPUT in the io switchbaord.

2016-12-01 Thread jieyu
Added support to handle ATTACH_CONTAINER_OUPUT in the io switchbaord. Review: https://reviews.apache.org/r/53974 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/dcf0f1cb Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree

[1/7] mesos git commit: Enabled the IO switchboard server by default for tests.

2016-12-01 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master c33ba209d -> e19d77605 Enabled the IO switchboard server by default for tests. Review: https://reviews.apache.org/r/54229 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/comm

[2/2] mesos git commit: Show the Mesos logo in the webui navbar.

2016-12-01 Thread bmahler
Show the Mesos logo in the webui navbar. Review: https://reviews.apache.org/r/53288/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/326e23a4 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/326e23a4 Diff: http://git-w

[1/2] mesos git commit: Overrided the webui navbar color to match project website.

2016-12-01 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master e19d77605 -> 326e23a42 Overrided the webui navbar color to match project website. Review: https://reviews.apache.org/r/53287/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/

[1/2] mesos git commit: Fixed a warning reported by clang.

2016-12-01 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 326e23a42 -> 6a19ad12b Fixed a warning reported by clang. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6a19ad12 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tr

[2/2] mesos git commit: Updated IOSwitchboard to block IO until connected for DEBUG containers.

2016-12-01 Thread jieyu
Updated IOSwitchboard to block IO until connected for DEBUG containers. Review: https://reviews.apache.org/r/54241/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/18845afb Tree: http://git-wip-us.apache.org/repos/asf/mesos/t

mesos git commit: Silenced a warning from clang.

2016-12-01 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 6a19ad12b -> d580ecab3 Silenced a warning from clang. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d580ecab Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d

[1/2] mesos git commit: CMake: Added IO Switchboard to the build.

2016-12-01 Thread josephwu
Repository: mesos Updated Branches: refs/heads/master d580ecab3 -> 071ed5226 CMake: Added IO Switchboard to the build. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/071ed522 Tree: http://git-wip-us.apache.org/repos/asf/m

[2/2] mesos git commit: CMake: Added loop_tests.cpp to the build.

2016-12-01 Thread josephwu
CMake: Added loop_tests.cpp to the build. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b1197184 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b1197184 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b11971

mesos git commit: Fixed bug on OSX with socket shutdown.

2016-12-01 Thread benh
Repository: mesos Updated Branches: refs/heads/master 071ed5226 -> 9622bc9eb Fixed bug on OSX with socket shutdown. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9622bc9e Tree: http://git-wip-us.apache.org/repos/asf/meso

mesos git commit: Added additional unit tests for shared resources.

2016-12-01 Thread yan
Repository: mesos Updated Branches: refs/heads/master 9622bc9eb -> 1f571b347 Added additional unit tests for shared resources. Review: https://reviews.apache.org/r/52295/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1f

mesos git commit: Introduced Resource.AllocationInfo.

2016-12-01 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 1f571b347 -> a6157150f Introduced Resource.AllocationInfo. To determine which role resources are allocated to, we now need to store allocation information within the Resources. This is part of the effort to support multi-role frameworks. Se

mesos git commit: Disambiguated return type of lambda passed to `Future::then`.

2016-12-01 Thread josephwu
Repository: mesos Updated Branches: refs/heads/master a6157150f -> 800c629a8 Disambiguated return type of lambda passed to `Future::then`. Fixes build break for OS X 10.10.4, Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn), introduced by c33ba209d226fb91874b00976298faf278a29

[2/4] mesos git commit: Refactored `Slave::Http::launchNestedContainer()`.

2016-12-01 Thread vinodkone
Refactored `Slave::Http::launchNestedContainer()`. This so that code can be reused for `launchNestedContainerSession()` that will be added later. No functional change. Review: https://reviews.apache.org/r/54193 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us

[3/4] mesos git commit: Added `devolve` helper for `ContainerID`.

2016-12-01 Thread vinodkone
Added `devolve` helper for `ContainerID`. This will be used subsequently. Review: https://reviews.apache.org/r/54194 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ec009f45 Tree: http://git-wip-us.apache.org/repos/asf/mesos

[4/4] mesos git commit: Updated signatures of v1 agent API handlers.

2016-12-01 Thread vinodkone
Updated signatures of v1 agent API handlers. Moved the position of `contentType` argument in the handlers and renamed it to `acceptType` to be consistent. Review: https://reviews.apache.org/r/54245 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/r

[1/4] mesos git commit: Added API handler for LAUNCH_NESTED_CONTAINER_SESSION.

2016-12-01 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 800c629a8 -> 0e0fc463b Added API handler for LAUNCH_NESTED_CONTAINER_SESSION. In addition to launching the nested container the API handler ensures that the container is destroyed if the connection breaks. Review: https://reviews.apache.or