mesos git commit: Added struct to share Nvidia components between containerizers.

2016-06-29 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 11a5c7f09 -> e52c37eec Added struct to share Nvidia components between containerizers. Previously, the `NvidiaGpuAllocator` component was created directly inside the `NvidiaGpuIsolatorProcess` even though it was designed to be used by

mesos git commit: Some cleanup in docker_volume_isolator_tests.cpp.

2016-06-29 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master e52c37eec -> 5f6851574 Some cleanup in docker_volume_isolator_tests.cpp. Review: https://reviews.apache.org/r/48900/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added missing colon in modules.md.

2016-06-29 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 926dcf557 -> 11a5c7f09 Added missing colon in modules.md. Review: https://reviews.apache.org/r/38146/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/11a5c7f0 Tree:

mesos git commit: Do not check overlayfs when create overlay backend.

2016-06-29 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 0cde970af -> 926dcf557 Do not check overlayfs when create overlay backend. Review: https://reviews.apache.org/r/44431/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added a MAC parse function to stout.

2016-06-29 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 5f6851574 -> 215e79f57 Added a MAC parse function to stout. Review: https://reviews.apache.org/r/49122 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/215e79f5 Tree:

[1/3] mesos git commit: Fixed lambda capture list for consistency.

2016-06-29 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 6c0a6e150 -> b221e640b Fixed lambda capture list for consistency. Review: https://reviews.apache.org/r/49368/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/85641675

[2/3] mesos git commit: Fixed indentation error for comment.

2016-06-29 Thread alexr
Fixed indentation error for comment. Review: https://reviews.apache.org/r/49368/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/356c8b9d Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/356c8b9d Diff:

mesos git commit: Updated info in contributors.yaml.

2016-06-29 Thread yan
Repository: mesos Updated Branches: refs/heads/master b221e640b -> 1bb89eaa5 Updated info in contributors.yaml. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1bb89eaa Tree:

[1/3] mesos git commit: Moved code to group old/v1 operator API implementations together.

2016-06-29 Thread anand
Repository: mesos Updated Branches: refs/heads/master 1bb89eaa5 -> 0cde970af Moved code to group old/v1 operator API implementations together. This change moves the create/destroy volumes, reserve/unreserve for the v1 API to be closer to the corresponding implementations for the old API.

[3/3] mesos git commit: Moved the agent exists check to `_reserve/_unreserve`.

2016-06-29 Thread anand
Moved the agent exists check to `_reserve/_unreserve`. This change moved the agent exists check that is common to both `/reserve` and the new API to `_reserve`. This is consistent to how the `/create-volumes` already does it. Review: https://reviews.apache.org/r/49335/ Project:

[2/3] mesos git commit: Renamed `agent_id` fields to `slave_id` for unversioned master.proto.

2016-06-29 Thread anand
Renamed `agent_id` fields to `slave_id` for unversioned master.proto. This change renames the `agent_id` to `slave_id` for the unversioned protos to keep it consistent to other unversioned protobuf files. Also, fixed a couple of minor issues of not capturing aliases by const references for

[5/6] mesos git commit: Fixed race between link and peer disconnection.

2016-06-29 Thread josephwu
Fixed race between link and peer disconnection. This fixes a rare race (segfault) between `link` and `ignore_recv_data`. If the peer of the socket exits between establishing a connection and libprocess queuing a `MessageEncoder`, `ignore_recv_data` may delete the `Socket` underneath the `link`.

[3/6] mesos git commit: Added "relink" semantics to ProcessBase::link.

2016-06-29 Thread josephwu
Added "relink" semantics to ProcessBase::link. The `RemoteConnection:RECONNECT` option for `ProcessBase::link` will force the `SocketManager` to create a new socket if a persistent link already exists. Review: https://reviews.apache.org/r/49177/ Project:

[6/6] mesos git commit: Changed the SocketManager to pass "Sockets" by value.

2016-06-29 Thread josephwu
Changed the SocketManager to pass "Sockets" by value. `Sockets` is already a reference-counted `shared_ptr` under the covers. By passing around `Sockets` by value, we avoid potentially deleting a reference while the same reference is in use by another function. Review:

[2/6] mesos git commit: Added tests for libprocess linking and unlinking behavior.

2016-06-29 Thread josephwu
Added tests for libprocess linking and unlinking behavior. Adds tests which exercise "link" semantics against remote processes. This includes detection of `ExitedEvents` when the process exits as well as mixing "link" semantics. Includes a test case that emulates the failure observed in

[1/6] mesos git commit: Added test-only function for retrieving link sockets from libprocess.

2016-06-29 Thread josephwu
Repository: mesos Updated Branches: refs/heads/master 2c184506d -> 04606de09 Added test-only function for retrieving link sockets from libprocess. This can be used in a test to "break" a socket without libprocess's explicit knowledge. For example, we can disable transmission on a persistent

[4/6] mesos git commit: Changed the replicated log's network abstraction to use "relink".

2016-06-29 Thread josephwu
Changed the replicated log's network abstraction to use "relink". Review: https://reviews.apache.org/r/49346/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/61362f25 Tree:

[1/2] mesos git commit: Add CHECKs above SocketManager emplacements.

2016-06-29 Thread josephwu
Repository: mesos Updated Branches: refs/heads/master 04606de09 -> 31d2cca8d Add CHECKs above SocketManager emplacements. Technically, `map::emplace` will not insert if an element already exists. The CHECK makes sense because the SocketManager should never implicitly replace an element in it

[2/2] mesos git commit: Fixed Cmake build.

2016-06-29 Thread josephwu
Fixed Cmake build. In a previous commit we renamed 'nvidia.cpp' to 'isolator.cpp' in 'src/slave/containerizer/mesos/isolators/gpu/', but forgot to update the Cmake build with this rename. Review: https://reviews.apache.org/r/49421/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo

mesos git commit: Added struct to share Nvidia components between containerizers.

2016-06-29 Thread bmahler
Repository: mesos Updated Branches: refs/heads/klueska_nvidia_components [created] fcdcd16f6 Added struct to share Nvidia components between containerizers. Previously, the `NvidiaGpuAllocator` component was created directly inside the `NvidiaGpuIsolatorProcess` even though it was designed to

[mesos] Git Push Summary

2016-06-29 Thread bmahler
Repository: mesos Updated Branches: refs/heads/klueska_nvidia_components [deleted] fcdcd16f6