author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
46,091
21.08.2018 10:42:48
25,200
062b34eabb7f437b9d32b54544b51689a918c021
Added support helper for fetching review ids. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "support/python3/get-review-ids.py", "diff": "+#!/usr/bin/env python3\n+#\n+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distributed with this work for additional...
C++
Apache License 2.0
apache/mesos
Added support helper for fetching review ids. Review: https://reviews.apache.org/r/67503/
46,091
21.08.2018 10:42:50
25,200
e80fa6f4d5d1c2feb62e6a83ee1d09befc2e251a
Added support script to post build results. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "support/python3/post-build-result.py", "diff": "+#!/usr/bin/env python3\n+#\n+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distributed with this work for additio...
C++
Apache License 2.0
apache/mesos
Added support script to post build results. Review: https://reviews.apache.org/r/67504/
46,091
21.08.2018 10:42:52
25,200
590a75d0c9d61b0b07f8a3807225c40eb8189a0b
Refactored verify-reviews.py to use commons.py and argparse. Review:
[ { "change_type": "MODIFY", "old_path": "support/python3/verify-reviews.py", "new_path": "support/python3/verify-reviews.py", "diff": "@@ -33,7 +33,9 @@ The script performs the following sequence:\n* The result is posted to ReviewBoard.\n\"\"\"\n-import atexit\n+import argparse\n+import time\n+import...
C++
Apache License 2.0
apache/mesos
Refactored verify-reviews.py to use commons.py and argparse. Review: https://reviews.apache.org/r/67505/
46,165
21.08.2018 12:13:52
25,200
1397ee023e8f9ed2df9ee88388ecc9cac8de7786
Updated CHANGELOG to mention highlights instead of new features. This initial section is now primarily used for highlighting, whether it's bug fixes, improvements, or new features.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "Release Notes - Mesos - Version 1.7.0\n-------------------------------------------\n-This release contains the following new features:\n+This release contains the following highlights:\n* [MESOS-7691] - Added a new...
C++
Apache License 2.0
apache/mesos
Updated CHANGELOG to mention highlights instead of new features. This initial section is now primarily used for highlighting, whether it's bug fixes, improvements, or new features.
46,188
21.08.2018 09:43:31
25,200
030c5507191edd51fdce0e68c66acea2d4302138
Fixed the example for image_gc_config. Since the unit is nanoseconds, setting it to 3600 is way too small, and misleading. This patch fixed the example to use 1 hour instead. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -1016,11 +1016,13 @@ Containerizer for now.\nSee the ImageGcConfig message in `flags.proto` for the expected\nformat.\n<p/>\n-Example:\n+In the following example, image garbag...
C++
Apache License 2.0
apache/mesos
Fixed the example for image_gc_config. Since the unit is nanoseconds, setting it to 3600 is way too small, and misleading. This patch fixed the example to use 1 hour instead. Review: https://reviews.apache.org/r/68443
46,165
21.08.2018 11:35:17
25,200
44e66220fa22b0c5fea0e4b4de52dcd4f75d81da
Added 1.7.0 performance improvements to the CHANGELOG. This adds some highlighting of important performance improvements in 1.7.0 to ease human consumption. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -2,6 +2,28 @@ Release Notes - Mesos - Version 1.7.0\n-------------------------------------------\nThis release contains the following highlights:\n+ * Performance Improvements:\n+\n+ * **Master `/state` endpoint...
C++
Apache License 2.0
apache/mesos
Added 1.7.0 performance improvements to the CHANGELOG. This adds some highlighting of important performance improvements in 1.7.0 to ease human consumption. Review: https://reviews.apache.org/r/68446
46,165
21.08.2018 12:53:06
25,200
e53254405febcd8d31143203e3d8b3611a7a7de2
Organized the 1.7.0 CHANGELOG highlights by project area. * Added docker pull latency metrics to the containerization section. * Added multi-framework documentation and the random sorter to the multi-framework workloads section. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -24,37 +24,59 @@ This release contains the following highlights:\nprovides a significant improvement to container launch /\ndestroy throughput (MESOS-9081).\n- * [MESOS-7691] - Added a new option `cgroups/all` t...
C++
Apache License 2.0
apache/mesos
Organized the 1.7.0 CHANGELOG highlights by project area. * Added docker pull latency metrics to the containerization section. * Added multi-framework documentation and the random sorter to the multi-framework workloads section. Review: https://reviews.apache.org/r/68449
46,173
21.08.2018 13:23:08
25,200
e6828b778ca3bcac0f1400049440661702668cc5
Skip the container if there's no container network. If the container wants to join host network it won't have container networks. In that case `rootDir` could be not configured and `rootDir.get()` in `usage()` will cause mesos agent crash. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp", "new_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp", "diff": "@@ -1513,6 +1513,16 @@ Future<ResourceStatistics> NetworkCniIsolatorProcess::usage(\nreturn ResourceStatistics();\...
C++
Apache License 2.0
apache/mesos
Skip the container if there's no container network. If the container wants to join host network it won't have container networks. In that case `rootDir` could be not configured and `rootDir.get()` in `usage()` will cause mesos agent crash. Review: https://reviews.apache.org/r/68448/
46,139
22.08.2018 13:53:08
25,200
192f435c23d9052fa960907ebb38be04fa84b308
Made an operation reconciliation test more robust. `OperationReconciliationTest.AgentPendingOperationAfterMasterFailover` is currently flaky on slow machines. This patch temporarily resumes the clock after the master failover and until the agent reregisters. This should avoid deadlocks and make the test reliable. Revie...
[ { "change_type": "MODIFY", "old_path": "src/tests/operation_reconciliation_tests.cpp", "new_path": "src/tests/operation_reconciliation_tests.cpp", "diff": "@@ -826,10 +826,16 @@ TEST_P(OperationReconciliationTest, AgentPendingOperationAfterMasterFailover)\n// Advance the clock, so that the agent re-...
C++
Apache License 2.0
apache/mesos
Made an operation reconciliation test more robust. `OperationReconciliationTest.AgentPendingOperationAfterMasterFailover` is currently flaky on slow machines. This patch temporarily resumes the clock after the master failover and until the agent reregisters. This should avoid deadlocks and make the test reliable. Re...
46,103
24.08.2018 11:01:57
25,200
71137e87e2ffd8b7455373b6b02c5e662b244cfa
Documented the `GET_RESOURCE_PROVIDERS` agent API call. Review:
[ { "change_type": "MODIFY", "old_path": "docs/operator-http-api.md", "new_path": "docs/operator-http-api.md", "diff": "@@ -3959,6 +3959,81 @@ REMOVE_NESTED_CONTAINER HTTP Response (JSON):\nHTTP/1.1 200 OK\n```\n+### GET_RESOURCE_PROVIDERS\n+\n+This call retrieves information about all the resource pr...
C++
Apache License 2.0
apache/mesos
Documented the `GET_RESOURCE_PROVIDERS` agent API call. Review: https://reviews.apache.org/r/68504/
46,057
24.08.2018 22:48:26
-7,200
d5468c47951cd28ad054df76b17609b7d15b255f
Added stout wrapper for `boost::circular_buffer`. Added a new file `stout/circular_buffer.hpp` that pulls the `boost::circular_buffer` class into the global namespace to ensure the boost header is always used with the correct macro definitions when included from Mesos. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/Makefile.am", "new_path": "3rdparty/stout/include/Makefile.am", "diff": "@@ -25,6 +25,7 @@ nobase_include_HEADERS = \\\nstout/cpp17.hpp \\\nstout/cache.hpp \\\nstout/check.hpp \\\n+ stout/circular_buffer.hpp \\\nstout/duration.hpp \\\nst...
C++
Apache License 2.0
apache/mesos
Added stout wrapper for `boost::circular_buffer`. Added a new file `stout/circular_buffer.hpp` that pulls the `boost::circular_buffer` class into the global namespace to ensure the boost header is always used with the correct macro definitions when included from Mesos. Review: https://reviews.apache.org/r/68502/
46,057
24.08.2018 22:48:36
-7,200
71b88f865efc031b31177cdd47325787a377ca41
Replaced boost includes with stout equivalents. Replaces usages of `boost::circular_buffer` with the equivalent `circular_buffer` from stout in both master and slave. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "#include <string>\n#include <vector>\n-// Using `boost::circular_buffer::debug_iterator` can lead to segfaults\n-// because they are not thread-safe (see MESOS-9177), so we must ensure\n-// ...
C++
Apache License 2.0
apache/mesos
Replaced boost includes with stout equivalents. Replaces usages of `boost::circular_buffer` with the equivalent `circular_buffer` from stout in both master and slave. Review: https://reviews.apache.org/r/68503/
46,103
22.08.2018 09:44:08
-7,200
c0547c3a4814a5565fe0aa994f88af4757cddf55
Removed `ROOT` requirement some `StorageLocalResourceProvider` tests. These tests required `ROOT` in order to use `filesystem/linux` isolation this is not a requirement anymore so we can run the tests in general. These tests appear to be able to run in parallel as well. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/storage_local_resource_provider_tests.cpp", "new_path": "src/tests/storage_local_resource_provider_tests.cpp", "diff": "@@ -284,7 +284,7 @@ protected:\n// This test verifies that a storage local resource provider can report\n// no resource and recove...
C++
Apache License 2.0
apache/mesos
Removed `ROOT` requirement some `StorageLocalResourceProvider` tests. These tests required `ROOT` in order to use `filesystem/linux` isolation this is not a requirement anymore so we can run the tests in general. These tests appear to be able to run in parallel as well. Review: https://reviews.apache.org/r/68472
46,172
28.08.2018 10:57:13
-7,200
b02c054654f8b5b6210ea62ee76a8ffb66f4a41c
Added `cli_new` to the excluded directories for python2 mesos-style.py. This way, pylint does not report outdated errors when the old mesos-style.py is run. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-style.py", "new_path": "support/mesos-style.py", "diff": "@@ -368,7 +368,8 @@ class PyLinter(LinterBase):\nr'java/jni|' \\\nr'\\.virtualenv|' \\\nr'\\.tox|' \\\n- r'python3' \\\n+ r'python3|' \\\n+ r'cli_new' \\\n')'\nsource_files = r'\\.(py)$'\n...
C++
Apache License 2.0
apache/mesos
Added `cli_new` to the excluded directories for python2 mesos-style.py. This way, pylint does not report outdated errors when the old mesos-style.py is run. Review: https://reviews.apache.org/r/68486/
46,053
28.08.2018 16:46:54
-7,200
8496b369d52d27e90da88787242fd6f9d9abb78e
Added `AgentAPITest.LaunchNestedContainerWithUnknownParent` test. This test verifies that launch nested container fails when the parent container is unknown to the containerizer. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -5972,6 +5972,102 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\n}\n+// This test verifies that launch nested container fails when the parent\n+// container is unknown to the containerizer.\n+T...
C++
Apache License 2.0
apache/mesos
Added `AgentAPITest.LaunchNestedContainerWithUnknownParent` test. This test verifies that launch nested container fails when the parent container is unknown to the containerizer. Review: https://reviews.apache.org/r/68234/
46,056
28.08.2018 18:16:31
-7,200
12636838f78ad06b66466b3d2fa9c9db94ac70b2
Groomed the CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -7,7 +7,7 @@ Release Notes - Mesos - Version 1.7.1 (WIP)\nRelease Notes - Mesos - Version 1.7.0\n--------------------------------------------\n+-------------------------------------\nThis release contains the fo...
C++
Apache License 2.0
apache/mesos
Groomed the CHANGELOG.
46,114
27.08.2018 11:47:34
25,200
1a2dc1522eba6aca8074d28272d151742dd3a532
Windows: Added notes for permanently disabled tests. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/os/filesystem_tests.cpp", "new_path": "3rdparty/stout/tests/os/filesystem_tests.cpp", "diff": "@@ -620,6 +620,8 @@ TEST_F(FsTest, Close)\n#if defined(__linux__) || defined(__APPLE__)\n+// NOTE: This test is otherwise disabled since it uses...
C++
Apache License 2.0
apache/mesos
Windows: Added notes for permanently disabled tests. Review: https://reviews.apache.org/r/68529
46,114
27.08.2018 11:47:41
25,200
e4bb564ff21976e8c21462a0c4730f85e80f3b19
Windows: Enabled `RemoveWithContinueOnError` test. This test "just worked" after previous fixes. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/os/rmdir_tests.cpp", "new_path": "3rdparty/stout/tests/os/rmdir_tests.cpp", "diff": "@@ -382,7 +382,6 @@ TEST_F(RmdirTest, RemoveDirectoryButPreserveRoot)\n}\n-#ifdef __linux__\n// This test fixture verifies that `rmdir` behaves correctly\...
C++
Apache License 2.0
apache/mesos
Windows: Enabled `RemoveWithContinueOnError` test. This test "just worked" after previous fixes. Review: https://reviews.apache.org/r/68530
46,114
27.08.2018 11:47:46
25,200
788a95845c308984643655194aeb352b6e2a3b01
Windows: Ported `OsTest.Children,KillTree,ProcessExists`. These tests were (partially) ported by implementing logic similar to the what's used on POSIX with `os::Fork` and `os::Exec` (which will not be implemented on Windows). Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/os_tests.cpp", "new_path": "3rdparty/stout/tests/os_tests.cpp", "diff": "#include <stout/os/sysctl.hpp>\n#endif\n+#if defined(__WINDOWS__)\n+#include <stout/os/shell.hpp>\n+#endif\n+\n#include <stout/tests/utils.hpp>\n-#ifndef __WINDOWS__\...
C++
Apache License 2.0
apache/mesos
Windows: Ported `OsTest.Children,KillTree,ProcessExists`. These tests were (partially) ported by implementing logic similar to the what's used on POSIX with `os::Fork` and `os::Exec` (which will not be implemented on Windows). Review: https://reviews.apache.org/r/68532
46,057
28.08.2018 21:25:52
-7,200
4118a482a95793252f4713c5e20ef2c70f2ab07b
Added '/state-summary' to the set of batched master endpoints. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -3334,8 +3334,19 @@ Future<Response> Master::Http::stateSummary(\n{VIEW_ROLE, VIEW_FRAMEWORK})\n.then(defer(\nmaster->self(),\n- [this, request](const Owned<ObjectApprovers>& approvers) -> Re...
C++
Apache License 2.0
apache/mesos
Added '/state-summary' to the set of batched master endpoints. Review: https://reviews.apache.org/r/68321/
46,057
28.08.2018 21:26:03
-7,200
63e9096b0cd883d9edc8907a577bcba0b150b541
Added '/tasks' to the set of batched master endpoints. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -4041,25 +4041,10 @@ string Master::Http::TASKS_HELP()\n\"See the authorization documentation for details.\"));\n}\n-\n-Future<Response> Master::Http::tasks(\n- const Request& request,\n- con...
C++
Apache License 2.0
apache/mesos
Added '/tasks' to the set of batched master endpoints. Review: https://reviews.apache.org/r/68440/
46,057
28.08.2018 21:26:11
-7,200
33c38c9baa20b42562b519971df508283d988abc
Added '/slaves' to the set of batched master endpoints. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -2517,6 +2517,20 @@ string Master::Http::SLAVES_HELP()\n}\n+process::http::Response Master::ReadOnlyHandler::slaves(\n+ const process::http::Request& request,\n+ const process::Owned<ObjectAp...
C++
Apache License 2.0
apache/mesos
Added '/slaves' to the set of batched master endpoints. Review: https://reviews.apache.org/r/68441/
46,057
28.08.2018 21:26:18
-7,200
102dcca4e0116d2ffbdcd78d998e032841ffbabe
Added '/frameworks' to the set of batched master endpoints. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -1682,7 +1682,17 @@ Future<Response> Master::Http::frameworks(\n{VIEW_FRAMEWORK, VIEW_TASK, VIEW_EXECUTOR})\n.then(defer(\nmaster->self(),\n- [this, request](const Owned<ObjectApprovers>& app...
C++
Apache License 2.0
apache/mesos
Added '/frameworks' to the set of batched master endpoints. Review: https://reviews.apache.org/r/68442/
46,057
28.08.2018 21:26:36
-7,200
4930ec2e141920411fb9050500f385f5ef6a78a2
Cleaned up some style issues in `ReadOnlyHandler`. This commit fixes several minor style issues: - Sorted member function declarations of `ReadOnlyHandler` alphabetically. - Added notes to remind readers of the fact that requests to certain endpoints are batched. - Changed captured variable in `/frameworks` endpoint ha...
[ { "change_type": "MODIFY", "old_path": "src/common/http.hpp", "new_path": "src/common/http.hpp", "diff": "@@ -162,6 +162,7 @@ void json(JSON::ArrayWriter* writer, const Labels& labels);\nvoid json(JSON::ObjectWriter* writer, const MasterInfo& info);\nvoid json(\nJSON::StringWriter* writer, const Mas...
C++
Apache License 2.0
apache/mesos
Cleaned up some style issues in `ReadOnlyHandler`. This commit fixes several minor style issues: - Sorted member function declarations of `ReadOnlyHandler` alphabetically. - Added notes to remind readers of the fact that requests to certain endpoints are batched. - Changed captured variable in `/frameworks` e...
46,117
28.08.2018 13:30:42
25,200
dc1436289129e5339a7e9d6d9350d64a352ece6b
Windows: Update curl version to 7.61.0. A bug is encountered in version 7.57.0, and is fixed in 7.61.0. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -740,7 +740,7 @@ if (WIN32)\nset_target_properties(\ncurl PROPERTIES\n- IMPORTED_LOCATION_DEBUG ${CURL_ROOT}-build/src/Debug/curl-d.exe\n+ IMPORTED_LOCATION_DEBUG ${CURL_ROOT}-build/s...
C++
Apache License 2.0
apache/mesos
Windows: Update curl version to 7.61.0. A bug is encountered in version 7.57.0, and is fixed in 7.61.0. Review: https://reviews.apache.org/r/68450/
46,117
28.08.2018 13:32:17
25,200
bf17c98f440df0998281f8619642d1d9ebcf49eb
Windows: Parse version 2 schema 2 Docker image manifest. Added support to parse V2S2 Docker image manifest (https://docs.docker.com/registry/spec/manifest-v2-2/). Adopted the validation code from patch 53850. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/docker/spec.hpp", "new_path": "include/mesos/docker/spec.hpp", "diff": "#include <mesos/docker/v1.hpp>\n#include <mesos/docker/v2.hpp>\n+#include <mesos/docker/v2_2.hpp>\nnamespace docker {\nnamespace spec {\n@@ -119,6 +120,23 @@ Try<ImageManifes...
C++
Apache License 2.0
apache/mesos
Windows: Parse version 2 schema 2 Docker image manifest. Added support to parse V2S2 Docker image manifest (https://docs.docker.com/registry/spec/manifest-v2-2/). Adopted the validation code from patch 53850. Review: https://reviews.apache.org/r/68451/
46,163
28.08.2018 14:14:29
25,200
6f5ff9550d975ed0adc2a12f7690a52be3a47afa
Add Liangyu as contributor.
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: lawrencew\nreviewboard_user: lawrencew\n+- name: Liangyu Zhao\n+ affiliations:\n+ - {organization: Microsoft}\n+ emails:\n+ - liangyuzhaorain@hotmail.com\n+ jira_user: liazha@mi...
C++
Apache License 2.0
apache/mesos
Add Liangyu as contributor.
46,056
29.08.2018 00:10:06
-7,200
493fcdb3709414fc20a912c054b556f5a50502ed
Fixed a warning in "cni_isolator_tests.cpp".
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "@@ -2507,7 +2507,7 @@ TEST_F(CniIsolatorTest, VETH_VerifyResourceStatistics)\nContainerID containerId = *(containers->begin());\n// Verify n...
C++
Apache License 2.0
apache/mesos
Fixed a warning in "cni_isolator_tests.cpp".
46,108
29.08.2018 13:39:29
-7,200
b55c5deb88b4a4e5713c9361e492e941972fe8db
Updated the python2 'PyLinter' to only lint python2 based code. Specifically, this includes no longer linting all code under the `src/python` directory. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-style.py", "new_path": "support/mesos-style.py", "diff": "@@ -352,12 +352,7 @@ class PyLinter(LinterBase):\n\"\"\"The linter for Python files, uses pylint.\"\"\"\nlinter_type = 'Python'\n- cli_dir = os.path.join('src', 'python', 'cli_new')\n- lib...
C++
Apache License 2.0
apache/mesos
Updated the python2 'PyLinter' to only lint python2 based code. Specifically, this includes no longer linting all code under the `src/python` directory. Review: https://reviews.apache.org/r/68560
46,208
29.08.2018 13:46:11
-7,200
959fa0bbe6dcde60262bc131f851f5bb2d709d57
Migrated mesos python package to python3.6. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/lib/mesos/exceptions.py", "new_path": "src/python/lib/mesos/exceptions.py", "diff": "Exceptions Classes\n\"\"\"\n-from __future__ import absolute_import\n+\nclass MesosException(Exception):\n" }, { "change_type": "MODIFY", "old_path": "s...
C++
Apache License 2.0
apache/mesos
Migrated mesos python package to python3.6. Review: https://reviews.apache.org/r/67894
46,117
29.08.2018 11:54:25
25,200
cdf8eab619239600f5105965b676b13887931f91
Windows: Enable DockerFetcher in Windows agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -184,11 +184,7 @@ set(AGENT_SRC\nslave/containerizer/mesos/provisioner/docker/store.cpp\nslave/resource_estimators/noop.cpp)\n-if (WIN32)\n- list(APPEND AGENT_SRC\n- slave/containerizer/mesos/i...
C++
Apache License 2.0
apache/mesos
Windows: Enable DockerFetcher in Windows agent. Review: https://reviews.apache.org/r/68455/
46,117
29.08.2018 11:54:47
25,200
3295fc98cf33bf22bb3d7b1d1ade424c477d3b83
Windows: Enabled `DockerFetcherPluginTest` suite. Enabled `Internet` test environment on Windows. Disabled `Internet` `HealthCheckTests` on Windows, since they require complete development. Modified `DockerFetcherPluginTest` to fetch `microsoft/nanoserver` for more extensive test for fetcher on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/environment.cpp", "new_path": "src/tests/environment.cpp", "diff": "@@ -523,8 +523,11 @@ class InternetFilter : public TestFilter\npublic:\nInternetFilter()\n{\n+#ifdef __WINDOWS__\n+ error = os::system(\"ping -n 1 -w 1000 google.com\") != 0;\n+#else...
C++
Apache License 2.0
apache/mesos
Windows: Enabled `DockerFetcherPluginTest` suite. Enabled `Internet` test environment on Windows. Disabled `Internet` `HealthCheckTests` on Windows, since they require complete development. Modified `DockerFetcherPluginTest` to fetch `microsoft/nanoserver` for more extensive test for fetcher on Windows. Review: https...
46,117
29.08.2018 12:16:59
25,200
715e58a4001656e39b3386e5ad57965b291b406d
Windows: Added CMake logic to download and "install" `wclayer.exe`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -55,6 +55,7 @@ if (WIN32)\nset(LIBAPR_URL ${3RDPARTY_DEPENDENCIES}/libapr-${LIBAPR_VERSION}.tar.gz)\nset(ZLIB_URL ${3RDPARTY_DEPENDENCIES}/zlib-${ZLIB_VERSION}.tar.gz)\nset(SASL2_URL ...
C++
Apache License 2.0
apache/mesos
Windows: Added CMake logic to download and "install" `wclayer.exe`. Review: https://reviews.apache.org/r/67984/
46,165
29.08.2018 12:39:28
25,200
88631a51e52b2fae99d79da976ca4e9d45059fc8
Fixed an inaccuracy in the 1.7.x upgrades notes for json. Removed the implication that we previously did not conform to
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -481,7 +481,7 @@ We categorize the changes as follows:\n<a name=\"1-7-x-json-serialization\"></a>\n-* As a result of adapting rapidjson for performance improvement, all JSON endpoints now conform t...
C++
Apache License 2.0
apache/mesos
Fixed an inaccuracy in the 1.7.x upgrades notes for json. Removed the implication that we previously did not conform to ECMA-404.
46,117
29.08.2018 13:52:18
25,200
e8dcb96bc64e6909dff4e98485944f739dfc49f7
Windows: Add comment about V2S2 Docker image Manifest. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetchers/docker.cpp", "new_path": "src/uri/fetchers/docker.cpp", "diff": "@@ -726,6 +726,11 @@ Future<Nothing> DockerFetcherPluginProcess::__fetch(\n// https://docs.docker.com/registry/spec/manifest-v2-2/\n//\n// If fetch is failed, program continues w...
C++
Apache License 2.0
apache/mesos
Windows: Add comment about V2S2 Docker image Manifest. Review: https://reviews.apache.org/r/68562/
46,056
02.08.2018 12:21:48
-7,200
21e4b2bdc70c2726a193e2c27bf7c1ebb798ca57
Augmented `Statistics` to work with any collection. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/statistics.hpp", "new_path": "3rdparty/libprocess/include/process/statistics.hpp", "diff": "#include <glog/logging.h>\n#include <algorithm>\n+#include <iterator>\n+#include <type_traits>\n#include <vector>\n#include <process...
C++
Apache License 2.0
apache/mesos
Augmented `Statistics` to work with any collection. Review: https://reviews.apache.org/r/68224
46,056
02.08.2018 15:03:19
-7,200
9513916f55249c00f188e902f1d40e5483ae47fb
Added 25th and 75th percentiles to `Statistics`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/statistics.hpp", "new_path": "3rdparty/libprocess/include/process/statistics.hpp", "diff": "@@ -86,7 +86,9 @@ struct Statistics\nT max;\n// TODO(dhamon): Consider making the percentiles we store dynamic.\n+ T p25;\nT p50;\n+...
C++
Apache License 2.0
apache/mesos
Added 25th and 75th percentiles to `Statistics`. Review: https://reviews.apache.org/r/68225
46,092
30.08.2018 15:42:38
18,000
4f8092c50ddff640518d2879a7faeaa3e45900e9
Clarify existence of FrameworkID in SUBSCRIBE calls. I wanted to clarify how `FrameworkID` should or shouldn't be set in `SUBSCRIBE` calls. This closes
[ { "change_type": "MODIFY", "old_path": "docs/scheduler-http-api.md", "new_path": "docs/scheduler-http-api.md", "diff": "@@ -55,7 +55,7 @@ The response returned from the `SUBSCRIBE` call (see [below](#subscribe)) is enc\nThis is the first step in the communication process between the scheduler and th...
C++
Apache License 2.0
apache/mesos
Clarify existence of FrameworkID in SUBSCRIBE calls. I wanted to clarify how `FrameworkID` should or shouldn't be set in `SUBSCRIBE` calls. This closes #205
46,172
31.08.2018 09:49:56
-7,200
f5b6f94086b73a06526f327ddd80b3f94141a667
Simplified Python dependencies management. Following the upgrade of the Python package to Python 3.6, tox handles dependencies for the new CLI and the Mesos Python package Review:
[ { "change_type": "MODIFY", "old_path": "support/build-virtualenv", "new_path": "support/build-virtualenv", "diff": "@@ -84,17 +84,6 @@ source ${VIRTUALENV_DIRECTORY}/bin/activate\npip install --upgrade pip\npip install -r ${CURRDIR}/pip-requirements.txt\n-# For now we hard code pulling in the pip-re...
C++
Apache License 2.0
apache/mesos
Simplified Python dependencies management. Following the upgrade of the Python package to Python 3.6, tox handles dependencies for the new CLI and the Mesos Python package (MESOS-8206). Review: https://reviews.apache.org/r/68535/
46,172
31.08.2018 09:52:53
-7,200
8252cb027afa03056d86fbee93b54e4e6be07e44
Updated Python dependencies for Python 3.7. Fixes issues with `mesos-style.py` when editing Python files for the Mesos CLI and Python package with Python 3.7 installed Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/pip-requirements.txt", "new_path": "src/python/cli_new/pip-requirements.txt", "diff": "-astroid==1.6.5\n+astroid==2.0.4\nbackports.functools-lru-cache==1.2.1\nconfigparser==3.5.0\ndocopt==0.6.2\nisort==4.2.5\n-kazoo==2.3.1\n+kazoo==2.5.0\nla...
C++
Apache License 2.0
apache/mesos
Updated Python dependencies for Python 3.7. Fixes issues with `mesos-style.py` when editing Python files for the Mesos CLI and Python package with Python 3.7 installed (MESOS-9186). Review: https://reviews.apache.org/r/68566/
46,188
31.08.2018 22:29:48
25,200
3e4e78009d94c15409735ecf4bc2941ec7523d6b
Made copy backend destroy more robust. Do not return hard failure if `rm -rf` failed. It's also possible that it fails if some other processes are accessing the files there. The cleanup will be re-attempted during provisioner destroy and agent recovery. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/backends/copy.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/backends/copy.cpp", "diff": "@@ -326,9 +326,15 @@ Future<bool> CopyBackendProcess::destroy(const string& rootfs)\n.then([](const Option<int>& s...
C++
Apache License 2.0
apache/mesos
Made copy backend destroy more robust. Do not return hard failure if `rm -rf` failed. It's also possible that it fails if some other processes are accessing the files there. The cleanup will be re-attempted during provisioner destroy and agent recovery. Review: https://reviews.apache.org/r/68597/
46,188
31.08.2018 22:29:52
25,200
f89dd15a119043832064ef9a5237a1ba173e7943
Added a missing failure message in overlay backend. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/backends/overlay.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/backends/overlay.cpp", "diff": "@@ -302,7 +302,9 @@ Future<bool> OverlayBackendProcess::destroy(\nif (realpath.isSome()) {\nTry<Nothing> rmd...
C++
Apache License 2.0
apache/mesos
Added a missing failure message in overlay backend. Review: https://reviews.apache.org/r/68598/
46,210
03.09.2018 00:31:31
-7,200
3f5f11dd2aee7013e3a54329ec06601cb1ec0d5b
Wrapped syscall initgroups by warning suppression pragma. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/posix/su.hpp", "new_path": "3rdparty/stout/include/stout/os/posix/su.hpp", "diff": "@@ -261,7 +261,14 @@ inline Try<Nothing> setgroups(\n// kernel cache, while the rest would still be performed\n// correctly by the kernel (askin...
C++
Apache License 2.0
apache/mesos
Wrapped syscall initgroups by warning suppression pragma. Review: https://reviews.apache.org/r/68604/
46,172
03.09.2018 12:11:35
-7,200
a8432c9092c78f1fc55a7d6efb17cf45f6181122
Fixed argument parsing in python 3 support script mesos-gtest-runner.py. Review:
[ { "change_type": "MODIFY", "old_path": "support/python3/mesos-gtest-runner.py", "new_path": "support/python3/mesos-gtest-runner.py", "diff": "@@ -36,10 +36,7 @@ import subprocess\nimport sys\n-DEFAULT_NUM_JOBS = int(multiprocessing.cpu_count() * 1.5)\n-\n-\n-class Bcolors(object):\n+class Bcolors:\n...
C++
Apache License 2.0
apache/mesos
Fixed argument parsing in python 3 support script mesos-gtest-runner.py. Review: https://reviews.apache.org/r/68483/
46,103
17.08.2018 12:00:43
-7,200
701e014a69b1f692f011e79169582c701ebf4f3c
Allowed tracking of resource providers w/o resource version in agent. This will be used in a later patch introducing explicit handling of resource provider subscription events in the agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -7579,6 +7579,13 @@ UpdateSlaveMessage Slave::generateResourceProviderUpdate() const\n}\nforeachvalue (ResourceProvider* resourceProvider, resourceProviders) {\n+ // If the resource provider ...
C++
Apache License 2.0
apache/mesos
Allowed tracking of resource providers w/o resource version in agent. This will be used in a later patch introducing explicit handling of resource provider subscription events in the agent. Review: https://reviews.apache.org/r/68407
46,103
13.08.2018 11:11:04
-7,200
f83b31867c86e35f38fd538993138768939291f0
Added actions and ACLs to authorize removal of resource providers. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/acls.proto", "new_path": "include/mesos/authorizer/acls.proto", "diff": "@@ -494,6 +494,16 @@ message ACL {\nrequired Entity users = 2;\n}\n+ // Which principals are authorized to mark resource providers as gone.\n+ message MarkResourc...
C++
Apache License 2.0
apache/mesos
Added actions and ACLs to authorize removal of resource providers. Review: https://reviews.apache.org/r/68146/
46,103
15.08.2018 09:37:12
-7,200
75bc091e123744003f2ef956be54ad7f562c4815
Made RP manager only send resource provider ID on state updates. With the introduction of the resource provider `SUBSCRIBE` event which contains the full `ResourceProviderInfo` of a subscribed resource provider, we can avoid sending the `ResourceProviderInfo` in `UPDATE_STATE` events and instead only send a `ResourcePr...
[ { "change_type": "MODIFY", "old_path": "src/resource_provider/manager.cpp", "new_path": "src/resource_provider/manager.cpp", "diff": "@@ -898,7 +898,7 @@ void ResourceProviderManagerProcess::updateState(\n<< resourceProvider->info.id();\nResourceProviderMessage::UpdateState updateState{\n- resourceP...
C++
Apache License 2.0
apache/mesos
Made RP manager only send resource provider ID on state updates. With the introduction of the resource provider `SUBSCRIBE` event which contains the full `ResourceProviderInfo` of a subscribed resource provider, we can avoid sending the `ResourceProviderInfo` in `UPDATE_STATE` events and instead only send a `ResourceP...
46,178
12.06.2018 16:46:12
14,400
6e5bdc6a9050978cc1c788ec550bd62db49891e0
Updated libjvm search logic for newer openjdk versions. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -1302,11 +1302,19 @@ __EOF__\n# Determine linker flags for Java if not set.\nif test \"$OS_NAME\" = \"darwin\"; then\ndir=\"$JAVA_HOME/jre/lib/server\"\n+ for dir in \"$JAVA_HOME/lib/server\" \"$JAVA_HOME/...
C++
Apache License 2.0
apache/mesos
Updated libjvm search logic for newer openjdk versions. Review: https://reviews.apache.org/r/68610
46,178
03.09.2018 09:52:45
14,400
4670aca10943ff8df83e667691e6611aeac9555b
Fixed maven invocation with proper JAVA_HOME. On some distros, JAVA_HOME environment variable is not set by default. However, on such systems, our configure script is able to successfully compute the value of JAVA_HOME based on PATH, etc. We use this computed JAVA_HOME to set the environment variable when invoking mave...
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1931,7 +1931,8 @@ if HAS_JAVA\n$(MESOS_JAR): $(MESOS_JAR_SOURCE) $(MESOS_JAR_GENERATED) java/mesos.pom\n@echo \"Building mesos-$(PACKAGE_VERSION).jar ...\"\n- @cd $(abs_top_builddir)/src/java && $(M...
C++
Apache License 2.0
apache/mesos
Fixed maven invocation with proper JAVA_HOME. On some distros, JAVA_HOME environment variable is not set by default. However, on such systems, our configure script is able to successfully compute the value of JAVA_HOME based on PATH, etc. We use this computed JAVA_HOME to set the environment variable when invoking mav...
46,178
03.09.2018 12:20:24
14,400
146d93b8931e583dbb1ec0c9aaf86825c09258d3
Consolidated Java header targets using makefile patterns. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2008,55 +2008,13 @@ nodist_libjava_la_SOURCES = \\\nBUILT_SOURCES += $(nodist_libjava_la_SOURCES)\n-java/jni/org_apache_mesos_MesosSchedulerDriver.h: $(MESOS_JAR)\n+# The automatic variable '$(*F)' ...
C++
Apache License 2.0
apache/mesos
Consolidated Java header targets using makefile patterns. Review: https://reviews.apache.org/r/68612
46,178
03.09.2018 12:57:46
14,400
06301a830aa57d99c350f5f241f85450baf74b29
Replaced javah with `javac -c` for newer JDKs. Starting with JDK 10, javah is not available. The substitute is to use `javac -h` for generating headers. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -1423,6 +1423,8 @@ has been correctly installed.\nfi\nAM_CONDITIONAL([HAS_JAVA], [test \"x$has_java\" = \"xyes\"])\n+AC_PATH_PROG([JAVAH], [javah], [$JAVAH], [$JAVA_HOME/bin])\n+AM_CONDITIONAL([HAS_JAVAH],...
C++
Apache License 2.0
apache/mesos
Replaced javah with `javac -c` for newer JDKs. Starting with JDK 10, javah is not available. The substitute is to use `javac -h` for generating headers. Review: https://reviews.apache.org/r/68613
46,178
03.09.2018 18:21:33
14,400
65a5ffaa8a1542989157c11c9f5a1ae9059a0fbf
Added to CHANGELOG for 1.7.0.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -188,6 +188,7 @@ All Resolved Issues:\n* [MESOS-8906] - `UriDiskProfileAdaptor` fails to update profile selectors.\n* [MESOS-8913] - Resource provider manager registry leaks file descriptors into executors.\n* [...
C++
Apache License 2.0
apache/mesos
Added MESOS-8921 to CHANGELOG for 1.7.0.
46,178
03.09.2018 18:21:43
14,400
7e4be4e1d2cd99e12e80e8c23a24effc744fd448
Added to CHANGELOG for 1.6.2.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -350,6 +350,7 @@ Release Notes - Mesos - Version 1.6.2 (WIP)\n** Bug\n* [MESOS-8418] - mesos-agent high cpu usage because of numerous /proc/mounts reads.\n* [MESOS-8917] - Agent leaking file descriptors into for...
C++
Apache License 2.0
apache/mesos
Added MESOS-8921 to CHANGELOG for 1.6.2.
46,178
03.09.2018 18:21:53
14,400
5b5a25f85fe4c25069d8f2e7369d015d79c56adf
Added to CHANGELOG for 1.5.2.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -756,6 +756,7 @@ Release Notes - Mesos - Version 1.5.2 (WIP)\n* [MESOS-8904] - Master crash when removing quota.\n* [MESOS-8906] - `UriDiskProfileAdaptor` fails to update profile selectors.\n* [MESOS-8917] - Age...
C++
Apache License 2.0
apache/mesos
Added MESOS-8921 to CHANGELOG for 1.5.2.
46,178
03.09.2018 18:22:08
14,400
b058779e4317a398b08eaa03b1b7eaafd0662fe6
Added to CHANGELOG for 1.4.3.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -1308,6 +1308,7 @@ Release Notes - Mesos - Version 1.4.3 (WIP)\n* This is a bug fix release.\n** Bug\n+ * [MESOS-8921] - Autotools don't work with newer OpenJDK versions\n* [MESOS-9144] - Master authentication h...
C++
Apache License 2.0
apache/mesos
Added MESOS-8921 to CHANGELOG for 1.4.3.
46,148
03.09.2018 21:03:18
25,200
74b4a091f4aea704689653444a9c6110df66c469
Avoided unnecessary copies in `Resources::parse()`. Avoided unnecessary copies by iterating using references and using move when possible. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "@@ -727,14 +727,14 @@ Try<Resources> Resources::parse(\nResources result;\n// Validate the Resource objects.\n- foreach (Resource resource, resources.get()) {\n+ foreach (Resource& res...
C++
Apache License 2.0
apache/mesos
Avoided unnecessary copies in `Resources::parse()`. Avoided unnecessary copies by iterating using references and using move when possible. Review: https://reviews.apache.org/r/68493/
46,128
04.09.2018 08:24:05
25,200
9231d7841b4ba5ff246027c1fbe20fb6f6f2abb6
Fixed flakiness in an operation reconciliation test. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/operation_reconciliation_tests.cpp", "new_path": "src/tests/operation_reconciliation_tests.cpp", "diff": "@@ -813,6 +813,8 @@ TEST_P(OperationReconciliationTest, AgentPendingOperationAfterMasterFailover)\nFuture<SlaveReregisteredMessage> slaveReregis...
C++
Apache License 2.0
apache/mesos
Fixed flakiness in an operation reconciliation test. Review: https://reviews.apache.org/r/68592/
46,091
04.09.2018 13:51:05
25,200
ac766c8bd0fba348399d8eac52f75f62e64db64e
Added --skip-verify flag to verify-reviews.py to skip verification. This flag allows devs to skip verification and just print or write to a file the review ids that need verification. Review:
[ { "change_type": "MODIFY", "old_path": "support/verify-reviews.py", "new_path": "support/verify-reviews.py", "diff": "@@ -63,6 +63,9 @@ def parse_parameters():\nparser.add_argument(\"-r\", \"--reviews\", type=int, required=False,\ndefault=-1, help=\"The number of reviews to fetch,\"\n\" that will ne...
C++
Apache License 2.0
apache/mesos
Added --skip-verify flag to verify-reviews.py to skip verification. This flag allows devs to skip verification and just print or write to a file the review ids that need verification. Review: https://reviews.apache.org/r/68497/
46,114
17.08.2018 14:46:34
25,200
269a9735031566ddda47ccb8398fd0609af3a826
Fixed encoding behavior of `http::internal::encode(Request)`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/http.cpp", "new_path": "3rdparty/libprocess/src/http.cpp", "diff": "@@ -988,7 +988,7 @@ Pipe::Reader encode(const Request& request)\nvector<string> query;\nforeachpair (const string& key, const string& value, request.url.query) {\n- que...
C++
Apache License 2.0
apache/mesos
Fixed encoding behavior of `http::internal::encode(Request)`. Review: https://reviews.apache.org/r/68375
46,178
04.09.2018 17:52:01
14,400
db198a272a888997e1a480fb46518dff66bc23f0
Fixed a typo in configure.ac.
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -1424,7 +1424,7 @@ fi\nAM_CONDITIONAL([HAS_JAVA], [test \"x$has_java\" = \"xyes\"])\nAC_PATH_PROG([JAVAH], [javah], [$JAVAH], [$JAVA_HOME/bin])\n-AM_CONDITIONAL([HAS_JAVAH], [test -n \"x$JAVAH\" != \"x\"])...
C++
Apache License 2.0
apache/mesos
Fixed a typo in configure.ac.
46,148
08.08.2018 13:33:11
25,200
8c05b727e5cb95c97fe41dfde05e6dc22e90ccc6
Generated a new bundle of Boost to include indirect_iterator. The upcoming resoure copy-on-write optimization needs <boost/iterator/indirect_iterator.hpp> to be included (https://reviews.apache.org/r/68490/). Also added upgrade instructions for Boost. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/README.md", "new_path": "3rdparty/README.md", "diff": "@@ -4,7 +4,7 @@ This directory contains bundled packages within the Mesos repository.\n## Bundled Packages\n- - boost\n+ - [boost](boost.md)\n- [concurrentqueue](concurrentqueue.md)\n- csi\n- elfi...
C++
Apache License 2.0
apache/mesos
Generated a new bundle of Boost to include indirect_iterator. The upcoming resoure copy-on-write optimization needs <boost/iterator/indirect_iterator.hpp> to be included (https://reviews.apache.org/r/68490/). Also added upgrade instructions for Boost. Review: https://reviews.apache.org/r/68489
46,165
03.09.2018 22:17:47
25,200
38b59cec824ca7ac04e77f4ce00e7740216d69c9
Eliminated a copy of outgoing offers in the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -9395,16 +9395,16 @@ void Master::offer(\noffer_.mutable_resources(), PRE_RESERVATION_REFINEMENT);\n}\n- // Add the offer *AND* the corresponding slave's PID.\n- message.add_offers()->Mer...
C++
Apache License 2.0
apache/mesos
Eliminated a copy of outgoing offers in the master. Review: https://reviews.apache.org/r/68618
46,177
23.07.2018 12:25:26
25,200
1ec85225db1b125eb513726e9adff10a2ac4291e
Added flag to control GC-ing of nested container sandboxes. This adds an agent flag which enables garbage collection of finished nested container sandboxes. This also updates some documentation and recommends enabling this flag when the user uses the same default executor to launch multiple tasks. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -931,6 +931,19 @@ be a value between 0.0 and 1.0 (default: 0.1)\n</td>\n</tr>\n+<tr id=\"gc_non_executor_container_sandboxes\">\n+ <td>\n+ --[no-]gc_non_executor_container_san...
C++
Apache License 2.0
apache/mesos
Added flag to control GC-ing of nested container sandboxes. This adds an agent flag which enables garbage collection of finished nested container sandboxes. This also updates some documentation and recommends enabling this flag when the user uses the same default executor to launch multiple tasks. Review: https://re...
46,177
27.07.2018 11:55:35
25,200
90a52c5afcb360c9a30888eb3f64d39b48b8f5a9
Modified MesosContainerizer to GC nested container sandboxes. When the --gc_non_executor_container_sandboxes agent flag is enabled, this commit changes the MesosContainerizer to schedule nested container sandboxes for garbage collection. The GC policy is the same between the MesosContainerizer and the Agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "#include <process/owned.hpp>\n#include <process/reap.hpp>\n#include <process/subprocess.hpp>\n+#include <process/time.hpp>\n#include <proc...
C++
Apache License 2.0
apache/mesos
Modified MesosContainerizer to GC nested container sandboxes. When the --gc_non_executor_container_sandboxes agent flag is enabled, this commit changes the MesosContainerizer to schedule nested container sandboxes for garbage collection. The GC policy is the same between the MesosContainerizer and the Agent. Review:...
46,103
05.09.2018 10:50:05
-7,200
4539c2b18bb17711b62aafcaddb6aa42f267bcfd
Brought site dependencies up to date. This commit bumps versions of indirect site dependencies to their latest version without bumping any pinned direct dependencies. Review:
[ { "change_type": "MODIFY", "old_path": "site/Gemfile.lock", "new_path": "site/Gemfile.lock", "diff": "@@ -34,9 +34,9 @@ GEM\neventmachine (>= 0.12.9)\nhttp_parser.rb (~> 0.6.0)\nerubis (2.7.0)\n- eventmachine (1.2.5)\n+ eventmachine (1.2.7)\nexecjs (2.7.0)\n- ffi (1.9.23)\n+ ffi (1.9.25)\nhaml (5.0....
C++
Apache License 2.0
apache/mesos
Brought site dependencies up to date. This commit bumps versions of indirect site dependencies to their latest version without bumping any pinned direct dependencies. Review: https://reviews.apache.org/r/68627
46,114
05.09.2018 09:45:28
25,200
77f052996c9ae846d5793ef8c7c89fbb70c8372a
Added 'MesosCon 2018 CFP is now closed!' blog post. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "site/source/blog/2018-09-05-mesoscon-2018-cfp-is-now-closed.md", "diff": "+---\n+layout: post\n+title: MesosCon 2018 CFP is now closed!\n+permalink: /blog/mesoscon-2018-cfp-is-now-closed/\n+published: true\n+post_author:\n+ display_name: Andrew ...
C++
Apache License 2.0
apache/mesos
Added 'MesosCon 2018 CFP is now closed!' blog post. Review: https://reviews.apache.org/r/68625/
46,129
01.09.2018 00:13:43
25,200
2c29298f8cf4c96c68ed115acd5a8f335700d735
Added an unit test for rootfs cleanup EBUSY fix. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "new_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "diff": "@@ -66,12 +66,17 @@ using process::Promise;\nusing master::Master;\nusing mesos::internal::slave::AUFS_BACKEND;\n+using mesos::i...
C++
Apache License 2.0
apache/mesos
Added an unit test for rootfs cleanup EBUSY fix. Review: https://reviews.apache.org/r/68599
46,055
23.08.2018 17:44:53
-28,800
ba370822c94c8e9881eff3f63a02b38e18335ae4
Made command check always waits before removing the nested container. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker_process.cpp", "new_path": "src/checks/checker_process.cpp", "diff": "@@ -795,7 +795,19 @@ void CheckerProcess::___nestedCommandCheck(\n<< launchResponse.body << \") while launching \" << name\n<< \" for task '\" << taskId << \"'\";\n+ // We'...
C++
Apache License 2.0
apache/mesos
Made command check always waits before removing the nested container. Review: https://reviews.apache.org/r/68495
46,165
05.09.2018 14:49:40
25,200
804b4a59b17a0749f80cb2010630d7907a148683
Avoided double-lookup in Master::getFramework. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -11476,9 +11476,7 @@ bool Master::isCompletedFramework(const FrameworkID& frameworkId)\n// TODO(bmahler): Consider killing this.\nFramework* Master::getFramework(const FrameworkID& framew...
C++
Apache License 2.0
apache/mesos
Avoided double-lookup in Master::getFramework. Review: https://reviews.apache.org/r/68634
46,165
05.09.2018 14:50:53
25,200
7e7ef60d265382e64dab3f93e8d5f101ab223f21
Avoided triple-lookup of the framework in Master::offer. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -9228,8 +9228,9 @@ void Master::offer(\nconst FrameworkID& frameworkId,\nconst hashmap<string, hashmap<SlaveID, Resources>>& resources)\n{\n- if (!frameworks.registered.contains(framework...
C++
Apache License 2.0
apache/mesos
Avoided triple-lookup of the framework in Master::offer. Review: https://reviews.apache.org/r/68635
46,165
05.09.2018 14:51:39
25,200
82dbbc9d90079fd5134a28377e21669b2f41980e
Reserved vector capacities within Master::offer. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -9245,13 +9245,20 @@ void Master::offer(\nreturn;\n}\n+ size_t offersEstimate = 0u;\n+ foreachvalue (const auto& agents, resources) {\n+ offersEstimate += agents.size();\n+ }\n// Each off...
C++
Apache License 2.0
apache/mesos
Reserved vector capacities within Master::offer. Review: https://reviews.apache.org/r/68636
46,053
06.09.2018 13:41:06
-7,200
52be35f47caea2712a0b13d7f963f7236533a2f1
Fixed `LaunchNestedContainerSessionsInParallel` test. Previously, we sent `ATTACH_CONTAINER_OUTPUT` to attach to a short-living nested container. An attempt to attach to a terminated nested container leads to HTTP 500 error. This patch gets rid of `ATTACH_CONTAINER_OUTPUT` in favor of `LAUNCH_NESTED_CONTAINER_SESSION` ...
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -6524,11 +6524,9 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\n// command executor. Each nested container prints a short message to the stdout\n// and then terminates. This test verifies that ...
C++
Apache License 2.0
apache/mesos
Fixed `LaunchNestedContainerSessionsInParallel` test. Previously, we sent `ATTACH_CONTAINER_OUTPUT` to attach to a short-living nested container. An attempt to attach to a terminated nested container leads to HTTP 500 error. This patch gets rid of `ATTACH_CONTAINER_OUTPUT` in favor of `LAUNCH_NESTED_CONTAINER_SESSION`...
46,057
06.09.2018 14:07:56
-7,200
dda549be430921e4e1c4ae670b47f455b215a20c
Restructured /roles code. Rework the structure of the role handling in both v0 and v1 APIs in preparation for the subsequent commit. As a nice side bonus on top, this also saves one trip through the master queue for every call of this endpoint. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -2631,13 +2631,9 @@ string Master::Http::ROLES_HELP()\n}\n-Future<vector<string>> Master::Http::_roles(\n- const Option<Principal>& principal) const\n+vector<string> Master::Http::_filterRole...
C++
Apache License 2.0
apache/mesos
Restructured /roles code. Rework the structure of the role handling in both v0 and v1 APIs in preparation for the subsequent commit. As a nice side bonus on top, this also saves one trip through the master queue for every call of this endpoint. Review: https://reviews.apache.org/r/68567/
46,057
06.09.2018 14:08:29
-7,200
0c5f300aa9cbe6043498d586c1150ba7483b08f1
Added '/roles' to the set of batched master endpoints. For improved consistency, the '/roles' endpoint on the master is now marked as read-only and uses the batching mechanism shared by the other read-only endpoints. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -2565,49 +2565,6 @@ Future<Response> Master::Http::stateSummary(\n}\n-// Returns a JSON object modeled after a role.\n-JSON::Object model(\n- const string& name,\n- Option<double> weight,\n- ...
C++
Apache License 2.0
apache/mesos
Added '/roles' to the set of batched master endpoints. For improved consistency, the '/roles' endpoint on the master is now marked as read-only and uses the batching mechanism shared by the other read-only endpoints. Review: https://reviews.apache.org/r/68568/
46,165
05.09.2018 14:52:45
25,200
866cc56cea88b091068e98447fa50a6483283469
Avoided extra copying of Resources in Master::offer. In order to remove ephemeral ports resources, we now perform an efficient swap to last + remove last operation. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -9415,11 +9415,14 @@ void Master::offer(\n// offers so that frameworks do not see this resource. This is a\n// short term workaround. Revisit this once we resolve MESOS-1654.\nOffer offer...
C++
Apache License 2.0
apache/mesos
Avoided extra copying of Resources in Master::offer. In order to remove ephemeral ports resources, we now perform an efficient swap to last + remove last operation. Review: https://reviews.apache.org/r/68637
46,055
10.09.2018 18:19:41
25,200
2ac152ac2ddd28712daee43cb7535227b5a6b1e5
Fixed `--enable-new-cli` quoting.
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -301,7 +301,7 @@ AC_ARG_ENABLE([lock_free_run_queue],\nAC_ARG_ENABLE([new_cli],\nAS_HELP_STRING([--enable-new-cli],\n[enable building the new CLI instead of the old one]),\n- [], [enable_new_cli=no]]))\n+ ...
C++
Apache License 2.0
apache/mesos
Fixed `--enable-new-cli` quoting.
46,212
11.09.2018 13:31:38
-7,200
cbdb6a5e1c0bb2e61dd0887cfae424ac2422b94d
Added Python 3.6 and pip to Docker images. Following the update of the CLI to Python 3, we embed Python 3.6 (the minimum required Python version) into the Docker images used during continuous integration. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-build/centos-7.dockerfile", "new_path": "support/mesos-build/centos-7.dockerfile", "diff": "@@ -48,6 +48,26 @@ RUN yum groupinstall -y 'Development Tools' && \\\nyum clean all && \\\nrm -rf /var/cache/yum\n+# Install Python 3.6 and pip.\n+# We ne...
C++
Apache License 2.0
apache/mesos
Added Python 3.6 and pip to Docker images. Following the update of the CLI to Python 3, we embed Python 3.6 (the minimum required Python version) into the Docker images used during continuous integration. Review: https://reviews.apache.org/r/68538/
46,172
11.09.2018 17:24:37
-7,200
3d210b4a04f392fba818db722ece9a2583061054
Added Robin Goegge to contributors list. Review:
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: quinn.leng.666@gmail.com\nreviewboard_user: quinn.leng\n+- name: Robin Goegge\n+ affiliations:\n+ - {organization: Mesosphere}\n+ emails:\n+ - r.goegge@outlook.com\n+ - rgoegge@...
C++
Apache License 2.0
apache/mesos
Added Robin Goegge to contributors list. Review: https://reviews.apache.org/r/68686/
46,056
12.09.2018 12:19:12
-7,200
af82f887db535c44b559e0d19cbddfb2dbd6134a
Fixed a typo in "maintenance.md".
[ { "change_type": "MODIFY", "old_path": "docs/maintenance.md", "new_path": "docs/maintenance.md", "diff": "@@ -264,7 +264,7 @@ failed and the operator intends to remove it from the cluster; starting\nmaintenance on the machine prevents the machine from being accidentally rebooted\nand rejoining the M...
C++
Apache License 2.0
apache/mesos
Fixed a typo in "maintenance.md".
46,056
12.09.2018 17:45:11
-7,200
92d8406360ab23f6ea2ce2bc18e0309ffbc1324c
Groomed comments around maintenance.
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -3190,6 +3190,8 @@ Future<Response> Master::Http::_updateMaintenanceSchedule(\nreturn BadRequest(isValid.error());\n}\n+ // TODO(alexr): Consider pulling this higher above before we even star...
C++
Apache License 2.0
apache/mesos
Groomed comments around maintenance.
46,212
13.09.2018 11:52:56
-7,200
91ca8e2b2071f7e4b89702ae7c807b074bdef31b
Updated support/docker-build.sh to install Python 3.6. Review:
[ { "change_type": "MODIFY", "old_path": "support/docker-build.sh", "new_path": "support/docker-build.sh", "diff": "@@ -46,6 +46,15 @@ case $OS in\nappend_dockerfile \"RUN yum install -y clang git maven\"\nappend_dockerfile \"RUN yum install -y java-1.8.0-openjdk-devel python-devel python-six zlib-dev...
C++
Apache License 2.0
apache/mesos
Updated support/docker-build.sh to install Python 3.6. Review: https://reviews.apache.org/r/68700/
46,172
14.09.2018 09:43:40
-7,200
7d8107687b4c1a4f514368fc17f9966283c4a4b1
Fixed jenkins/reviewbot.sh to work with updated verify-reviews.py. Review:
[ { "change_type": "MODIFY", "old_path": "support/jenkins/reviewbot.sh", "new_path": "support/jenkins/reviewbot.sh", "diff": "@@ -34,4 +34,4 @@ export ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'\n# the review chain.\n\"${MESOS_DIR}\"/support/jenkins/buildbot.sh\n-\"${MESOS_DIR}\"/support/verify-reviews.py ...
C++
Apache License 2.0
apache/mesos
Fixed jenkins/reviewbot.sh to work with updated verify-reviews.py. Review: https://reviews.apache.org/r/68714/
46,148
21.08.2018 11:46:22
14,400
743ad259a002587ca5f42d7c3b946fad4775f30b
Added pause and resume helpers to the allocator. Currently these helpers are only used in the allocator tests to prevent event-driven allocations that triggered when adding frameworks and agents. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/allocator/allocator.hpp", "new_path": "include/mesos/allocator/allocator.hpp", "diff": "@@ -439,6 +439,16 @@ public:\n*/\nvirtual void updateWeights(\nconst std::vector<WeightInfo>& weightInfos) = 0;\n+\n+ /**\n+ * Idempotent helper to pause allo...
C++
Apache License 2.0
apache/mesos
Added pause and resume helpers to the allocator. Currently these helpers are only used in the allocator tests to prevent event-driven allocations that triggered when adding frameworks and agents. Review: https://reviews.apache.org/r/68549
46,178
31.08.2018 18:07:14
14,400
28abc476380efb81382560ef39169d7fffec5402
Introduced a base class for writing allocator benchmarks. The test harness encapsulates the common logic in the allocator benchmarks such has adding frameworks and agents. One only needs to customize the various options in the `Benchmarkconfig` to set up the test cluster. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2493,6 +2493,7 @@ mesos_tests_SOURCES = \\\ntests/gc_tests.cpp \\\ntests/hdfs_tests.cpp \\\ntests/health_check_tests.cpp \\\n+ tests/hierarchical_allocator_benchmarks.cpp \\\ntests/hierarchical_allo...
C++
Apache License 2.0
apache/mesos
Introduced a base class for writing allocator benchmarks. The test harness encapsulates the common logic in the allocator benchmarks such has adding frameworks and agents. One only needs to customize the various options in the `Benchmarkconfig` to set up the test cluster. Review: https://reviews.apache.org/r/68548
46,178
31.08.2018 18:09:45
14,400
d351bed856e50ba0f800d3be79dd2df9e4b76271
Added allocator benchmark for non-homogeneous framework profiles. This benchmark launches frameworks with different profiles (number of tasks, task sizes and etc.) and prints out statistics such as total tasks launched, cluster utilization and allocation latency. The test has a timeout of 30 seconds Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_benchmarks.cpp", "new_path": "src/tests/hierarchical_allocator_benchmarks.cpp", "diff": "@@ -309,6 +309,174 @@ private:\nhashmap<FrameworkID, shared_ptr<FrameworkProfile>> frameworkProfiles;\n};\n+\n+// This benchmark launches ...
C++
Apache License 2.0
apache/mesos
Added allocator benchmark for non-homogeneous framework profiles. This benchmark launches frameworks with different profiles (number of tasks, task sizes and etc.) and prints out statistics such as total tasks launched, cluster utilization and allocation latency. The test has a timeout of 30 seconds Review: https://r...
46,165
11.09.2018 17:53:38
25,200
787f6c64c06be685c2e073467c440cb5c5fc0d89
Reduced protobuf copying in evolve helpers. This uses move assignment rather than CopyFrom, where applicable. Review:
[ { "change_type": "MODIFY", "old_path": "src/internal/evolve.cpp", "new_path": "src/internal/evolve.cpp", "diff": "@@ -296,8 +296,8 @@ v1::scheduler::Event evolve(const ExitedExecutorMessage& message)\nevent.set_type(v1::scheduler::Event::FAILURE);\nv1::scheduler::Event::Failure* failure = event.muta...
C++
Apache License 2.0
apache/mesos
Reduced protobuf copying in evolve helpers. This uses move assignment rather than CopyFrom, where applicable. Review: https://reviews.apache.org/r/68695
46,165
11.09.2018 17:55:09
25,200
97fb46d32153df056bc903c1f320cf113618943d
Eliminating an unnecessary copy when devolving a scheduler call. Review:
[ { "change_type": "MODIFY", "old_path": "src/internal/devolve.cpp", "new_path": "src/internal/devolve.cpp", "diff": "@@ -216,8 +216,8 @@ scheduler::Call devolve(const v1::scheduler::Call& call)\nif (call.type() == v1::scheduler::Call::ACKNOWLEDGE_OPERATION_STATUS &&\ncall.has_acknowledge_operation_st...
C++
Apache License 2.0
apache/mesos
Eliminating an unnecessary copy when devolving a scheduler call. Review: https://reviews.apache.org/r/68696
46,114
15.09.2018 12:29:48
-7,200
43eba285cb5c8622a6be8a5bdad637ed53431e85
Fixed `verify-reviews.py` script to make `-o` optional. The semantics changed when the ReviewBot scripts were upstreamed; this makes the `out_file` parameter optional, writing to stdout if not set. Review:
[ { "change_type": "MODIFY", "old_path": "support/verify-reviews.py", "new_path": "support/verify-reviews.py", "diff": "@@ -77,13 +77,7 @@ def parse_parameters():\n\" format. Example: '%s'\" % json.dumps(\ndefault_query),\ndefault=json.dumps(default_query))\n-\n- subparsers = parser.add_subparsers(tit...
C++
Apache License 2.0
apache/mesos
Fixed `verify-reviews.py` script to make `-o` optional. The semantics changed when the ReviewBot scripts were upstreamed; this makes the `out_file` parameter optional, writing to stdout if not set. Review: https://reviews.apache.org/r/68723/
46,165
14.09.2018 18:34:05
25,200
34bc7d6ae18f8221361e77e2f557e2a5e07380b8
Avoid an unnecessary copy of evolved repeated fields. The repeated field evolve overload unnecessarily copies the input repeated field.
[ { "change_type": "MODIFY", "old_path": "src/internal/evolve.hpp", "new_path": "src/internal/evolve.hpp", "diff": "@@ -102,7 +102,7 @@ v1::resource_provider::Event evolve(const resource_provider::Event& event);\n// Helper for repeated field evolving to 'T1' from 'T2'.\ntemplate <typename T1, typename...
C++
Apache License 2.0
apache/mesos
Avoid an unnecessary copy of evolved repeated fields. The repeated field evolve overload unnecessarily copies the input repeated field.
46,165
15.09.2018 13:29:48
25,200
4805a47c689a6aa8bdc184e64517f77d210f5611
Reserved capacity when evolving repeated fields.
[ { "change_type": "MODIFY", "old_path": "src/internal/evolve.hpp", "new_path": "src/internal/evolve.hpp", "diff": "@@ -105,6 +105,7 @@ google::protobuf::RepeatedPtrField<T1> evolve(\nconst google::protobuf::RepeatedPtrField<T2>& t2s)\n{\ngoogle::protobuf::RepeatedPtrField<T1> t1s;\n+ t1s.Reserve(t2s....
C++
Apache License 2.0
apache/mesos
Reserved capacity when evolving repeated fields.
46,053
18.09.2018 19:10:01
-7,200
e941d206f651bde861675a6517a89e44d1f61a34
Added `AgentAPITest.LaunchNestedContainerSessionKillTask` test. This test verifies that IOSwitchboard, which holds an open HTTP input connection, terminates once IO redirects finish for the corresponding nested container. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -6646,6 +6646,254 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\n}\n+// This test verifies that IOSwitchboard, which holds an open HTTP input\n+// connection, terminates once IO redirects finis...
C++
Apache License 2.0
apache/mesos
Added `AgentAPITest.LaunchNestedContainerSessionKillTask` test. This test verifies that IOSwitchboard, which holds an open HTTP input connection, terminates once IO redirects finish for the corresponding nested container. Review: https://reviews.apache.org/r/68230/
46,053
18.09.2018 19:10:07
-7,200
7ad390b3aa261f4a39ff7f2c0842f2aae39005f4
Added `AgentAPITest.AttachContainerInputRepeat` test. This test verifies that we can call `ATTACH_CONTAINER_INPUT` more than once. We send a short message first then we send a long message in chunks. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -6894,6 +6894,224 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\n}\n+// This test verifies that we can call `ATTACH_CONTAINER_INPUT` more than once.\n+// We send a short message first, then we ...
C++
Apache License 2.0
apache/mesos
Added `AgentAPITest.AttachContainerInputRepeat` test. This test verifies that we can call `ATTACH_CONTAINER_INPUT` more than once. We send a short message first then we send a long message in chunks. Review: https://reviews.apache.org/r/68231/
46,056
18.09.2018 21:08:32
-7,200
d4684872300ed228a981bdefbdbfbefa3d52eb30
Added defer to dispatch lambdas onto PID.
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "new_path": "src/slave/containerizer/mesos/io/switchboard.cpp", "diff": "@@ -1622,7 +1622,9 @@ IOSwitchboardServerProcess::acknowledgeContainerInputResponse()\n// might get `HTTP 500` \"broken pipe\" while att...
C++
Apache License 2.0
apache/mesos
Added defer to dispatch lambdas onto PID.
46,057
18.09.2018 21:34:26
-7,200
e4e6dded74eee02cc26463fc3b773385d07d6fbe
Added patch for PicoJSON. This commit adds a backport of an upstream patch provided by kazuho that introduces a maximum nesting level for JSON objects. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -424,9 +424,12 @@ target_compile_definitions(\npicojson INTERFACE\n__STDC_FORMAT_MACROS)\n+PATCH_CMD(PICOJSON_PATCH_CMD picojson-${PICOJSON_VERSION}.patch)\n+\nExternalProject_Add(\n$...
C++
Apache License 2.0
apache/mesos
Added patch for PicoJSON. This commit adds a backport of an upstream patch provided by kazuho that introduces a maximum nesting level for JSON objects. Review: https://reviews.apache.org/r/68718/
46,057
18.09.2018 21:34:33
-7,200
bc90afc2a0bf9603a1fc9f1012f85a3f1cdcb518
Added new member function to stout PicoJSON context. This commit adds the new `parse_object_stop()` callback, which was added in the previous patch, to stout's internal PicoJSON context. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/json.hpp", "new_path": "3rdparty/stout/include/stout/json.hpp", "diff": "@@ -889,13 +889,18 @@ inline std::ostream& operator<<(std::ostream& stream, const Null& null)\nnamespace internal {\n+// \"Depth\" is counted downwards to sta...
C++
Apache License 2.0
apache/mesos
Added new member function to stout PicoJSON context. This commit adds the new `parse_object_stop()` callback, which was added in the previous patch, to stout's internal PicoJSON context. Review: https://reviews.apache.org/r/68720/
46,139
19.09.2018 12:20:41
25,200
fa45a88b4881c7de2cef62fbcd022d22b9101b8b
Updated the website for the 1.7.0 release.
[ { "change_type": "MODIFY", "old_path": "docs/building.md", "new_path": "docs/building.md", "diff": "@@ -11,8 +11,8 @@ There are different ways you can get Mesos:\n1\\. Download the latest stable release from [Apache](http://mesos.apache.org/downloads/) (***Recommended***)\n- $ wget http://www.apache...
C++
Apache License 2.0
apache/mesos
Updated the website for the 1.7.0 release.
46,148
20.09.2018 13:12:32
25,200
edec94a60d7816c4e0da0e142e682ad75ced39e4
Added more logging to `DynamicReservationFramework`. This would help to investigate Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/dynamic_reservation_framework.cpp", "new_path": "src/examples/dynamic_reservation_framework.cpp", "diff": "@@ -96,8 +96,8 @@ public:\nconst vector<Offer>& offers) override\n{\nforeach (const Offer& offer, offers) {\n- LOG(INFO) << \"Received offer...
C++
Apache License 2.0
apache/mesos
Added more logging to `DynamicReservationFramework`. This would help to investigate MESOS-5804. Review: https://reviews.apache.org/r/68773/
46,165
16.09.2018 13:05:43
25,200
f208082964470c4c435f4d3bf280c7d59e73445c
Simplified the weight lookup logic in the sorters. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.cpp", "new_path": "src/master/allocator/sorter/drf/sorter.cpp", "diff": "@@ -615,19 +615,17 @@ double DRFSorter::calculateShare(const Node* node) const\n}\n}\n- return share / findWeight(node);\n+ return share / getWeight...
C++
Apache License 2.0
apache/mesos
Simplified the weight lookup logic in the sorters. Review: https://reviews.apache.org/r/68729
46,165
16.09.2018 16:36:10
25,200
8df68cc543911b634da6064fa76da270c72f6eb1
Reserve sort output vector in the sorters. This reserves the sort output vector consistently based on the number of clients, in both the DRF and random sorters. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.cpp", "new_path": "src/master/allocator/sorter/drf/sorter.cpp", "diff": "@@ -551,6 +551,10 @@ vector<string> DRFSorter::sort()\n// inactive leaves sorted after active leaves and internal nodes.\nvector<string> result;\n+ ...
C++
Apache License 2.0
apache/mesos
Reserve sort output vector in the sorters. This reserves the sort output vector consistently based on the number of clients, in both the DRF and random sorters. Review: https://reviews.apache.org/r/68730
46,148
20.09.2018 14:54:32
25,200
da69a034cf2a257ff2ef39f17396f3dc7810a7b1
Made authentication tests independent of wall clock time. This patch pauses and manipulates the clock for all authentication tests. This makes the test less flaky-prone and speeds up the test run time. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/authentication_tests.cpp", "new_path": "src/tests/authentication_tests.cpp", "diff": "#include \"master/detector/standalone.hpp\"\n-#include \"sched/constants.hpp\"\n-\n#include \"tests/mesos.hpp\"\n#include \"tests/utils.hpp\"\n@@ -59,6 +57,8 @@ cla...
C++
Apache License 2.0
apache/mesos
Made authentication tests independent of wall clock time. This patch pauses and manipulates the clock for all authentication tests. This makes the test less flaky-prone and speeds up the test run time. Review: https://reviews.apache.org/r/68414/