mesos git commit: Fixed JsonTest.Find.

2016-07-05 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master f9e17a9cc -> 149f4c55b Fixed JsonTest.Find. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/149f4c55 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/149f4c55 Di

mesos git commit: Fixed minor style issues.

2016-07-05 Thread me
Repository: mesos Updated Branches: refs/heads/master d66f0b1e6 -> f9e17a9cc Fixed minor style issues. Adds a proper breakline before braces in method definition. Review: https://reviews.apache.org/r/49359/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us

[5/7] mesos git commit: Refactored 'master::Http::getFrameworks()' to helper function.

2016-07-05 Thread anand
Refactored 'master::Http::getFrameworks()' to helper function. This helper function will be reused by `GET_FRAMEWORKS` and `GET_STATE` calls. Review: https://reviews.apache.org/r/49489/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mes

[1/7] mesos git commit: Implemented 'Subscribed' event for v1 master event stream.

2016-07-05 Thread anand
Repository: mesos Updated Branches: refs/heads/master d840f48f9 -> d66f0b1e6 Implemented 'Subscribed' event for v1 master event stream. This change adds logic for sending a `Subscribed` event containing the present master state when a client subscribes to the event stream. Review: https://rev

[2/7] mesos git commit: Refactored 'Master::Http::getExecutors()' into helper function.

2016-07-05 Thread anand
Refactored 'Master::Http::getExecutors()' into helper function. This helper function will be reused by `GetExecutors` and `GetState`. Review: https://reviews.apache.org/r/49516/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commi

[7/7] mesos git commit: Revised protobuf definition of 'GetState' response.

2016-07-05 Thread anand
Revised protobuf definition of 'GetState' response. Review: https://reviews.apache.org/r/49509/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3a988e2e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3a988e2e Diff: h

[3/7] mesos git commit: Refactored 'Master::Http::getAgents()' into helper function.

2016-07-05 Thread anand
Refactored 'Master::Http::getAgents()' into helper function. This helper function will be reused by both `GET_AGENTS` and `GET_STATE` calls. Review: https://reviews.apache.org/r/49488/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/meso

[6/7] mesos git commit: Implemented 'GetState' call in v1 master API.

2016-07-05 Thread anand
Implemented 'GetState' call in v1 master API. Also created a helper function `_getState()` that will be used for snapshot of event stream when a client subscribes. Review: https://reviews.apache.org/r/49517/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.ap

[4/7] mesos git commit: Refactored 'Master::Http::getTasks()' into helper function.

2016-07-05 Thread anand
Refactored 'Master::Http::getTasks()' into helper function. This helper function will be also be reused for `GetState`. Review: https://reviews.apache.org/r/49487/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a3182645 Tre

[3/4] mesos git commit: Fixed a bug in JSON::Object.find: array subscript is dropped.

2016-07-05 Thread bmahler
Fixed a bug in JSON::Object.find: array subscript is dropped. If a subscript is used on a non-array type, this was not being treated as an error. The tests introduced show some examples. Review: https://reviews.apache.org/r/49673 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit

[2/4] mesos git commit: Updated JSON::Value.find to return None when a Null is found.

2016-07-05 Thread bmahler
Updated JSON::Value.find to return None when a Null is found. Review: https://reviews.apache.org/r/49670 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/741fcb30 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/741fcb3

[1/4] mesos git commit: Minor cleanups in JsonTest.Find.

2016-07-05 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 516d8ef07 -> d840f48f9 Minor cleanups in JsonTest.Find. Review: https://reviews.apache.org/r/49671 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7f481471 Tree: http:

[4/4] mesos git commit: Fixed the docker executor to handle inspect failures.

2016-07-05 Thread bmahler
Fixed the docker executor to handle inspect failures. Review: https://reviews.apache.org/r/49674 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d840f48f Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d840f48f Diff:

mesos git commit: Added test for using an Nvidia Docker image.

2016-07-05 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 6fd7f8125 -> 516d8ef07 Added test for using an Nvidia Docker image. This test ensures that when using one of Nvidia's Docker images (these contain a special label), we mount a volume that contains the libraries and binaries. Review: https:

mesos git commit: Fixed a whitespace rendering issue in the work groups document.

2016-07-05 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master fcc94d202 -> 6fd7f8125 Fixed a whitespace rendering issue in the work groups document. Review: https://reviews.apache.org/r/49680/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/m

mesos git commit: Skipped terminated executors in statistics endpoints.

2016-07-05 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 57b52a0ee -> fcc94d202 Skipped terminated executors in statistics endpoints. For /containers and /monitor/statistics endpoints. This is possible because the agent won't remove the executor from its list until it receives the ack for the las

[1/2] mesos git commit: Added Nvidia devices as default devices to inject into every container.

2016-07-05 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master fbaa52c4a -> 57b52a0ee Added Nvidia devices as default devices to inject into every container. This is a temporary hack to make Nvidia devices available to a container when file system isolation is enabled. Ideally, we would have a generic

[2/2] mesos git commit: Inject Nvidia libraries for Docker images in mesos containerizer.

2016-07-05 Thread bmahler
Inject Nvidia libraries for Docker images in mesos containerizer. When Docker images have the matching Nvidia label, we will inject the volume which contains the Nvidia libraries / binaries. Similar support will be added for the Docker containerizer. Review: https://reviews.apache.org/r/49669/

mesos git commit: Added ability to set framework capabilities in 'mesos-execute'.

2016-07-05 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 89cfa6e23 -> fbaa52c4a Added ability to set framework capabilities in 'mesos-execute'. Review: https://reviews.apache.org/r/49657/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/m

mesos git commit: Updated elfio-3.1.patch to fix alignment bug properly.

2016-07-05 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 0f9bf5aef -> 89cfa6e23 Updated elfio-3.1.patch to fix alignment bug properly. The previous patch incorrectly fixed the alignment of an ELF note to 4 bytes (even for 64 bit ELF files). This happened to be OK for our specific case of parsing

mesos git commit: Added #allocator slack channel to Resource Allocation group.

2016-07-05 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master ee7567448 -> 0f9bf5aef Added #allocator slack channel to Resource Allocation group. Review: https://reviews.apache.org/r/49660/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/meso

mesos git commit: Fixed a no-longer-correct comment in `Master::shutdownSlave`.

2016-07-05 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master a1423a5fe -> ee7567448 Fixed a no-longer-correct comment in `Master::shutdownSlave`. The comment was correct when written, but is no longer accurate. Review: https://reviews.apache.org/r/49623/ Project: http://git-wip-us.apache.org/repos

mesos git commit: Implemented 'shouldInject()' in the 'NvidiaVolume' component.

2016-07-05 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 26303f4be -> a1423a5fe Implemented 'shouldInject()' in the 'NvidiaVolume' component. We use the the 'com.nvidia.volumes.needed' label from nvidia-docker to decide if we should inject the volume or not: https://github.com/NVIDIA/nvidia-dock

mesos git commit: Fixed variable name in reconciliation tests.

2016-07-05 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master def697929 -> 26303f4be Fixed variable name in reconciliation tests. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/26303f4b Tree: http://git-wip-us.apache.org/repos/as

mesos git commit: Added mr-redis to frameworks.md.

2016-07-05 Thread tillt
Repository: mesos Updated Branches: refs/heads/master 50085d5ab -> def697929 Added mr-redis to frameworks.md. Adding Redis Framework for Apache Mesos to the list of frameworks. This closes #128 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/r

[2/2] mesos git commit: Added weave instructions to CNI doc.

2016-07-05 Thread jieyu
Added weave instructions to CNI doc. Review: https://reviews.apache.org/r/49638/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7c0333cb Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7c0333cb Diff: http://git-wip-u

[1/2] mesos git commit: Some minor style fixes in CNI doc.

2016-07-05 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 3a5d67209 -> 50085d5ab Some minor style fixes in CNI doc. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/50085d5a Tree: http://git-wip-us.apache.org/repos/asf/mesos/tr

[1/2] mesos git commit: Libprocess: Fixed 'make dist'.

2016-07-05 Thread tillt
Repository: mesos Updated Branches: refs/heads/master 6fd4e9a53 -> 3a5d67209 Libprocess: Fixed 'make dist'. Review: https://reviews.apache.org/r/49649/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3a5d6720 Tree: http:/

[2/2] mesos git commit: Stout: Fixed 'make dist'.

2016-07-05 Thread tillt
Stout: Fixed 'make dist'. Review: https://reviews.apache.org/r/49648/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/147adeda Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/147adeda Diff: http://git-wip-us.apache.or

[4/4] mesos git commit: Extended install() to support 7 arguments.

2016-07-05 Thread vinodkone
Extended install() to support 7 arguments. Review: https://reviews.apache.org/r/49606/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/90bcedce Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/90bcedce Diff: http://git

[3/4] mesos git commit: Added filtering for orphaned tasks in /state endpoint.

2016-07-05 Thread vinodkone
Added filtering for orphaned tasks in /state endpoint. Review: https://reviews.apache.org/r/49609/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0cb4533b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0cb4533b Diff

[2/4] mesos git commit: Added support for recovered frameworks.

2016-07-05 Thread vinodkone
Added support for recovered frameworks. Previously after a master failover while agents were reregistering we might not have access to all FrameworkInfo (which would first be available once the Framework reregistered). This patch adds support that once a framework reregisters we also keep track of

[1/4] mesos git commit: Added test for sending framework information after master failover.

2016-07-05 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master c5e2aae13 -> 6fd4e9a53 Added test for sending framework information after master failover. We test that the FrameworkInfos for running frameworks are send from the agent to the master when an agent reregisters. Review: https://reviews.apac

[1/2] mesos git commit: Added ability to stringify cgroups::devices::Entry::Selector::Type.

2016-07-05 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master ada24cb6b -> c5e2aae13 Added ability to stringify cgroups::devices::Entry::Selector::Type. Review: https://reviews.apache.org/r/49656/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/a

[2/2] mesos git commit: Avoid use of switch 'default' for enum in cgroups.cpp.

2016-07-05 Thread bmahler
Avoid use of switch 'default' for enum in cgroups.cpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/c5e2aae1 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/c5e2aae1 Diff: http://git-wip-us.apache.org/repos/asf/meso

[02/12] mesos git commit: Enabled building libprocess without building 3rdparty first.

2016-07-05 Thread kapil
Enabled building libprocess without building 3rdparty first. Doing a `make` inside libprocess would now automatically build bundled dependencies. Review: https://reviews.apache.org/r/47753/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf

[09/12] mesos git commit: Libprocess: Prepare for standalone compilation.

2016-07-05 Thread kapil
Libprocess: Prepare for standalone compilation. Review: https://reviews.apache.org/r/47928/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/722713ad Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/722713ad Diff: http:

[06/12] mesos git commit: Removed unneeded #includes from type_utils.hpp.

2016-07-05 Thread kapil
Removed unneeded #includes from type_utils.hpp. Review: https://reviews.apache.org/r/47786/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/afb56285 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/afb56285 Diff: http:

[10/12] mesos git commit: Libprocess: made standalone build work again.

2016-07-05 Thread kapil
Libprocess: made standalone build work again. Fixed incorrect header as commented in the RR (tillt). Review: https://reviews.apache.org/r/47929/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/55331bc6 Tree: http://git-wip-u

[04/12] mesos git commit: Libprocess: `make tests` now automatically builds dependencies.

2016-07-05 Thread kapil
Libprocess: `make tests` now automatically builds dependencies. Earlier, doing `make tests` within libprocess failed if bundled dependencies were not already built. Review: https://reviews.apache.org/r/47755/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.a

[03/12] mesos git commit: Enabled building stout tests without building 3rdparty first.

2016-07-05 Thread kapil
Enabled building stout tests without building 3rdparty first. Doing a `make` inside stout now automatically build bundled dependencies. Review: https://reviews.apache.org/r/47754/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/com

[12/12] mesos git commit: Stout: made standalone build work again.

2016-07-05 Thread kapil
Stout: made standalone build work again. Review: https://reviews.apache.org/r/47932/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ada24cb6 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ada24cb6 Diff: http://git-w

[05/12] mesos git commit: Stout: `make tests` now automatically builds dependencies.

2016-07-05 Thread kapil
Stout: `make tests` now automatically builds dependencies. Earlier, doing `make tests` within stout failed if bundled dependencies were not already built. Review: https://reviews.apache.org/r/47756/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/

[07/12] mesos git commit: Added AM_CONDITIONALS: STANDALONG_{LIBPROCES, STOUT}.

2016-07-05 Thread kapil
Added AM_CONDITIONALS: STANDALONG_{LIBPROCES,STOUT}. Review: https://reviews.apache.org/r/47924/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0fecd96b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0fecd96b Diff:

[01/12] mesos git commit: Added build-stamp files for gmock/glog/http-parse/libev.

2016-07-05 Thread kapil
Repository: mesos Updated Branches: refs/heads/master d01ee9409 -> ada24cb6b Added build-stamp files for gmock/glog/http-parse/libev. This would make it easier for libprocess to declare/build these dependencies. Review: https://reviews.apache.org/r/47752/ Project: http://git-wip-us.apache.o

[08/12] mesos git commit: Libprocess: Fixed a typo in Makefile.am.

2016-07-05 Thread kapil
Libprocess: Fixed a typo in Makefile.am. Review: https://reviews.apache.org/r/47925/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/07e46b60 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/07e46b60 Diff: http://git-w

[11/12] mesos git commit: Stout: Prepare for standalone compilation.

2016-07-05 Thread kapil
Stout: Prepare for standalone compilation. Review: https://reviews.apache.org/r/47931/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/60372d9b Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/60372d9b Diff: http://git

mesos git commit: Documented that reserved resources count against quota.

2016-07-05 Thread alexr
Repository: mesos Updated Branches: refs/heads/master f0680e7c1 -> d01ee9409 Documented that reserved resources count against quota. Made some other edits and cleanups to quota docs. Review: https://reviews.apache.org/r/49325/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commi

mesos git commit: Fixed the incorrect url of Vamp.

2016-07-05 Thread alexr
Repository: mesos Updated Branches: refs/heads/master bb965cf48 -> f0680e7c1 Fixed the incorrect url of Vamp. Review: https://reviews.apache.org/r/49641/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f0680e7c Tree: http

mesos git commit: Cherry-pick of MESOS-5073 and MESOS-5698 to 0.28.x.

2016-07-05 Thread alexr
Repository: mesos Updated Branches: refs/heads/0.28.x 75230e048 -> 9bcdc6976 Cherry-pick of MESOS-5073 and MESOS-5698 to 0.28.x. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9bcdc697 Tree: http://git-wip-us.apache.org/r

[3/5] mesos git commit: Fixed leaked `roleSorter` and `quotaRoleSorter` in allocator.

2016-07-05 Thread alexr
Fixed leaked `roleSorter` and `quotaRoleSorter` in allocator. Review: https://reviews.apache.org/r/45529/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/5b21dca2 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/5b21dc

[1/5] mesos git commit: Added new assertions to `DRFSorter`.

2016-07-05 Thread alexr
Repository: mesos Updated Branches: refs/heads/0.28.x 50bb08200 -> 75230e048 Added new assertions to `DRFSorter`. Review: https://reviews.apache.org/r/49376/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/a2d8e7bd Tree:

[4/5] mesos git commit: Added tests that combine the two ways of creating volumes.

2016-07-05 Thread alexr
Added tests that combine the two ways of creating volumes. These tests check that dynamic reservations and persistent volumes can be created via the offer API and then removed via the HTTP endpoints, and vice versa. Review: https://reviews.apache.org/r/49323/ Project: http://git-wip-us.apache.o

[2/5] mesos git commit: Simplified `DRFSorter` to not track per-agent total resources.

2016-07-05 Thread alexr
Simplified `DRFSorter` to not track per-agent total resources. The DRFSorter previously kept the total resources at each agent, along with the total quantity of resources in the cluster. The latter figure is what most of the clients of the sorter care about. In the few places where the previous co

[5/5] mesos git commit: Fixed allocator to update total resources in `quotaRoleSorter`.

2016-07-05 Thread alexr
Fixed allocator to update total resources in `quotaRoleSorter`. Each `DRFSorter` tracks the total resources in the cluster. This means that each sorter must be updated when the resources in the cluster have changed, e.g., due to the creation of a dynamic reservation or a persistent volume. In the

mesos git commit: Added DevOps category and Vamp.

2016-07-05 Thread mpark
Repository: mesos Updated Branches: refs/heads/master 0751cadf8 -> bb965cf48 Added DevOps category and Vamp. This closes #127 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/bb965cf4 Tree: http://git-wip-us.apache.org/rep

mesos git commit: Changed Aurora URL since it's not an incubator anymore.

2016-07-05 Thread mpark
Repository: mesos Updated Branches: refs/heads/master 2c8588002 -> 0751cadf8 Changed Aurora URL since it's not an incubator anymore. Review: https://reviews.apache.org/r/49631/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/com