[1/2] mesos git commit: Updated error messages in weights handler.

2016-04-11 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 75f65bd33 -> 7d9a5b564 Updated error messages in weights handler. While writing log or error messages we adhere the following style: - No period at the end (there are exceptions though, e.g., one is when constructing request

[2/2] mesos git commit: Removed request body from some error responses in quota handler.

2016-04-11 Thread alexr
Removed request body from some error responses in quota handler. When an error is not related to the whole request (e.g., parsing, converting to protobuf), but to its part (e.g., unknown role), it seems unnecessary to include the complete request body into the error response. Review:

[3/3] mesos git commit: Added a test for fractional GPUs within a task.

2016-04-11 Thread bmahler
Added a test for fractional GPUs within a task. Review: https://reviews.apache.org/r/45970/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ede89654 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ede89654 Diff:

[2/3] mesos git commit: Added logic to validate non-fractional GPU resources in the master.

2016-04-11 Thread bmahler
Added logic to validate non-fractional GPU resources in the master. We considered adding this logic directly to the 'Resources::validate()' function, but ultimately decided against it. The primary reason is that the existing 'Resources::validate()' function doesn't consider the semantics of any

[1/3] mesos git commit: Fixed indent in Nvidia GPU test.

2016-04-11 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 94f4f4ebb -> ede896541 Fixed indent in Nvidia GPU test. Review: https://reviews.apache.org/r/45969/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e268320f Tree:

mesos git commit: Fixed a locking issue in the SocketManager.

2016-04-11 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master ede896541 -> 0426ffbbf Fixed a locking issue in the SocketManager. In `SocketManager::swap_implementing_socket`, the `sockets` instance variable in two CHECKs without acquiring `mutex`. This is unsafe in general: `mutex` should be acquired

mesos git commit: Made sure all Python modules are installed.

2016-04-11 Thread bernd
Repository: mesos Updated Branches: refs/heads/master 0e5680c51 -> 75f65bd33 Made sure all Python modules are installed. The way our build sets up PYTHONPATH it appears to pip as if the mesos.cli package is already installed when it is only present in some directory in PYTHONPATH, but not in

mesos git commit: Improved overlay backend to make the rootfs writable.

2016-04-11 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master d353bcb16 -> 4dfa91fc2 Improved overlay backend to make the rootfs writable. Review: https://reviews.apache.org/r/45358/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Adding a stout interface for `sethostname` system call in linux.

2016-04-11 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 4dfa91fc2 -> 00141e4a5 Adding a stout interface for `sethostname` system call in linux. Review: https://reviews.apache.org/r/45953/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] mesos git commit: Changed Copyright year to 2016 in website layout.

2016-04-11 Thread mpark
Changed Copyright year to 2016 in website layout. Review: https://reviews.apache.org/r/45752/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/6a888eff Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/6a888eff Diff:

[1/2] mesos git commit: Cleaned up whitespace in website layout.

2016-04-11 Thread mpark
Repository: mesos Updated Branches: refs/heads/master 69aa2d650 -> 6a888eff4 Cleaned up whitespace in website layout. Previously we had mixed tabs/spaces and trailing whitespace. Review: https://reviews.apache.org/r/45807/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed the commit message hook to wrap the variables in quotes.

2016-04-11 Thread mpark
Repository: mesos Updated Branches: refs/heads/master 00141e4a5 -> e5f5e92a9 Fixed the commit message hook to wrap the variables in quotes. Some symbols, e.g., '*' can be expanded by the shell altering the original line and hence leading to false positives. Review:

mesos git commit: Fixed line commit message length check.

2016-04-11 Thread mpark
Repository: mesos Updated Branches: refs/heads/master e5f5e92a9 -> be73cb48f Fixed line commit message length check. While reading the lines of the commit message we currently mangle contained backslashes. This has the effect that we cannot e.g., continue lines in code samples. This patch

mesos git commit: Cleaned up dynamic reservation example framework.

2016-04-11 Thread mpark
Repository: mesos Updated Branches: refs/heads/master be73cb48f -> 69aa2d650 Cleaned up dynamic reservation example framework. Review: https://reviews.apache.org/r/46023/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Fixed a typo in the log message.

2016-04-11 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 7d9a5b564 -> f796494c9 Fixed a typo in the log message. Review: https://reviews.apache.org/r/41863/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f796494c Tree:

mesos git commit: Fixed a typo in container-image.md.

2016-04-11 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master f796494c9 -> d353bcb16 Fixed a typo in container-image.md. Review: https://reviews.apache.org/r/45988/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d353bcb1 Tree:

mesos git commit: Removed an initializer list TODO in libprocess tests.

2016-04-11 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 6a888eff4 -> 94f4f4ebb Removed an initializer list TODO in libprocess tests. Review: https://reviews.apache.org/r/46030/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: