[5/6] mesos git commit: Added -lelf to default dynamic libraries on Linux.

2016-05-18 Thread bmahler
Added -lelf to default dynamic libraries on Linux. Review: https://reviews.apache.org/r/47484/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/aa818454 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/aa818454 Diff: ht

[3/6] mesos git commit: Added preliminary support for parsing ELF files in stout.

2016-05-18 Thread bmahler
Added preliminary support for parsing ELF files in stout. Right now we are able to parse ELF formatted shared libraries and extract their canonical SONAME and external library dependencies. In the future, we should add support for fully parsing an ELf file for easy access to all of its contents.

[4/6] mesos git commit: Added -lelf to default dynamic libraries for libprocess on Linux.

2016-05-18 Thread bmahler
Added -lelf to default dynamic libraries for libprocess on Linux. Review: https://reviews.apache.org/r/47483/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7ae4c3f5 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7a

[6/6] mesos git commit: Added utility for parsing ld.so.cache on linux.

2016-05-18 Thread bmahler
Added utility for parsing ld.so.cache on linux. Review: https://reviews.apache.org/r/47485/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/fc4507da Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/fc4507da Diff: http:

[2/6] mesos git commit: Updated os::read error messages to exclude caller-available information.

2016-05-18 Thread bmahler
Updated os::read error messages to exclude caller-available information. Previously os::read was returning the path provided by the caller in the error messages when the file cannot be opened. Our error composition pattern is to exclude caller-available information in the callee to avoid redundant

[1/6] mesos git commit: Rewrote os::read() to be friendlier to reading binary data.

2016-05-18 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 4248b3c3a -> fc4507da5 Rewrote os::read() to be friendlier to reading binary data. The previous read() implementation was based on calling getline() to read in chunks of data from a file. This is fine for text-based files, but is a little s

mesos git commit: Removed deprecated annotation for values in a protobuf enum.

2016-05-18 Thread alexr
Repository: mesos Updated Branches: refs/heads/master b7e50fe8b -> 4248b3c3a Removed deprecated annotation for values in a protobuf enum. Support for deprecated annotation for enums was added in protobuf 2.6. Since we should be compatible with 2.5, refrain from using the feature. Project: ht

[4/6] mesos git commit: Renamed `HttpCommandExecutor` to `CommandExecutor`.

2016-05-18 Thread vinodkone
Renamed `HttpCommandExecutor` to `CommandExecutor`. Review: https://reviews.apache.org/r/47431/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/643c07af Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/643c07af Diff: h

[1/6] mesos git commit: Introduced a driver to v1 executor shim/adapter.

2016-05-18 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master a28917f18 -> 1f181aaee Introduced a driver to v1 executor shim/adapter. This change adds a driver to v1 executor shim/adapter. This can be used by the command executor/docker executor to toggle between using the new/old API instead of dupli

[2/6] mesos git commit: Set env variable used to toggle executor implementation.

2016-05-18 Thread vinodkone
Set env variable used to toggle executor implementation. This change adds the environment variable that is set by the agent allowing the command executor to toggle between implementations. Review: https://reviews.apache.org/r/47364/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Com

[3/6] mesos git commit: Moved code from HTTP command executor to command executor.

2016-05-18 Thread vinodkone
Moved code from HTTP command executor to command executor. This is a blatant copy of `src/launcher/http_command_executor.cpp`. This change makes reviewing code later in the chain easier. Later in the chain, we would make this use the Shim/Adapter to toggle between using the driver or the v1 API vi

[6/6] mesos git commit: Removed references to HTTP command executor.

2016-05-18 Thread vinodkone
Removed references to HTTP command executor. Review: https://reviews.apache.org/r/47367/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1f181aae Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1f181aae Diff: http://g

[5/6] mesos git commit: Made the command executor use the adapter interface.

2016-05-18 Thread vinodkone
Made the command executor use the adapter interface. This change adds support to the command executor to toggle between the driver based adapter/v1 API based on the `MESOS_HTTP_COMMAND_EXECUTOR` environment variable set by the agent. Review: https://reviews.apache.org/r/47366/ Project: http://g

mesos git commit: Slave/Agent Rename Phase I - Updated terms in WebUI.

2016-05-18 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 1f181aaee -> b7e50fe8b Slave/Agent Rename Phase I - Updated terms in WebUI. This patch did the following changes in WebUI: 1\. Slave/Agent Rename on web page 2\. Slave/Agent Rename in web url 3\. Slave/Agent Rename in JS class/method/attrib

mesos git commit: Used UPDATE_QUOTA_WITH_ROLE for both quota set and remove.

2016-05-18 Thread alexr
Repository: mesos Updated Branches: refs/heads/master f7d91ba2f -> a28917f18 Used UPDATE_QUOTA_WITH_ROLE for both quota set and remove. To consolidate authorization actions for quota, we introduce a new authorization action `UPDATE_QUOTA_WITH_ROLE` and corresponding ACL. They new action and AC

mesos git commit: Updated release guide to recommend regenerating endpoint help.

2016-05-18 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 54339eb0e -> f7d91ba2f Updated release guide to recommend regenerating endpoint help. Review: https://reviews.apache.org/r/47532/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/me

[2/2] mesos git commit: Re-generated documentation for endpoints to include recent changes.

2016-05-18 Thread alexr
Re-generated documentation for endpoints to include recent changes. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/54339eb0 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/54339eb0 Diff: http://git-wip-us.apache.org/r

[1/2] mesos git commit: Updated authorization.md to reflect recent changes.

2016-05-18 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 9f63d95f3 -> 54339eb0e Updated authorization.md to reflect recent changes. The API of the authorization has been changing over the last few versions. This patch updates the documentation taking those changes into account. Review: https://r

mesos git commit: Updated quota endpoint help.

2016-05-18 Thread me
Repository: mesos Updated Branches: refs/heads/master a7835f889 -> 9f63d95f3 Updated quota endpoint help. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9f63d95f Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9f6