[1/2] mesos git commit: Updated the generic 'cgroups' isolator to be nested container aware.

2016-09-16 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master e71cb47c4 -> 8b27afc9b Updated the generic 'cgroups' isolator to be nested container aware. Review: https://reviews.apache.org/r/51965/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] mesos git commit: Removed an unused source file.

2016-09-16 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 96ecebe0b -> e71cb47c4 Removed an unused source file. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e4e04090 Tree:

[2/2] mesos git commit: Rename Unified Containerizer to Universal Containerizer in docs.

2016-09-16 Thread jieyu
Rename Unified Containerizer to Universal Containerizer in docs. We feel that "Universal" is better because it captures the fact that the containerizer can support many image format. Review: https://reviews.apache.org/r/51922 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] mesos git commit: Updated the 'gpu/nvidia' isolator to be nested container aware.

2016-09-16 Thread jieyu
Updated the 'gpu/nvidia' isolator to be nested container aware. In the process I also updated the Failure() / Log() messages in 'recover()' to contain more information (i.e. the same information as the new generic cgroups isolator). Review: https://reviews.apache.org/r/51966/ Project:

mesos git commit: Avoided resource validation when flattening resources.

2016-09-16 Thread yan
Repository: mesos Updated Branches: refs/heads/master f9cb6f496 -> 491371c77 Avoided resource validation when flattening resources. Instead of validating each resource, in flatten(...) we validate the arguments just once. We can then use validation-free `add()` instead of `+=`. 1) Previously

mesos git commit: Added a missing comment in v1/resources.cpp.

2016-09-16 Thread yan
Repository: mesos Updated Branches: refs/heads/master 491371c77 -> e17deb66b Added a missing comment in v1/resources.cpp. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e17deb66 Tree:

[3/3] mesos git commit: Added a virtual function to Isolator to tell is it supports nesting.

2016-09-16 Thread jieyu
Added a virtual function to Isolator to tell is it supports nesting. Review: https://reviews.apache.org/r/51975 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/aaa574ef Tree:

[1/2] mesos git commit: Windows: Disabled some deprecated function warnings.

2016-09-16 Thread josephwu
Repository: mesos Updated Branches: refs/heads/master e17deb66b -> 45fea2107 Windows: Disabled some deprecated function warnings. Visual Studio emits warnings for using deprecated functions in CRT and the use of insecure functions in CRT. This commit supresses the warning generation

[2/2] mesos git commit: Windows: Removed macro redefinition.

2016-09-16 Thread josephwu
Windows: Removed macro redefinition. The `__STRINGIZE` macro is already defined in Visual Studio headers. Review: https://reviews.apache.org/r/51861/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/45fea210 Tree:

mesos git commit: Refactored the agent 'launcher' flag to always have a value.

2016-09-16 Thread benh
Repository: mesos Updated Branches: refs/heads/master 8b27afc9b -> 1c2ee5c97 Refactored the agent 'launcher' flag to always have a value. Review: https://reviews.apache.org/r/51272 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Refactored and simplified the pid namespace isolator.

2016-09-16 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 1c2ee5c97 -> f9cb6f496 Refactored and simplified the pid namespace isolator. The bind mounts in the pid namespace isolator turns out to be unnecessary as the linux launcher will use freezer to kill all tasks anyway. It makes the isolator

[1/3] mesos git commit: Marked the nvidia gpu isolator as nesting aware.

2016-09-16 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 45fea2107 -> 67d8518e5 Marked the nvidia gpu isolator as nesting aware. Review: https://reviews.apache.org/r/51977 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/3] mesos git commit: Marked cgroups isolator as nesting aware.

2016-09-16 Thread jieyu
Marked cgroups isolator as nesting aware. Review: https://reviews.apache.org/r/51976 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6280e160 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6280e160 Diff:

[1/2] mesos git commit: Offer shared resources to frameworks only if opted in.

2016-09-16 Thread yan
Repository: mesos Updated Branches: refs/heads/master e65f580bf -> 96ecebe0b Offer shared resources to frameworks only if opted in. Added a new capability SHARED_RESOURCES that frameworks need to opt in if they are interested in receiving shared resources in their offers. Review:

[2/2] mesos git commit: Added test to validate capability of SHARED_RESOURCES.

2016-09-16 Thread yan
Added test to validate capability of SHARED_RESOURCES. Review: https://reviews.apache.org/r/51919/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/96ecebe0 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/96ecebe0