[3/3] mesos git commit: Windows: Fixed docker executor `PATH` variable.

2018-01-16 Thread andschwa
Windows: Fixed docker executor `PATH` variable. The `docker` executable is not usually installed in `os::host_default_path()` on Windows, so the Executor cannot find it. Now, before launching the Executor, the Agent finds the directory containing `docker` and prepends it to the `PATH` given to

[1/3] mesos git commit: Fixed use of `os::which`.

2018-01-16 Thread andschwa
Repository: mesos Updated Branches: refs/heads/master de508d94d -> 1b6f9e90f Fixed use of `os::which`. Because `os::which` was added to its own header, all uses of it now need to include said header. In `tests/environment.cpp`, instead of using `os::system("which foo")`, we now use

[2/3] mesos git commit: Ported `os::which` to Windows.

2018-01-16 Thread andschwa
Ported `os::which` to Windows. Because `os::which` still lived in `posix/os.hpp`, it was refactored into its own `os/which.hpp` (which the respective `os/posix/which.hpp` and `os/windows/which.hpp`. Consumers of this will need additionally include the new header, instead of just `os.hpp`. The

[2/4] mesos-site git commit: Updated the website built from mesos SHA: 1b6f9e9.

2018-01-16 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/973110bf/content/api/latest/c++/namespacemembers_vars_0x77.html -- diff --git a/content/api/latest/c++/namespacemembers_vars_0x77.html

[4/4] mesos-site git commit: Updated the website built from mesos SHA: 1b6f9e9.

2018-01-16 Thread git-site-role
Updated the website built from mesos SHA: 1b6f9e9. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/973110bf Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/973110bf Diff:

mesos git commit: Added missing registry-related flags to the master config docs.

2018-01-16 Thread grag
Repository: mesos Updated Branches: refs/heads/master 04dd7f32b -> e34ed9602 Added missing registry-related flags to the master config docs. Review: https://reviews.apache.org/r/65184 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit:

[1/2] mesos-site git commit: Updated the website built from mesos SHA: 04dd7f3.

2018-01-16 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 973110bf2 -> 9f5014910 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/9f501491/content/api/latest/c++/namespacemembers_0x63.html -- diff --git

[2/2] mesos-site git commit: Updated the website built from mesos SHA: 04dd7f3.

2018-01-16 Thread git-site-role
Updated the website built from mesos SHA: 04dd7f3. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/9f501491 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/9f501491 Diff:

[2/2] mesos git commit: Fixed a couple of minor network/ports isolator issues.

2018-01-16 Thread jpeach
Fixed a couple of minor network/ports isolator issues. Added a log message (similar to the one in the `cgroup/cpu` isolator to track then the resouces for a container are updated. Hoisted a `CHECK` so that it happens before accessing the protobuf field it is protecting. Review:

[1/2] mesos git commit: Stopped applying empty executor resources in `network/ports` recovery.

2018-01-16 Thread jpeach
Repository: mesos Updated Branches: refs/heads/master ff14433da -> de508d94d Stopped applying empty executor resources in `network/ports` recovery. At recovery time, the containerizer sends only the executor resources, but ports are typically allocated against tasks. This means that we don't

[2/2] mesos-site git commit: Updated the website built from mesos SHA: ff14433.

2018-01-16 Thread git-site-role
Updated the website built from mesos SHA: ff14433. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/0591b35c Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/0591b35c Diff:

[1/2] mesos-site git commit: Updated the website built from mesos SHA: ff14433.

2018-01-16 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 3c3a0cdc2 -> 0591b35cc http://git-wip-us.apache.org/repos/asf/mesos-site/blob/0591b35c/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml

mesos git commit: MesosTidy: Enabled `mesos-this-capture`.

2018-01-16 Thread mpark
Repository: mesos Updated Branches: refs/heads/master 18879df50 -> ff14433da MesosTidy: Enabled `mesos-this-capture`. Review: https://reviews.apache.org/r/65149 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ff14433d

mesos git commit: Fixed a typo in "switchboard.cpp".

2018-01-16 Thread alexr
Repository: mesos Updated Branches: refs/heads/master 495988723 -> 18879df50 Fixed a typo in "switchboard.cpp". Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/18879df5 Tree:

mesos-site git commit: Updated the website built from mesos SHA: de508d9.

2018-01-16 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 0591b35cc -> ed06a5110 Updated the website built from mesos SHA: de508d9. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/ed06a511 Tree:

[1/2] mesos-site git commit: Updated the website built from mesos SHA: 18879df.

2018-01-16 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 0f44806c2 -> 3c3a0cdc2 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/3c3a0cdc/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml

[2/2] mesos-site git commit: Updated the website built from mesos SHA: 18879df.

2018-01-16 Thread git-site-role
Updated the website built from mesos SHA: 18879df. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/3c3a0cdc Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/3c3a0cdc Diff:

[2/2] mesos git commit: Added Developer Guide to documentation.

2018-01-16 Thread andschwa
Added Developer Guide to documentation. This guide was started with the intent to capture "tribal knowledge" about Mesos development. I've added several general practices and patterns I've had explained to me by various Mesos developers, and also added a Windows section with design patterns I had

[1/2] mesos git commit: Updated C++ Style Guide.

2018-01-16 Thread andschwa
Repository: mesos Updated Branches: refs/heads/master e34ed9602 -> 9b1fda56a Updated C++ Style Guide. Added three missing style notes: * Use of `::` for global namespace * Put `template ` on own line * Prefer `->foo()` to `.get().foo()` Review: https://reviews.apache.org/r/65114 Project:

[4/4] mesos git commit: Detached the virtual paths regardless of the result of gc.

2018-01-16 Thread qianzhang
Detached the virtual paths regardless of the result of gc. Previously we only detach the following paths when the gc for the executor's sandbox succeeds. 1. /agent_workdir/frameworks/FID/executors/EID/runs/CID 2. /agent_workdir/frameworks/FID/executors/EID/runs/latest 3.

[3/3] mesos git commit: Ported `os::which` to Windows.

2018-01-16 Thread andschwa
Ported `os::which` to Windows. Because `os::which` still lived in `posix/os.hpp`, it was refactored into its own `os/which.hpp` (which the respective `os/posix/which.hpp` and `os/windows/which.hpp`. Consumers of this will need additionally include the new header, instead of just `os.hpp`. The

[1/2] mesos-site git commit: Updated the website built from mesos SHA: e34ed96.

2018-01-16 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 9f5014910 -> f7f4ff698 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/f7f4ff69/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml

[2/2] mesos-site git commit: Updated the website built from mesos SHA: e34ed96.

2018-01-16 Thread git-site-role
Updated the website built from mesos SHA: e34ed96. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/f7f4ff69 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/f7f4ff69 Diff:

[1/2] mesos-site git commit: Updated the website built from mesos SHA: 9e2f9a2.

2018-01-16 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 5b0e187f7 -> 46e24320f http://git-wip-us.apache.org/repos/asf/mesos-site/blob/46e24320/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml

mesos git commit: Added an performance benchmark for master `GetState` v1 api.

2018-01-16 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master aded41aec -> 9e2f9a240 Added an performance benchmark for master `GetState` v1 api. This test is based on the master failover benchmark. Note that it does not include executors for now. Review: https://reviews.apache.org/r/64969/

mesos-site git commit: Updated the website built from mesos SHA: aded41a.

2018-01-16 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 36bb8447b -> 5b0e187f7 Updated the website built from mesos SHA: aded41a. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/5b0e187f Tree:

[2/4] mesos git commit: Made task's volume directory visible in the /files endpoints.

2018-01-16 Thread qianzhang
Made task's volume directory visible in the /files endpoints. In MESOS-7225, we made a task can access any volumes specified in its disk resources from its own sandbox by introducing a workaround to the default executor, i.e., add a `SANDBOX_PATH` volume with type `PARENT` to the corresponding

[1/4] mesos git commit: Detached `virtualLatestPath` when recovering the executor.

2018-01-16 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/master 9e2f9a240 -> 2c5da1b66 Detached `virtualLatestPath` when recovering the executor. Previously we miss to detach `/frameworks/FID/executors/EID/runs/latest` when we find the latest run of the executor was completed in the method

[3/4] mesos git commit: Updated `ROOT_TaskSandboxPersistentVolume` to check `/files` endpoint.

2018-01-16 Thread qianzhang
Updated `ROOT_TaskSandboxPersistentVolume` to check `/files` endpoint. Review: https://reviews.apache.org/r/65070 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/9585a217 Tree:

[6/6] mesos-site git commit: Updated the website built from mesos SHA: 2c5da1b.

2018-01-16 Thread git-site-role
Updated the website built from mesos SHA: 2c5da1b. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/94774512 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/94774512 Diff:

[1/6] mesos-site git commit: Updated the website built from mesos SHA: 2c5da1b.

2018-01-16 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 46e24320f -> 94774512e http://git-wip-us.apache.org/repos/asf/mesos-site/blob/94774512/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml

[5/6] mesos-site git commit: Updated the website built from mesos SHA: 2c5da1b.

2018-01-16 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/94774512/content/api/latest/c++/functions_func_0x61.html -- diff --git a/content/api/latest/c++/functions_func_0x61.html b/content/api/latest/c++/functions_func_0x61.html

[3/6] mesos-site git commit: Updated the website built from mesos SHA: 2c5da1b.

2018-01-16 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/94774512/content/api/latest/c++/slave_8hpp_source.html -- diff --git a/content/api/latest/c++/slave_8hpp_source.html b/content/api/latest/c++/slave_8hpp_source.html index

mesos git commit: Used jsonify in http serialization for better performance.

2018-01-16 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 9b1fda56a -> aded41aec Used jsonify in http serialization for better performance. This change avoids building an in-memory JSON::Object in favor of using jsonify to directly output the serialized JSON from the protobuf. Review:

mesos-site git commit: Updated the website built from mesos SHA: 9b1fda5.

2018-01-16 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site f7f4ff698 -> 36bb8447b Updated the website built from mesos SHA: 9b1fda5. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/36bb8447 Tree:

[2/2] mesos-site git commit: Updated the website built from mesos SHA: 9e2f9a2.

2018-01-16 Thread git-site-role
Updated the website built from mesos SHA: 9e2f9a2. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/46e24320 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/46e24320 Diff:

[2/6] mesos-site git commit: Updated the website built from mesos SHA: 2c5da1b.

2018-01-16 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/94774512/content/blog/feed.xml -- diff --git a/content/blog/feed.xml b/content/blog/feed.xml index dcc5862..aa2cddb 100644 --- a/content/blog/feed.xml +++

[4/6] mesos-site git commit: Updated the website built from mesos SHA: 2c5da1b.

2018-01-16 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/94774512/content/api/latest/c++/index.hhk -- diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk index 1caf2f7..ca0086c 100644 ---

[1/4] mesos git commit: Made task's volume directory visible in the /files endpoints.

2018-01-16 Thread qianzhang
Repository: mesos Updated Branches: refs/heads/1.5.x af64bcb38 -> 1d9b5de7d Made task's volume directory visible in the /files endpoints. In MESOS-7225, we made a task can access any volumes specified in its disk resources from its own sandbox by introducing a workaround to the default

[3/4] mesos git commit: Detached `virtualLatestPath` when recovering the executor.

2018-01-16 Thread qianzhang
Detached `virtualLatestPath` when recovering the executor. Previously we miss to detach `/frameworks/FID/executors/EID/runs/latest` when we find the latest run of the executor was completed in the method `Framework::recoverExecutor`, that is a leak. Review: https://reviews.apache.org/r/65167

[4/4] mesos git commit: Added MESOS-8279, MESOS-8444 and MESOS-8446 to the 1.5.0 CHANGELOG.

2018-01-16 Thread qianzhang
Added MESOS-8279, MESOS-8444 and MESOS-8446 to the 1.5.0 CHANGELOG. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1d9b5de7 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1d9b5de7 Diff:

[2/4] mesos git commit: Detached the virtual paths regardless of the result of gc.

2018-01-16 Thread qianzhang
Detached the virtual paths regardless of the result of gc. Previously we only detach the following paths when the gc for the executor's sandbox succeeds. 1. /agent_workdir/frameworks/FID/executors/EID/runs/CID 2. /agent_workdir/frameworks/FID/executors/EID/runs/latest 3.