mesos git commit: Fixed ephemeral ports deallocation in network/port_mapping isolator.

2018-07-24 Thread jieyu
Repository: mesos Updated Branches: refs/heads/master 044b73e19 -> e879e920c Fixed ephemeral ports deallocation in network/port_mapping isolator. Ephemeral ports are allocated for a container during the preparation phase and have to be deallocated during container cleanup regardless of whether

[12/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/classJSON_1_1StringWriter-members.html -- diff --git a/content/api/latest/c++/classJSON_1_1StringWriter-members.html b/content/api/latest/c++/c

[13/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
Updated the website built from mesos SHA: 044b73e. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/b0cd5754 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/b0cd5754 Diff: http://git-wip-us.apache.org/rep

[06/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/index.hhk -- diff --git a/content/api/latest/c++/index.hhk b/content/api/latest/c++/index.hhk index bdfd607..36d7b40 100644 --- a/content/api/la

[03/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/namespaceJSON_1_1internal.html -- diff --git a/content/api/latest/c++/namespaceJSON_1_1internal.html b/content/api/latest/c++/namespaceJSON_1_1

[07/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/index.hhc -- diff --git a/content/api/latest/c++/index.hhc b/content/api/latest/c++/index.hhc index 22c88de..c035784 100644 --- a/content/api/la

[01/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site c7ea99e73 -> b0cd57547 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/src_2slave_2http_8hpp_source.html -- diff --git a/conten

[08/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/hierarchy.html -- diff --git a/content/api/latest/c++/hierarchy.html b/content/api/latest/c++/hierarchy.html index 28be5b6..a047cb8 100644 ---

[05/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/index.hhp -- diff --git a/content/api/latest/c++/index.hhp b/content/api/latest/c++/index.hhp index 6ed0e29..c196a07 100644 --- a/content/api/la

[11/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/classes.html -- diff --git a/content/api/latest/c++/classes.html b/content/api/latest/c++/classes.html index 5bfc453..d7bce30 100644 --- a/cont

[04/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/jsonify_8hpp_source.html -- diff --git a/content/api/latest/c++/jsonify_8hpp_source.html b/content/api/latest/c++/jsonify_8hpp_source.html inde

[10/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/docker__archive_8hpp_source.html -- diff --git a/content/api/latest/c++/docker__archive_8hpp_source.html b/content/api/latest/c++/docker__archi

[02/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/src_2common_2http_8hpp_source.html -- diff --git a/content/api/latest/c++/src_2common_2http_8hpp_source.html b/content/api/latest/c++/src_2comm

[09/13] mesos-site git commit: Updated the website built from mesos SHA: 044b73e.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b0cd5754/content/api/latest/c++/globals_r.html -- diff --git a/content/api/latest/c++/globals_r.html b/content/api/latest/c++/globals_r.html index 83b07a9..ebcd944 100644 ---

[03/10] mesos git commit: Added rapidjson to the mesos build.

2018-07-24 Thread bmahler
Added rapidjson to the mesos build. This includes a stripped bundle of the latest release. Stripping is required for licensing (see rapidjson.md), but also helps reduce the bloat in the mesos git repo. Also included is a readme for how to update the dependency. Review: https://reviews.apache.org

[07/10] mesos git commit: Fixed libprocess tests against rapidjson.

2018-07-24 Thread bmahler
Fixed libprocess tests against rapidjson. The libprocess tests were checking the serialized format of metrics, which previously escaped forward slashes. However, this is not what rapidjson does and it's also valid json according to ECMA-404. Review: https://reviews.apache.org/r/67990 Project: h

[09/10] mesos git commit: Avoid resource copying while serving state json.

2018-07-24 Thread bmahler
Avoid resource copying while serving state json. The state serving code was constructing `Resources` wrappers in order to jsonify resources. This incurs a copy of the underlying Resource objects which is unnecessary and can be costly. This removes the copy by proving a direct way to jsonify `Repea

[01/10] mesos git commit: Added rapidjson to the libprocess build.

2018-07-24 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 2cc0c1fa6 -> 044b73e19 Added rapidjson to the libprocess build. This follows the approach used for picojson. Review: https://reviews.apache.org/r/67986 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.

[04/10] mesos git commit: Improved performance of jsonify by integrating with rapidjson.

2018-07-24 Thread bmahler
Improved performance of jsonify by integrating with rapidjson. This reduces the time needed for the client to finish receiving a master's /state response by 50% in the `StateQuery` benchmark: minq1q3 max baseline 6.52 6.76 7.33 8.26 rapidjson w/ SIMD 3.

[08/10] mesos git commit: Adjusted Mesos to compile against jsonify rapidjson changes.

2018-07-24 Thread bmahler
Adjusted Mesos to compile against jsonify rapidjson changes. The `StringWriter` no longer allows appending multiple times and instead has a `set` function that must be used. Review: https://reviews.apache.org/r/67991 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-

[05/10] mesos git commit: Avoid performance cost of ostringstream in http::OK json constructors.

2018-07-24 Thread bmahler
Avoid performance cost of ostringstream in http::OK json constructors. In the common case where no jsonp is passed this avoids an extra copy out from the ostringstream. In the jsonp case, the performance should be near identical or better as we now pre-reserve the space needed for the body. Revie

[06/10] mesos git commit: Fixed issues with the JSON serialization tests.

2018-07-24 Thread bmahler
Fixed issues with the JSON serialization tests. There were some issues in the existing JSON serialization tests when it comes to rapidjson. For example: - 0x7F does not need to be escaped per ECMA-404. This is what rapidjson adheres to. - Forward slash does not need to be escaped. This u

[10/10] mesos git commit: Added a note about rapidjson to the API changes in the CHANGELOG.

2018-07-24 Thread bmahler
Added a note about rapidjson to the API changes in the CHANGELOG. JSON endpoints now use rapidjson to provide a performance improvement, this means that if a client has a JSON de-serializer that does not conform to the ECMA-404 spec for JSON, they may break. As an example, Mesos would previously s

[02/10] mesos git commit: Added rapidjson to the stout build.

2018-07-24 Thread bmahler
Added rapidjson to the stout build. This follows the approach used for picojson. Review: https://reviews.apache.org/r/67985 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/543161da Tree: http://git-wip-us.apache.org/repos/as

mesos git commit: Fixed some alphabetical ordering issues in the mesos build files.

2018-07-24 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 35be8db88 -> 2cc0c1fa6 Fixed some alphabetical ordering issues in the mesos build files. This was requested during review feedback on a separate change, see: https://reviews.apache.org/r/67987/ Project: http://git-wip-us.apache.org/repo

mesos git commit: Fixed some non-alphabetical ordering in stout build files.

2018-07-24 Thread bmahler
Repository: mesos Updated Branches: refs/heads/master 0776a1dc6 -> 35be8db88 Fixed some non-alphabetical ordering in stout build files. These changes were requested as part of a separate change, see: https://reviews.apache.org/r/67985/ Project: http://git-wip-us.apache.org/repos/asf/mesos/

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

2018-07-24 Thread git-site-role
Updated the website built from mesos SHA: 0776a1d. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/c7ea99e7 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/c7ea99e7 Diff: http://git-wip-us.apache.org/rep

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

2018-07-24 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site ba605de87 -> c7ea99e73 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/c7ea99e7/content/sitemap.xml -- diff --git a/content/sitemap.xml b/content/sitemap.xml i

mesos git commit: Fix padding in MpscLinkedQueue.

2018-07-24 Thread jpeach
Repository: mesos Updated Branches: refs/heads/master 66f0908fe -> 0776a1dc6 Fix padding in MpscLinkedQueue. This patch aligns the head of MpscLinkedQueue to a new cache line and adds padding between head and tail to avoid false sharing between to two and after tail to avoid false sharing with

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

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ba605de8/content/api/latest/c++/hierarchy.html -- diff --git a/content/api/latest/c++/hierarchy.html b/content/api/latest/c++/hierarchy.html index 462bd70..28be5b6 100644 ---

[4/5] mesos-site git commit: Updated the website built from mesos SHA: 66f0908.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ba605de8/content/api/latest/c++/classes.html -- diff --git a/content/api/latest/c++/classes.html b/content/api/latest/c++/classes.html index fc7aa69..5bfc453 100644 --- a/cont

[5/5] mesos-site git commit: Updated the website built from mesos SHA: 66f0908.

2018-07-24 Thread git-site-role
Updated the website built from mesos SHA: 66f0908. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/ba605de8 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/ba605de8 Diff: http://git-wip-us.apache.org/rep

[1/5] mesos-site git commit: Updated the website built from mesos SHA: 66f0908.

2018-07-24 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site b8e8dd48a -> ba605de87 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ba605de8/content/api/latest/c++/index.hhc -- diff --git a/content/api/latest/c++/index.h

[3/5] mesos-site git commit: Updated the website built from mesos SHA: 66f0908.

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ba605de8/content/api/latest/c++/functions_b.html -- diff --git a/content/api/latest/c++/functions_b.html b/content/api/latest/c++/functions_b.html index 4022921..26845b9 10064

[1/2] mesos git commit: Updated XFS disk isolator docs.

2018-07-24 Thread jpeach
Repository: mesos Updated Branches: refs/heads/master 9047fdccc -> 66f0908fe Updated XFS disk isolator docs. Added project IDs reclaiming mechanism description. Review: https://reviews.apache.org/r/68029/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.a

[2/2] mesos git commit: Updated XFS disk isolator to reclaim project IDs after disk GC.

2018-07-24 Thread jpeach
Updated XFS disk isolator to reclaim project IDs after disk GC. Currently upon container destruction its project ID is unallocated by the isolator and removed from the container work directory. However due to API limitations we can't unset project IDs on symlinks that may exist inside the director

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

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/path_8hpp_source.html -- diff --git a/content/api/latest/c++/path_8hpp_source.html b/content/api/latest/c++/path_8hpp_source.html index 8afbbb5

[1/3] mesos-site git commit: Updated the website built from mesos SHA: 9047fdc.

2018-07-24 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site f2faa6de9 -> b8e8dd48a http://git-wip-us.apache.org/repos/asf/mesos-site/blob/b8e8dd48/content/api/latest/c++/src_2slave_2state_8hpp_source.html -- diff --git a/conte

[3/3] mesos-site git commit: Updated the website built from mesos SHA: 9047fdc.

2018-07-24 Thread git-site-role
Updated the website built from mesos SHA: 9047fdc. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/b8e8dd48 Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/b8e8dd48 Diff: http://git-wip-us.apache.org/rep

[8/8] mesos git commit: Windows: Enabled `RemoteLink` tests.

2018-07-24 Thread andschwa
Windows: Enabled `RemoteLink` tests. This resolves MESOS-5941. Note that on Windows, `os::killtree()` is only valid for processes specifically spawned in a group via a job object, otherwise it will fail (and the failure is not being checked here). Since the `linkee` process only ever spawns the si

[3/8] mesos git commit: Windows: Ported remaining tests in the `HTTPTest` suite.

2018-07-24 Thread andschwa
Windows: Ported remaining tests in the `HTTPTest` suite. These were enabled by fixing the use of `Path()` in `process.cpp` to explicitly use '/' as the separator, as it's being used to manipulate URLs, not filesystem paths, and previously this failed due the Windows path separator being '\'. Revi

[1/8] mesos git commit: Enabled `TimeTest.Now` on Windows.

2018-07-24 Thread andschwa
Repository: mesos Updated Branches: refs/heads/master 0519403ec -> 9047fdccc Enabled `TimeTest.Now` on Windows. While the timer resolution on Windows does not support 10 microseconds, it does support 1000 microseconds, which is still fast enough for a unit test. Review: https://reviews.apache

[6/8] mesos git commit: Fixed `test-linkee` logic in `ProcessRemoteLinkTest::SetUp()`.

2018-07-24 Thread andschwa
Fixed `test-linkee` logic in `ProcessRemoteLinkTest::SetUp()`. Several problems existed on Windows here: * The `BUILD_DIR` path has forward slashes (probably fine, but wrong). * The executable must be named correctly, `.exe` and all. * We should assert that `test-linkee` exists. * The shell shoul

[4/8] mesos git commit: Windows: Added `nullptr` checks when using `libwinio_loop` pointer.

2018-07-24 Thread andschwa
Windows: Added `nullptr` checks when using `libwinio_loop` pointer. It was discovered that the `Socket` constructor could dereference a null pointer (by way of `prepare_async()`) if the Windows IOCP event loop had not yet been initialized. So now we check for its initialization before each derefer

[7/8] mesos git commit: Windows: Enabled rest of `ProcessTest` suite.

2018-07-24 Thread andschwa
Windows: Enabled rest of `ProcessTest` suite. Several of these worked as-is, and the two firewall tests were fixed by replace `path::join` (which joined with `\`) with `strings::join("/")`. Review: https://reviews.apache.org/r/67980 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Com

[5/8] mesos git commit: Added optional `path_separator` parameter to `Path` constructor.

2018-07-24 Thread andschwa
Added optional `path_separator` parameter to `Path` constructor. This defaults to `os::PATH_SEPARATOR` and so by default retains the previous behavior. However, now `Path` can be arbitrarily used with, e.g., URLs on Windows by providing `/` as the separator. Review: https://reviews.apache.org/r/6

[2/8] mesos git commit: Windows: Documented why the `RemoteLinkLeak` test is not enabled.

2018-07-24 Thread andschwa
Windows: Documented why the `RemoteLinkLeak` test is not enabled. Review: https://reviews.apache.org/r/67979 Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ac3b74e9 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ac3

[mesos] Git Push Summary

2018-07-24 Thread mpark
Repository: mesos Updated Branches: refs/heads/1.3.x [deleted] b7c89a082

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

2018-07-24 Thread git-site-role
Repository: mesos-site Updated Branches: refs/heads/asf-site 455c4f80a -> f2faa6de9 http://git-wip-us.apache.org/repos/asf/mesos-site/blob/f2faa6de/content/documentation/operator-http-api/index.html -- diff --git a/content/docu

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

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/f2faa6de/content/documentation/latest/endpoints/master/tasks.json/index.html -- diff --git a/content/documentation/latest/endpoints/master/tasks.json/index.html b/content/doc

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

2018-07-24 Thread git-site-role
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/f2faa6de/content/documentation/cni/index.html -- diff --git a/content/documentation/cni/index.html b/content/documentation/cni/index.html index 8b7be7d..e660db1 100644 --- a/c

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

2018-07-24 Thread git-site-role
Updated the website built from mesos SHA: 0519403. Project: http://git-wip-us.apache.org/repos/asf/mesos-site/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos-site/commit/f2faa6de Tree: http://git-wip-us.apache.org/repos/asf/mesos-site/tree/f2faa6de Diff: http://git-wip-us.apache.org/rep

[1/5] mesos git commit: Mentioned linters `mesos-style.py` and `mesos-tidy.sh` in style guide.

2018-07-24 Thread bbannier
Repository: mesos Updated Branches: refs/heads/master 404500308 -> 0519403ec Mentioned linters `mesos-style.py` and `mesos-tidy.sh` in style guide. Review: https://reviews.apache.org/r/67924/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repo

[3/5] mesos git commit: Fixed documentation links.

2018-07-24 Thread bbannier
Fixed documentation links. Review: https://reviews.apache.org/r/67904/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/fdbe0a71 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/fdbe0a71 Diff: http://git-wip-us.apache.o

[5/5] mesos git commit: Fixed image link in docker volume isolator docs.

2018-07-24 Thread bbannier
Fixed image link in docker volume isolator docs. Review: https://reviews.apache.org/r/67925/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/0519403e Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/0519403e Diff: http

[4/5] mesos git commit: Added missing anchor.

2018-07-24 Thread bbannier
Added missing anchor. Review: https://reviews.apache.org/r/67905/ Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/36265a69 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/36265a69 Diff: http://git-wip-us.apache.org/re

[2/5] mesos git commit: Fixed breadcrumb links in site templates.

2018-07-24 Thread bbannier
Fixed breadcrumb links in site templates. This patch makes sure that we do not leak newlines into breadcrumb links created from page titles, and fixes the handling of spaces which are represented with dashes. Review: https://reviews.apache.org/r/67903/ Project: http://git-wip-us.apache.org/repo

mesos git commit: Improved cmake missing files check script.

2018-07-24 Thread bbannier
Repository: mesos Updated Branches: refs/heads/master 40d33c054 -> 404500308 Improved cmake missing files check script. This patch performs some cleanups: * do not emit `realpath` errors when validating filename-like strings in the cmake build, * prevent stray output of log headings when no