mesos git commit: Added backend suffix to image layer rootfs path.

2016-10-14 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 9afaaffd8 -> 3f6503861 Added backend suffix to image layer rootfs path. Previously image layer rootfs path is in the format below regardless of which backend is used. /layers//rootfs This introduced an issue: when agent is restarted with

mesos git commit: Printed agent hostname on executor page in WebUI.

2016-10-14 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 3f6503861 -> 933cd3761 Printed agent hostname on executor page in WebUI. Review: https://reviews.apache.org/r/40487/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Added "os/wait.hpp" to stout's "os.hpp" header.

2016-10-14 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master c5ec87e8d -> 3a143b155 Added "os/wait.hpp" to stout's "os.hpp" header. Review: https://reviews.apache.org/r/52899/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

mesos git commit: Tweaked description of framework checkpointing behavior.

2016-10-14 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 3a143b155 -> 2fd78e6a0 Tweaked description of framework checkpointing behavior. Review: https://reviews.apache.org/r/52898/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[5/5] mesos git commit: Cleaned up style in stout rmdir_tests.cpp.

2016-10-14 Thread josephwu
Cleaned up style in stout rmdir_tests.cpp. Change a few test variables to `const` and made use of initializer lists as these variables are only modified once at the beginning of the tests. Review: https://reviews.apache.org/r/52848 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo

[2/5] mesos git commit: Stout: Enabled tests that pass on Windows.

2016-10-14 Thread josephwu
Stout: Enabled tests that pass on Windows. A large number of Stout test files are currently not being built on Windows. Many of these files contain tests for parts of Stout that have already been ported, or require only trivial fixes to work (such as removing `#include`s on Windows). A small

[4/5] mesos git commit: Libprocess: Enabled tests that pass on Windows.

2016-10-14 Thread josephwu
Libprocess: Enabled tests that pass on Windows. A large number of libprocess test files are currently not being built on Windows. Many of these files contain tests for parts of libprocess that have already been ported, or require only trivial fixes to work (such as removing `#include`s on

[3/5] mesos git commit: Made semantics of `os::rmdir` consistent between POSIX and Windows.

2016-10-14 Thread josephwu
Made semantics of `os::rmdir` consistent between POSIX and Windows. This commit will fix 2 known bugs in the Windows implementation of `os::rmdir`, as chronicled in MESOS-5942, namely: 1. Calling `os::rmdir` with a file argument (rather than a directory) and the `recursive` parameter set to

[1/2] mesos git commit: Added documentation for default executor and LAUNCH_GROUP event.

2016-10-14 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master a926cf3da -> cfeabec58 Added documentation for default executor and LAUNCH_GROUP event. This is very minimal documentation mainly around the new framework APIs and the default executor. Review: https://reviews.apache.org/r/52901

[2/2] mesos git commit: Updated framework development guide to include v1 APIs.

2016-10-14 Thread vinodkone
Updated framework development guide to include v1 APIs. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/eabb10cc Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/eabb10cc Diff:

mesos git commit: Fixed the sandbox owner for command tasks.

2016-10-14 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master cfeabec58 -> 6a47d0da2 Fixed the sandbox owner for command tasks. If the task has a rootfs, the command executor will be run under root because it needs to perform pivot_root. Prior to this patch, if the task wants to run under an

[1/2] mesos git commit: Added note to CHANGELOG about --runtime_dir.

2016-10-14 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master 6a47d0da2 -> 4b2033b2c Added note to CHANGELOG about --runtime_dir. Review: https://reviews.apache.org/r/52814/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[2/2] mesos git commit: Updated default value of the '--runtime_dir' agent flag.

2016-10-14 Thread vinodkone
Updated default value of the '--runtime_dir' agent flag. Previously, the default value of '--runtime_dir' was hard coded to '/var/run/mesos'. However, this directory is typically only accessable to the 'root' user. This caused problems when launching an agent as a non-root user. We now check to

mesos git commit: Added MESOS-6391 to 1.0.2 CHANGELOG.

2016-10-14 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 4b2033b2c -> eaaf42b2d Added MESOS-6391 to 1.0.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/eaaf42b2 Tree:

[2/2] mesos git commit: Added MESOS-6391 to 1.0.2 CHANGELOG.

2016-10-14 Thread jieyu
Added MESOS-6391 to 1.0.2 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/914bb5f2 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/914bb5f2 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/914bb5f2

[1/2] mesos git commit: Fixed the sandbox owner for command tasks.

2016-10-14 Thread jieyu
Repository: mesos Updated Branches: refs/heads/1.0.x eba605e64 -> 914bb5f2f Fixed the sandbox owner for command tasks. If the task has a rootfs, the command executor will be run under root because it needs to perform pivot_root. Prior to this patch, if the task wants to run under an

mesos git commit: Updated the CHANGELOG for 1.1 about capability support.

2016-10-14 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master eaaf42b2d -> f9960dbc1 Updated the CHANGELOG for 1.1 about capability support. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/f9960dbc Tree:

mesos git commit: Windows: Added workaround for lack of sleep utility.

2016-10-14 Thread josephwu
Repository: mesos Updated Branches: refs/heads/master f9960dbc1 -> 46671dd4b Windows: Added workaround for lack of sleep utility. This modifies the `SLEEP_COMMAND` on Windows to deal with how we use `sleep` in tests. The `sleep` must last for zero or more seconds and should always succeed

mesos git commit: Allow tasks to set persistent volume as readonly or readwrite resource.

2016-10-14 Thread yan
Repository: mesos Updated Branches: refs/heads/master 3140aafea -> 9fc2901d2 Allow tasks to set persistent volume as readonly or readwrite resource. Allow the task to specify the persistent volume access to be read-only or read-write. Note that the persistent volume is always created as

mesos git commit: Modified the `--network_cni_plugins_dir` flag.

2016-10-14 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master fcd5106b5 -> 1aa85e0cb Modified the `--network_cni_plugins_dir` flag. The `--network_cni_plugins_dir` was initially designed to take in a single directory where all the CNI plugins were expected to be present. This however is limiting

mesos git commit: Revert "Removed the expired TODO about non-recursive version... `cgroups::get`."

2016-10-14 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 9fc2901d2 -> fcd5106b5 Revert "Removed the expired TODO about non-recursive version... `cgroups::get`." This reverts commit e042aa071a77ef1922d9b1a93f6e8adf221979b3. RR https://reviews.apache.org/r/51185/ should have been

[2/5] mesos git commit: Filled missing executor info in tasks when `LAUNCH_GROUP`.

2016-10-14 Thread vinodkone
Filled missing executor info in tasks when `LAUNCH_GROUP`. This fixed the navigate error in Web UI because Web UI uses the executor id of the task to search the corresponding sandbox directory. Web UI uses the task id as the executor id if the executor id of the task is empty when searching the

[1/5] mesos git commit: Added utils method to check if `ExecutorInfo` different.

2016-10-14 Thread vinodkone
Repository: mesos Updated Branches: refs/heads/master b0d4439d6 -> 9afaaffd8 Added utils method to check if `ExecutorInfo` different. Review: https://reviews.apache.org/r/52817/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[5/5] mesos git commit: Moved the `decimalFloat` filter to app.js for consistency.

2016-10-14 Thread vinodkone
Moved the `decimalFloat` filter to app.js for consistency. Review: https://reviews.apache.org/r/52664/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9afaaffd Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/9afaaffd

[4/5] mesos git commit: Fixed the wrong sandbox directory of the tasks in Web UI.

2016-10-14 Thread vinodkone
Fixed the wrong sandbox directory of the tasks in Web UI. For the task launched by default-executor, its sandbox directory is 'executor_directory/tasks/task_id/'. This patch generates the corresponding sandbox directory in Web UI for the task according to its executor type. Review:

[3/5] mesos git commit: Exposed the executor's type in the endpoints.

2016-10-14 Thread vinodkone
Exposed the executor's type in the endpoints. Review: https://reviews.apache.org/r/52520/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/88cd1df7 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/88cd1df7 Diff:

mesos git commit: Made sure required capabilities are not dropped in capabilities test.

2016-10-14 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 1aa85e0cb -> b0d4439d6 Made sure required capabilities are not dropped in capabilities test. The capabilities isolator test suites runs test as root where the files executed might not reside in directories accessible even to root after