mesos git commit: Fix the absolute symlink path issue of include/slave.

2016-05-10 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 37cb66957 -> cee63bbe9 Fix the absolute symlink path issue of include/slave. The symbolic link of include/slave to include/agent uses an absolute path to $(DESTDIR)/include. But $(DESTDIR) is the tmp dir in build time, it will not exist in

[2/3] mesos git commit: Updated slave recovery tests with HTTP command executor.

2016-05-10 Thread vinodkone
Updated slave recovery tests with HTTP command executor. Review: https://reviews.apache.org/r/46204/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/13bdfb54 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/13bdfb54

[3/3] mesos git commit: Add the test "SlaveRecoveryTest.RecoverTerminatedHTTPExecutor".

2016-05-10 Thread vinodkone
Add the test "SlaveRecoveryTest.RecoverTerminatedHTTPExecutor". Review: https://reviews.apache.org/r/46609/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/37cb6695 Tree:

[1/3] mesos git commit: Added the missing 'break' when handling ERROR event.

2016-05-10 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master b2c5d91ad -> 37cb66957 Added the missing 'break' when handling ERROR event. Review: https://reviews.apache.org/r/46188/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Set default Content-Type for HTTP responses.

2016-05-10 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 49e1586d6 -> b2c5d91ad Set default Content-Type for HTTP responses. The default Content-Type for HTTP responses that contain body is set as "text/plain; charset=utf-8." Review: https://reviews.apache.org/r/46725 Project:

mesos git commit: Fixed ReplicaTest.Restore by ensuring a single connection to leveldb.

2016-05-10 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 57c3b24ef -> 49e1586d6 Fixed ReplicaTest.Restore by ensuring a single connection to leveldb. By design only a single process can access leveldb at a time. In this test, two instances of log replica try to open a connection at the same

mesos git commit: Added some INFO logging in docker volume isolator.

2016-05-10 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master ef79a6518 -> 57c3b24ef Added some INFO logging in docker volume isolator. Review: https://reviews.apache.org/r/47186 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] mesos git commit: Removed manual creation of error string for MethodNotAllowed.

2016-05-10 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 9aacd202e -> ef79a6518 Removed manual creation of error string for MethodNotAllowed. Remove all occurrences in master and slave http handlers where MethodNotAllowed error string is created manually. Review:

[2/2] mesos git commit: Constructed the error string in MethodNotAllowed.

2016-05-10 Thread alexr
Constructed the error string in MethodNotAllowed. This avoids code duplication and differences in wording when `MethodNotAllowed` response is returned. Review: https://reviews.apache.org/r/46504/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] mesos git commit: Windows: Added safety fixes to and tests for `os::close`.

2016-05-10 Thread joris
Windows: Added safety fixes to and tests for `os::close`. This commit has three goals: (1) Expand the `os::close` to support closing Windows `HANDLE` objects. This will simplify code in many places, but most notably (and immediately) subprocess, where sharing code between POSIX and

[1/2] mesos git commit: Stout: Added Windows support for `stopwatch.hpp`.

2016-05-10 Thread joris
Repository: mesos Updated Branches: refs/heads/master 4dedc974c -> 9aacd202e Stout: Added Windows support for `stopwatch.hpp`. Review: https://reviews.apache.org/r/46422/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[3/3] mesos git commit: Cleaned up angle brackets in "zookeeper/contender.cpp".

2016-05-10 Thread alexr
Cleaned up angle brackets in "zookeeper/contender.cpp". Review: https://reviews.apache.org/r/47114/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/4dedc974 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/4dedc974

[1/3] mesos git commit: Cleaned up header includes in "zookeeper/contender.cpp".

2016-05-10 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 964bab983 -> 4dedc974c Cleaned up header includes in "zookeeper/contender.cpp". Avoid depending on transitively included headers. Review: https://reviews.apache.org/r/47112/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo

[2/3] mesos git commit: Cleaned up `using` statements in "zookeeper/contender.cpp".

2016-05-10 Thread alexr
Cleaned up `using` statements in "zookeeper/contender.cpp". Avoid including the entire `process` namespace; instead, only pull in the particular identifiers from that namespace that are needed. Review: https://reviews.apache.org/r/47113/ Project:

[3/4] mesos git commit: Propagated KillPolicy in kill task from scheduler to executor.

2016-05-10 Thread alexr
Propagated KillPolicy in kill task from scheduler to executor. Review: https://reviews.apache.org/r/46323/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d6f22b6f Tree:

[4/4] mesos git commit: Updated HTTP command executor to support kill policy in Kill event.

2016-05-10 Thread alexr
Updated HTTP command executor to support kill policy in Kill event. Kill policy can be provided in a kill event. In this case it should take precedence over kill policy specified when the task was launched. When kill event is issued multiple times during the task termination, the signal

[2/4] mesos git commit: Added KillPolicy to scheduler and executor Kill protobuf messages.

2016-05-10 Thread alexr
Added KillPolicy to scheduler and executor Kill protobuf messages. A framework may want to override the `KillPolicy` set in `TaskInfo` when killing a task, for example to forcefully kill a task which is already being killed. Review: https://reviews.apache.org/r/46322/ Project:

[1/4] mesos git commit: Ensured subsequent kills are ignored after the task is reaped.

2016-05-10 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 7a6a71aa2 -> 964bab983 Ensured subsequent kills are ignored after the task is reaped. Capture the state when a task has terminated (i.e., reaped) in a flag, and use it to prevent calls to `killTask()` and `escalated()` when they are

[3/3] mesos git commit: Added Weibo to Powered by Mesos list.

2016-05-10 Thread alexr
Added Weibo to Powered by Mesos list. This closes #102 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/7a6a71aa Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/7a6a71aa Diff:

[1/3] mesos git commit: Added Astronomer to Powered by Mesos list.

2016-05-10 Thread alexr
Repository: mesos Updated Branches: refs/heads/master fa29544c3 -> 7a6a71aa2 Added Astronomer to Powered by Mesos list. This closes #100 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f6d8331c Tree:

[2/3] mesos git commit: Added Shopee to Powered by Mesos list.

2016-05-10 Thread alexr
Added Shopee to Powered by Mesos list. This closes #101 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/625eb124 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/625eb124 Diff: