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,055
10.04.2019 14:14:23
-28,800
b4531d868ffaad9da4b5d96970fbb8441952f620
Added an parameter `outputFileName` to the fetcher plugin interface. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/uri/fetcher.hpp", "new_path": "include/mesos/uri/fetcher.hpp", "diff": "@@ -72,13 +72,15 @@ public:\n* @param uri the URI to fetch\n* @param directory the directory the URI will be downloaded to\n* @param data the optional user defined data\n+ * ...
C++
Apache License 2.0
apache/mesos
Added an parameter `outputFileName` to the fetcher plugin interface. Review: https://reviews.apache.org/r/70444
46,055
10.04.2019 14:20:33
-28,800
c8542db7e9ca149bee5a2c152a838069d6da3022
Allowed caller to specify output file name for curl fetcher plugin. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetchers/curl.cpp", "new_path": "src/uri/fetchers/curl.cpp", "diff": "@@ -106,9 +106,13 @@ Future<Nothing> CurlFetcherPlugin::fetch(\ndirectory + \"': \" + mkdir.error());\n}\n- // TODO(jieyu): Allow user to specify the name of the output file.\n- cons...
C++
Apache License 2.0
apache/mesos
Allowed caller to specify output file name for curl fetcher plugin. Review: https://reviews.apache.org/r/70445
46,055
10.04.2019 14:46:22
-28,800
adb9b809898bf612a78c1ea0ba0b9230c3c4a992
Added a test `CurlFetcherPluginTest.CURL_ValidUriWithOutputFileName`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/uri_fetcher_tests.cpp", "new_path": "src/tests/uri_fetcher_tests.cpp", "diff": "@@ -115,6 +115,25 @@ TEST_F(CurlFetcherPluginTest, CURL_ValidUri)\n}\n+TEST_F(CurlFetcherPluginTest, CURL_ValidUriWithOutputFileName)\n+{\n+ URI uri = uri::http(\n+ strin...
C++
Apache License 2.0
apache/mesos
Added a test `CurlFetcherPluginTest.CURL_ValidUriWithOutputFileName`. Review: https://reviews.apache.org/r/70446
46,129
12.04.2019 17:13:58
-28,800
1a4516a6beb141e9080977bb8cf235095aedb7cd
Fixed the URI fetcher image fetch test failure on windows. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/uri_fetcher_tests.cpp", "new_path": "src/tests/uri_fetcher_tests.cpp", "diff": "@@ -375,7 +375,8 @@ TEST_F(DockerFetcherPluginTest, INTERNET_CURL_FetchImage)\nEXPECT_EQ(\"application/vnd.docker.distribution.manifest.v2+json\",\nmanifest->mediatype())...
C++
Apache License 2.0
apache/mesos
Fixed the URI fetcher image fetch test failure on windows. Review: https://reviews.apache.org/r/70398/
46,149
12.04.2019 13:45:13
-7,200
3f0daaab3d3d716944c956d2a383f116a49846a8
Fixed detection of ELFIO header in Stout. Build fails to detect system provided ELFIO headers when using `configure --with-elfio` flag. Basically this is the same fix as the patch provided here: This closes
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/configure.ac", "new_path": "3rdparty/stout/configure.ac", "diff": "@@ -338,7 +338,7 @@ if test \"x$without_bundled_elfio\" = \"xyes\" || \\\nCPPFLAGS=\"-I${with_elfio} $CPPFLAGS\"\nfi\n- AC_CHECK_HEADERS([elfio/elfio.h], [],\n+ AC_CHECK_HEADERS(...
C++
Apache License 2.0
apache/mesos
Fixed detection of ELFIO header in Stout. Build fails to detect system provided ELFIO headers when using `configure --with-elfio` flag. Basically this is the same fix as the patch provided here: https://issues.apache.org/jira/browse/MESOS-6605 This closes #332
46,149
12.04.2019 13:45:41
-7,200
638ce96d1bac8483396d0e88fcebe8be6c5a10ff
Fixed detection of ELFIO header in libprocess. Build fails to detect system provided ELFIO headers when using `configure --with-elfio` flag. Basically this is the same fix as the patch provided here: This closes
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/configure.ac", "new_path": "3rdparty/libprocess/configure.ac", "diff": "@@ -599,7 +599,7 @@ if test \"x$without_bundled_elfio\" = \"xyes\" || \\\nCPPFLAGS=\"-I${with_elfio} $CPPFLAGS\"\nfi\n- AC_CHECK_HEADERS([elfio/elfio.h], [],\n+ AC_CHEC...
C++
Apache License 2.0
apache/mesos
Fixed detection of ELFIO header in libprocess. Build fails to detect system provided ELFIO headers when using `configure --with-elfio` flag. Basically this is the same fix as the patch provided here: https://issues.apache.org/jira/browse/MESOS-6605 This closes #332
46,149
12.04.2019 13:46:05
-7,200
b52e1e003fa37f9b8eb9f774a15186c0a1c33f5b
Fixed detection of ELFIO header. Build fails to detect system provided ELFIO headers when using `configure --with-elfio` flag. Basically this is the same fix as the patch provided here: This closes
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -1027,7 +1027,7 @@ if test \"x$without_bundled_elfio\" = \"xyes\" || \\\nCPPFLAGS=\"-I${with_elfio} $CPPFLAGS\"\nfi\n- AC_CHECK_HEADERS([elfio/elfio.h], [],\n+ AC_CHECK_HEADERS([elfio/elfio.hpp], [],\n[AC_...
C++
Apache License 2.0
apache/mesos
Fixed detection of ELFIO header. Build fails to detect system provided ELFIO headers when using `configure --with-elfio` flag. Basically this is the same fix as the patch provided here: https://issues.apache.org/jira/browse/MESOS-6605 This closes #332
46,172
12.04.2019 16:27:34
-7,200
72877bb46d70febe0e2cbf0d59bba8f73010edac
Updated CHANGELOG with new CLI highlights.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -13,6 +13,13 @@ This release contains the following highlights:\nthe scheduler re-subscribes each time it wants to mutate the\nminimum resource quantity offer filter information, see MESOS-7258.\n+ * The new Mes...
C++
Apache License 2.0
apache/mesos
Updated CHANGELOG with new CLI highlights.
46,128
12.04.2019 10:40:57
25,200
b48bd33d8cea10c307216e9ed6d5fcb4f0543b3b
Updated the 1.8.0 CHANGELOG with an API change.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -20,6 +20,16 @@ This release contains the following highlights:\nuse the flag `--enable-new-cli` with Autotools and\n`-DENABLE_NEW_CLI=1` with CMake on MacOS or Linux.\n+ * API Changes:\n+\n+ * The experimental ...
C++
Apache License 2.0
apache/mesos
Updated the 1.8.0 CHANGELOG with an API change.
46,128
12.04.2019 10:48:36
25,200
728a176b3c6155d6d77b9feed87c698f49b39502
Updated the 1.8.0 CHANGELOG with a new feature.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -22,6 +22,12 @@ This release contains the following highlights:\n* API Changes:\n+ * V1 schedulers can now receive operation feedback for operations on agent\n+ default resources, i.e. normal cpu, memory, and di...
C++
Apache License 2.0
apache/mesos
Updated the 1.8.0 CHANGELOG with a new feature.
46,129
13.04.2019 01:11:33
-7,200
154ce205ab4afe514997f886865f299d68cc6487
Added Containerization highlights to the CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -36,6 +36,28 @@ This release contains the following highlights:\nreconciliation request. This is similar to the way in which the master\nreplies to requests for task status reconciliation.\n+ * Containerization:...
C++
Apache License 2.0
apache/mesos
Added Containerization highlights to the CHANGELOG.
46,107
25.12.2018 16:41:34
-28,800
7614931655256a1d57d8498b6400b4936dfd332d
Fixed wrong example of --resources=filepath agent configuration.
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -1361,8 +1361,8 @@ As a key:value list:\n<p/>\nTo use JSON, pass a JSON-formatted string or use\n<code>--resources=filepath</code> to specify the resources via a file containi...
C++
Apache License 2.0
apache/mesos
Fixed wrong example of --resources=filepath agent configuration. Change-Id: I10ac0b5ec20319c1590a63506fbd92f5e82e9dee
46,055
15.04.2019 16:13:11
-28,800
7ebeea624bb9159b60156e2a29b48494bf3e53df
Added and to the 1.7.3 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -391,7 +391,9 @@ Release Notes - Mesos - Version 1.7.3 (WIP)\n** Improvements\n* [MESOS-8880] - Add minimum capabilities in the master.\n+ * [MESOS-9159] - Support Foreign URLs in docker registry puller.\n* [MES...
C++
Apache License 2.0
apache/mesos
Added MESOS-9159 and MESOS-9675 to the 1.7.3 CHANGELOG.
46,055
15.04.2019 16:16:51
-28,800
0aff10f0969cabec9d49ad450ee9c098d4109c1a
Added and to the 1.6.3 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -856,6 +856,8 @@ Release Notes - Mesos - Version 1.6.3 (WIP)\n** Improvement\n* [MESOS-8880] - Add minimum capabilities in the master.\n+ * [MESOS-9159] - Support Foreign URLs in docker registry puller.\n+ * [ME...
C++
Apache License 2.0
apache/mesos
Added MESOS-9159 and MESOS-9675 to the 1.6.3 CHANGELOG.
46,055
15.04.2019 16:19:37
-28,800
65c2378fd57b06e562b2278355ad3198fbd949c1
Added and to the 1.5.4 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -1315,6 +1315,10 @@ Release Notes - Mesos - Version 1.5.4 (WIP)\n* [MESOS-9529] - `/proc` should be remounted even if a nested container set `share_pid_namespace` to true.\n* [MESOS-9707] - Calling link::lo() ma...
C++
Apache License 2.0
apache/mesos
Added MESOS-9159 and MESOS-9675 to the 1.5.4 CHANGELOG.
46,055
15.04.2019 16:20:54
-28,800
4cadbde76a2a7d837be0b7c14a460e6761e4e929
Added and to the 1.4.4 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -1942,6 +1942,8 @@ Release Notes - Mesos - Version 1.4.4 (WIP)\n* [MESOS-9507] - Agent could not recover due to empty docker volume checkpointed files.\n** Improvement:\n+ * [MESOS-9159] - Support Foreign URLs i...
C++
Apache License 2.0
apache/mesos
Added MESOS-9159 and MESOS-9675 to the 1.4.4 CHANGELOG.
46,107
15.04.2019 11:25:41
25,200
fb1695f93acad12f07634423e205fad1384dde1e
Added mesos-resource-provider-sdk in client libraries. Added Resource Provider SDK in Go contributed by which is based on Mesos Framework SDK. The latter is removed since it is no longer maintained. This closes
[ { "change_type": "MODIFY", "old_path": "docs/api-client-libraries.md", "new_path": "docs/api-client-libraries.md", "diff": "@@ -53,7 +53,7 @@ run into any issues, file them with the library maintainers.*\n<td>Go</td>\n</tr>\n<tr>\n- <td><a href=\"https://github.com/verizonlabs/mesos-framework-sdk\">...
C++
Apache License 2.0
apache/mesos
Added mesos-resource-provider-sdk in client libraries. Added Resource Provider SDK in Go contributed by @carlonelong, which is based on @verizonlab' Mesos Framework SDK. The latter is removed since it is no longer maintained. This closes #333
46,057
16.04.2019 10:23:01
-7,200
b120471f07a2074d9cfb9c5f5dcfe855a156f27d
Added missing 'CLI' subheading to the 1.8.0 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -13,6 +13,8 @@ This release contains the following highlights:\nthe scheduler re-subscribes each time it wants to mutate the\nminimum resource quantity offer filter information, see MESOS-7258.\n+ * CLI\n+\n* Th...
C++
Apache License 2.0
apache/mesos
Added missing 'CLI' subheading to the 1.8.0 CHANGELOG.
46,129
15.04.2019 18:53:58
25,200
9c6d178456b86b2aa7b8f9de6d929f8c5bdf4109
Added docker manifest v2s2 config to protobuf 'ContainerLayers'.
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/containerizer.proto", "new_path": "include/mesos/slave/containerizer.proto", "diff": "@@ -305,4 +305,9 @@ message ContainerTermination {\nmessage ContainerLayers {\n// Paths of all layers used to provision the container.\nrepeated string pa...
C++
Apache License 2.0
apache/mesos
Added docker manifest v2s2 config to protobuf 'ContainerLayers'.
46,129
15.04.2019 19:10:35
25,200
c009192158f583d95ecaee9e7555c380372fb18f
Added docker manifest v2s2 config to 'ImageInfo'.
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/store.hpp", "new_path": "src/slave/containerizer/mesos/provisioner/store.hpp", "diff": "@@ -51,6 +51,9 @@ struct ImageInfo\n// Appc image manifest.\nOption<::appc::spec::ImageManifest> appcManifest;\n+\n+ // Path of do...
C++
Apache License 2.0
apache/mesos
Added docker manifest v2s2 config to 'ImageInfo'.
46,165
09.04.2019 17:08:02
14,400
a03db7d684f343656aa229771f30c4990a2839c1
Added a test of hierarchical sorting for the random sorter. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/sorter_tests.cpp", "new_path": "src/tests/sorter_tests.cpp", "diff": "#include <iostream>\n#include <string>\n+#include <utility>\n#include <vector>\n#include <gmock/gmock.h>\n@@ -37,6 +38,7 @@ using mesos::internal::master::allocator::RandomSorter;\...
C++
Apache License 2.0
apache/mesos
Added a test of hierarchical sorting for the random sorter. Review: https://reviews.apache.org/r/70438
46,148
16.04.2019 14:40:49
21,600
003499f8b0c81144bc4b06c6f14e1ad1726131b1
Removed a TODO in sorter utils. A prototype implementation of this TODO proves to have very small performance improvement. This does not justify the extra complexity. See
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/random/utils.hpp", "new_path": "src/master/allocator/sorter/random/utils.hpp", "diff": "@@ -67,10 +67,6 @@ void weightedShuffle(\n[&](size_t i, size_t j){ return keys[i] < keys[j]; });\n// Now apply the permutation to `items`.\n- //...
C++
Apache License 2.0
apache/mesos
Removed a TODO in sorter utils. A prototype implementation of this TODO proves to have very small performance improvement. This does not justify the extra complexity. See MESOS-9723.
46,129
16.04.2019 16:38:02
25,200
4ef51f19d714d719389994763e027194ba6bc732
Documented docker manifest v2 schema2 support. Review:
[ { "change_type": "MODIFY", "old_path": "docs/container-image.md", "new_path": "docs/container-image.md", "diff": "@@ -180,10 +180,13 @@ Verify if your container is running by launching a redis client:\nImage provisioner uses [Docker v2 registry\nAPI](https://docs.docker.com/registry/spec/api/) to fe...
C++
Apache License 2.0
apache/mesos
Documented docker manifest v2 schema2 support. Review: https://reviews.apache.org/r/70489
46,148
16.04.2019 21:10:58
21,600
e2b95cdf26844c6c32aa4e44c3582b33570bd330
Added 1.8.0 allocator performance improvements to the CHANGELOG. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -22,6 +22,11 @@ This release contains the following highlights:\nThis should significantly increase master responsiveness under\nheavy load.\n+ * Allocator cycle time is significantly decreased (around 40% for a...
C++
Apache License 2.0
apache/mesos
Added 1.8.0 allocator performance improvements to the CHANGELOG. Review: https://reviews.apache.org/r/70492
46,139
18.04.2019 17:11:26
25,200
6eefe4fd9ff7089f2311d61005180132b32ec155
Added metrics to the operation feedback example framework. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/operation_feedback_framework.cpp", "new_path": "src/examples/operation_feedback_framework.cpp", "diff": "#include <mesos/authorizer/acls.hpp>\n+#include <process/clock.hpp>\n#include <process/defer.hpp>\n#include <process/delay.hpp>\n#include <pro...
C++
Apache License 2.0
apache/mesos
Added metrics to the operation feedback example framework. Review: https://reviews.apache.org/r/70506
46,129
21.04.2019 20:48:29
25,200
6bd78a0db7767f355714933fd0d43b214887f7f0
Updated the Containerization WG schedule to be monthly on 1st Thursday. Updated the containerization WG schedule to be monthly as discussed on the WG meeting, and added Gilbert to the WG lead.
[ { "change_type": "MODIFY", "old_path": "site/source/community.html.md", "new_path": "site/source/community.html.md", "diff": "@@ -114,14 +114,13 @@ layout: community_section\nContainerization\n</td>\n<td>\n- <a href=\"mailto:yujie.jay@gmail.com\">Jie Yu</a>\n+ <a href=\"mailto:yujie.jay@gmail.com;gi...
C++
Apache License 2.0
apache/mesos
Updated the Containerization WG schedule to be monthly on 1st Thursday. Updated the containerization WG schedule to be monthly as discussed on the WG meeting, and added Gilbert to the WG lead.
46,128
19.04.2019 00:34:15
25,200
cbae57b7e790b8b46c79052975406d603e7d175a
Enabled construction of `ResourceQuantities` from `Resources`. This patch adds a new static method which enables the construction of `ResourceQuantities` from `Resources`. Namely, this permits the inclusion of sets and ranges in the input resources used to construct `ResourceQuantities`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.cpp", "new_path": "src/common/resource_quantities.cpp", "diff": "@@ -89,6 +89,36 @@ ResourceQuantities ResourceQuantities::fromScalarResources(\n}\n+ResourceQuantities ResourceQuantities::fromResources(const Resources& resources)...
C++
Apache License 2.0
apache/mesos
Enabled construction of `ResourceQuantities` from `Resources`. This patch adds a new static method which enables the construction of `ResourceQuantities` from `Resources`. Namely, this permits the inclusion of sets and ranges in the input resources used to construct `ResourceQuantities`. Review: https://reviews.apach...
46,128
20.04.2019 11:48:39
25,200
f8ffdb7bbf3ff58e1e7a411cdd66767519d9a7ad
Ensured that task groups do not specify overlapping ranges or sets. This patch adds validation to the master to ensure that task groups do not include resources with overlapping set- or range-valued resources, as this can crash the allocator. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "#include \"checks/health_checker.hpp\"\n#include \"common/protobuf_utils.hpp\"\n+#include \"common/resource_quantities.hpp\"\n#include \"common/validation.hpp\"\n#include \"master/ma...
C++
Apache License 2.0
apache/mesos
Ensured that task groups do not specify overlapping ranges or sets. This patch adds validation to the master to ensure that task groups do not include resources with overlapping set- or range-valued resources, as this can crash the allocator. Review: https://reviews.apache.org/r/70472/
46,128
22.04.2019 11:08:32
25,200
45c9788618e7123f408a1dffcf6772a1285cd2e5
Added unit test for a master validation helper function. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "@@ -444,6 +444,88 @@ TEST_F(ResourceValidationTest, SingleResourceProvider)\n}\n+// Unit test for the `resource::detectOverlappingSetAndRangeResources()` help...
C++
Apache License 2.0
apache/mesos
Added unit test for a master validation helper function. Review: https://reviews.apache.org/r/70517
46,072
23.04.2019 11:32:31
25,200
2707eda4fa0bba58db63a9ec59574ac4de970fdc
Deduplicated common validation code in Master::subscribe()'s. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2550,28 +2550,17 @@ void Master::reregisterFramework(\n}\n-void Master::subscribe(\n- StreamingHttpConnection<v1::scheduler::Event> http,\n- const scheduler::Call::Subscribe& subscribe)\...
C++
Apache License 2.0
apache/mesos
Deduplicated common validation code in Master::subscribe()'s. Review: https://reviews.apache.org/r/70408/
46,072
23.04.2019 11:32:42
25,200
64d00cdfefc3ea5939efe60eaf6a2df8e7e5f4eb
Added tests to check that framework cannot change its principal. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/fault_tolerance_tests.cpp", "new_path": "src/tests/fault_tolerance_tests.cpp", "diff": "@@ -2017,6 +2017,61 @@ TEST_F(FaultToleranceTest, SplitBrainMasters)\n}\n+// This test verifies that when a framework tries to change its\n+// principal on re-reg...
C++
Apache License 2.0
apache/mesos
Added tests to check that framework cannot change its principal. Review: https://reviews.apache.org/r/70377/
46,072
23.04.2019 11:32:48
25,200
89daa08529e85f97acfe02c10b51d8c553a0c225
Added validation that the principal stays the same on resubscription. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2561,6 +2561,39 @@ Option<Error> Master::validateFrameworkSubscription(\nreturn validationError;\n}\n+ // Validate that resubscribing framework does not attempt\n+ // to change its princ...
C++
Apache License 2.0
apache/mesos
Added validation that the principal stays the same on resubscription. Review: https://reviews.apache.org/r/70379/
46,128
23.04.2019 22:25:21
25,200
53598228fec4e41288632d4b1641afd193de64eb
Fixed a memory leak in the master's 'removeTask()' helper. Previously, all removed tasks were added to the `slaves.unreachableTasks` map. This patch adds a conditional so that removed tasks are only added to that structure when they are being marked unreachable. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -11711,7 +11711,10 @@ void Master::removeTask(Task* task, bool unreachable)\n<< \" on agent \" << *slave;\n}\n- slaves.unreachableTasks[slave->id].put(task->framework_id(), task->task_id(...
C++
Apache License 2.0
apache/mesos
Fixed a memory leak in the master's 'removeTask()' helper. Previously, all removed tasks were added to the `slaves.unreachableTasks` map. This patch adds a conditional so that removed tasks are only added to that structure when they are being marked unreachable. Review: https://reviews.apache.org/r/70518/
46,128
23.04.2019 22:25:29
25,200
0709a18956a22cad50a2267c4c455a5399c9b435
Transitioned tasks when an unreachable agent is marked as gone. This patch updates the master code responsible for marking agents as gone to properly transition tasks on agents which were previously marked as unreachable. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -4171,15 +4171,7 @@ Future<Response> Master::Http::_markAgentGone(const SlaveID& slaveId) const\n<< registrarResult.failure();\n}\n- Slave* slave = master->slaves.registered.get(slaveId);\n-\...
C++
Apache License 2.0
apache/mesos
Transitioned tasks when an unreachable agent is marked as gone. This patch updates the master code responsible for marking agents as gone to properly transition tasks on agents which were previously marked as unreachable. Review: https://reviews.apache.org/r/70519/
46,143
24.04.2019 09:54:12
18,000
5a624bc61836dae0126c934e1cc97711deb43c3e
Added thanks to Criteo for Slack plan in community.html.md.
[ { "change_type": "MODIFY", "old_path": "site/source/community.html.md", "new_path": "site/source/community.html.md", "diff": "@@ -43,6 +43,9 @@ layout: community_section\n<p>All slack communication is publicly archived <a href=\"http://mesos.slackarchive.io\">here</a>.</p>\n+ <p>Thank you <a href=\"...
C++
Apache License 2.0
apache/mesos
Added thanks to Criteo for Slack plan in community.html.md.
46,165
17.04.2019 17:34:35
14,400
6ef38d4fb11e8b8c3307991969e6cf3d1cb311d2
Simplified Sorter::add(client) implementations. The existing logic is rather hard to understand and there is no guiding explanation of the algorithm. This re-writes the logic into an easier to understand approach, along with a comment at the top that explains the two phase algorithm. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.cpp", "new_path": "src/master/allocator/sorter/drf/sorter.cpp", "diff": "@@ -71,102 +71,91 @@ void DRFSorter::initialize(\nvoid DRFSorter::add(const string& clientPath)\n{\n- vector<string> pathElements = strings::tokeniz...
C++
Apache License 2.0
apache/mesos
Simplified Sorter::add(client) implementations. The existing logic is rather hard to understand and there is no guiding explanation of the algorithm. This re-writes the logic into an easier to understand approach, along with a comment at the top that explains the two phase algorithm. Review: https://reviews.apache.o...
46,148
23.04.2019 18:44:33
25,200
5e52c686c29819113f42c6bde7d90324673b42dc
Added a random sorter helper to find active internal nodes. Active internal nodes are defined as internal nodes that have at least one active leaf node. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/random/sorter.cpp", "new_path": "src/master/allocator/sorter/random/sorter.cpp", "diff": "@@ -545,6 +545,45 @@ double RandomSorter::getWeight(const Node* node) const\n}\n+hashset<RandomSorter::Node*> RandomSorter::activeInternalNode...
C++
Apache License 2.0
apache/mesos
Added a random sorter helper to find active internal nodes. Active internal nodes are defined as internal nodes that have at least one active leaf node. Review: https://reviews.apache.org/r/70542
46,148
24.04.2019 11:32:38
25,200
5108f076e6a5c275cae6b124bbcb110bc6785f94
Avoided some recalculation in the random sorter. This patch keeps the sorting related information in the memory and accompanies a dirty bit with it. This helps to avoid unnecessary recalculation of this info in `sort()`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/random/sorter.cpp", "new_path": "src/master/allocator/sorter/random/sorter.cpp", "diff": "@@ -47,13 +47,13 @@ namespace allocator {\nRandomSorter::RandomSorter()\n- : root(new Node(\"\", Node::INTERNAL, nullptr)) {}\n+ : sortInfo(th...
C++
Apache License 2.0
apache/mesos
Avoided some recalculation in the random sorter. This patch keeps the sorting related information in the memory and accompanies a dirty bit with it. This helps to avoid unnecessary recalculation of this info in `sort()`. Review: https://reviews.apache.org/r/70430
46,148
25.04.2019 16:35:21
25,200
84686409a0af871c2dc7c9e94a572dd74188914e
Removed some unnecessary logs in the allocator benchmark.
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_benchmarks.cpp", "new_path": "src/tests/hierarchical_allocator_benchmarks.cpp", "diff": "@@ -384,8 +384,6 @@ TEST_F(BENCHMARK_HierarchicalAllocations, MultiFrameworkAllocations)\ninitializeCluster(config);\n- cout << \"Start al...
C++
Apache License 2.0
apache/mesos
Removed some unnecessary logs in the allocator benchmark.
46,128
25.04.2019 17:38:21
25,200
bbc893cacc47092129cdec7d06ffcfa9168a7a55
Updated the 1.8.0 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -90,7 +90,6 @@ Unresolved Critical Issues:\n* [MESOS-9697] - Release RPMs are not uploaded to bintray\n* [MESOS-9672] - Docker containerizer should ignore pids of executors that do not pass the connection check....
C++
Apache License 2.0
apache/mesos
Updated the 1.8.0 CHANGELOG.
46,055
22.04.2019 15:44:35
-28,800
510aa02f9a53b1209e9deeaf65f25db2c0ccd96b
Added a test to verify non-root nested container can access its sandbox. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp", "new_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp", "diff": "@@ -243,6 +243,88 @@ TEST_F(NestedMesosContainerizerTest, ROOT_CGROUPS_LaunchNested)\n}\n+// This is a regressio...
C++
Apache License 2.0
apache/mesos
Added a test to verify non-root nested container can access its sandbox. Review: https://reviews.apache.org/r/70515
46,088
29.04.2019 13:28:06
-7,200
4fa4f77549b43285cac974111a5a3f28828a19d8
Documented LIBPROCESS_SSL_ENABLE_TLS_V1_3. Updated documentation about `LIBPROCESS_SSL_ENABLE_TLS_V1_3` and TLS1.3. Review:
[ { "change_type": "MODIFY", "old_path": "docs/ssl.md", "new_path": "docs/ssl.md", "diff": "@@ -70,7 +70,9 @@ A list of `:`-separated ciphers. Use these if you want to restrict or open up th\n#### LIBPROCESS_SSL_ENABLE_TLS_V1_0=(false|0,true|1) [default=false|0]\n#### LIBPROCESS_SSL_ENABLE_TLS_V1_1=(f...
C++
Apache License 2.0
apache/mesos
Documented LIBPROCESS_SSL_ENABLE_TLS_V1_3. Updated documentation about `LIBPROCESS_SSL_ENABLE_TLS_V1_3` and TLS1.3. Review: https://reviews.apache.org/r/70563/
46,055
30.04.2019 13:23:26
-7,200
c8004ee8a0962d0e0f9147718853160bb708f5bc
Removed the duplicate pid check in Docker containerizer. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/docker.cpp", "new_path": "src/slave/containerizer/docker.cpp", "diff": "@@ -936,10 +936,6 @@ Future<Nothing> DockerContainerizerProcess::_recover(\n}\n}\n- // Collection of pids that we've started reaping in order to\n- // detect very u...
C++
Apache License 2.0
apache/mesos
Removed the duplicate pid check in Docker containerizer. Review: https://reviews.apache.org/r/70561/
46,148
28.04.2019 15:53:17
25,200
2d38c3ee8d1dcf2c7aacff3a3a18d017b2e0c907
Fixed a performance issue in the random sorter. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/random/sorter.cpp", "new_path": "src/master/allocator/sorter/random/sorter.cpp", "diff": "@@ -472,7 +472,7 @@ void RandomSorter::remove(const SlaveID& slaveId, const Resources& resources)\nvector<string> RandomSorter::sort()\n{\npai...
C++
Apache License 2.0
apache/mesos
Fixed a performance issue in the random sorter. Review: https://reviews.apache.org/r/70564
46,128
30.04.2019 10:27:15
25,200
fa39fe2a932de6a6ddccf65e9322738e48c7b39e
Added debug logging when framework is missing during agent removal. This patch adds extra debug logging to `Master::__removeSlave()` in order to help triage if that issue is observed again in the future. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -11460,7 +11460,9 @@ void Master::__removeSlave(\n// the framework has opted in to the PARTITION_AWARE capability.\nforeachkey (const FrameworkID& frameworkId, utils::copy(slave->tasks)) ...
C++
Apache License 2.0
apache/mesos
Added debug logging when framework is missing during agent removal. This patch adds extra debug logging to `Master::__removeSlave()` in order to help triage MESOS-9609 if that issue is observed again in the future. Review: https://reviews.apache.org/r/70559/
46,148
07.04.2019 15:55:42
25,200
89c3dd95a421e14044bc91ceb1998ff4ae3883b4
Added a test to verify the sort correctness of the random sorter. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/sorter_tests.cpp", "new_path": "src/tests/sorter_tests.cpp", "diff": "@@ -170,6 +170,59 @@ TEST(RandomSorterTest, HierarchicalProbabilityDistribution)\n}\n+TEST(RandomSorterTest, ProbabilityDistribution)\n+{\n+ // Test the behavior of the random sort...
C++
Apache License 2.0
apache/mesos
Added a test to verify the sort correctness of the random sorter. Review: https://reviews.apache.org/r/70418
46,129
30.04.2019 20:10:17
25,200
af7a87608179fc07284d3827f6722d77faf70a4e
Disabled 3 windows failure tests DockerFetcherPluginTest.INTERNET_CURL_.
[ { "change_type": "MODIFY", "old_path": "src/tests/uri_fetcher_tests.cpp", "new_path": "src/tests/uri_fetcher_tests.cpp", "diff": "@@ -309,7 +309,7 @@ static constexpr char TEST_DIGEST[] = \"sha256:a3ed95caeb02ffe68cdd9fd844066\"\nclass DockerFetcherPluginTest : public TemporaryDirectoryTest {};\n-TE...
C++
Apache License 2.0
apache/mesos
Disabled 3 windows failure tests DockerFetcherPluginTest.INTERNET_CURL_.
46,053
01.05.2019 11:52:49
-7,200
1954beae2133fa55efe53038a020de4309b7ae91
Allowed compiling Seccomp isolator on older kernel versions. This patch removes dependency on `linux/seccomp.h` header, which may be missing on some Linux distributions. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -1627,14 +1627,6 @@ The Seccomp isolator is only supported on Linux.\n-------------------------------------------------------------------\n])])\n- AC_CHECK_HEADERS([linux/seccomp.h], [],\n- [AC_MSG_ERROR([...
C++
Apache License 2.0
apache/mesos
Allowed compiling Seccomp isolator on older kernel versions. This patch removes dependency on `linux/seccomp.h` header, which may be missing on some Linux distributions. Review: https://reviews.apache.org/r/70567/
46,072
03.05.2019 10:24:48
25,200
f0460e5d2aed4a6d3a3e775cd95375610cc15d1e
Fixed flaky test 'FrameworkPrincipalChangeFails'. The test is currently flaky due to the race between `EXPECT_CALL` and the scheduler API. This patch moves the EXPECT_CALLs before `v1::scheduler::TestMesos` is instantiated. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/http_fault_tolerance_tests.cpp", "new_path": "src/tests/http_fault_tolerance_tests.cpp", "diff": "@@ -103,11 +103,6 @@ TEST_F(HttpFaultToleranceTest, FrameworkPrincipalChangeFails)\nEXPECT_CALL(*scheduler, connected(_))\n.WillOnce(v1::scheduler::Send...
C++
Apache License 2.0
apache/mesos
Fixed flaky test 'FrameworkPrincipalChangeFails'. The test is currently flaky due to the race between `EXPECT_CALL` and the scheduler API. This patch moves the EXPECT_CALLs before `v1::scheduler::TestMesos` is instantiated. Review: https://reviews.apache.org/r/70593/
46,165
03.05.2019 15:51:31
14,400
52227a07bb56195fd2c695080746a583ad4c2c87
Fixed an issue where /__processes__ never returns a response. It's possible for /__processes__ to never return a response if a process is terminated after the /__processes__ handler dispatches to it, thus leading the Future to be abandoned. This patch ensures we ignore those cases, rather than wait forever. See Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/process.cpp", "new_path": "3rdparty/libprocess/src/process.cpp", "diff": "@@ -3396,15 +3396,23 @@ Future<Response> ProcessManager::__processes__(const Request&)\n// high-priority set of events (i.e., mailbox).\nreturn dispatch(\nprocess...
C++
Apache License 2.0
apache/mesos
Fixed an issue where /__processes__ never returns a response. It's possible for /__processes__ to never return a response if a process is terminated after the /__processes__ handler dispatches to it, thus leading the Future to be abandoned. This patch ensures we ignore those cases, rather than wait forever. See MESO...
46,165
03.05.2019 15:53:28
14,400
a7d5b9355e03d64268d5b6f760dd2af6fe7e923b
Adds a regression test for This test fails on master prior to applying the fix for It attempts to ensure that processes are terminated after the /__processes__ handler dispatches to them. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "diff": "@@ -78,7 +78,10 @@ using process::defer;\nusing process::Deferred;\nusing process::Event;\nusing process::Executor;\n+using process::Dispa...
C++
Apache License 2.0
apache/mesos
Adds a regression test for MESOS-9766. This test fails on master prior to applying the fix for MESOS-9766. It attempts to ensure that processes are terminated after the /__processes__ handler dispatches to them. Review: https://reviews.apache.org/r/70595
46,128
02.05.2019 14:48:48
25,200
31ceed8dc636b3d63592d9c74f6cec03ed9745e8
Fixed unguarded calls to `Option::get()` in the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -8759,8 +8759,9 @@ void Master::updateOperationStatus(UpdateOperationStatusMessage&& update)\nconst SlaveID& slaveId = update.slave_id();\n- // The status update for the operation might b...
C++
Apache License 2.0
apache/mesos
Fixed unguarded calls to `Option::get()` in the master. Review: https://reviews.apache.org/r/70587
46,057
07.05.2019 19:01:33
-7,200
9c0ddce550acd16668baebfef50bad5bb1606f9b
Updated site information for the 1.8 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 site information for the 1.8 release.
46,066
07.05.2019 20:40:21
25,200
a87b66aeed840abbf06a2a300d85e8098e3d6fd4
Fixed flakiness in 'RetryRpcWithExponentialBackoff'. Under some circumstances, offers would be filtered, resulting in the test being stuck while waiting for offers. This has been resolved by settling the clock before accepting new offers. 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": "@@ -5861,7 +5861,9 @@ TEST_P(StorageLocalResourceProviderTest, RetryRpcWithExponentialBackoff)\nAWAIT_READY(updateOperationStatus)...
C++
Apache License 2.0
apache/mesos
Fixed flakiness in 'RetryRpcWithExponentialBackoff'. Under some circumstances, offers would be filtered, resulting in the test being stuck while waiting for offers. This has been resolved by settling the clock before accepting new offers. Review: https://reviews.apache.org/r/70184/
46,072
09.05.2019 17:30:09
14,400
932a043f4bd304cacb77fc429f267f2c0e670357
Eliminated copying of the suppressed roles during framework subscribe. This patch moves the suppressed roles through rather than copying them as before. The type passed through has also been updated to `RepeatedPtrField<string>` rather than `set<string>` to allow for validation in Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -602,7 +602,7 @@ Future<Response> Master::Http::scheduler(\nStreamingHttpConnection<v1::scheduler::Event> http(\npipe.writer(), acceptType, streamId);\n- master->subscribe(http, call.subscrib...
C++
Apache License 2.0
apache/mesos
Eliminated copying of the suppressed roles during framework subscribe. This patch moves the suppressed roles through rather than copying them as before. The type passed through has also been updated to `RepeatedPtrField<string>` rather than `set<string>` to allow for validation in https://reviews.apache.org/r/70531/. ...
46,072
12.05.2019 00:29:47
14,400
c0ca15e9378e54efe2b23cffab458e2bb47c25c2
Added an UPDATE_FRAMEWORK scheduler::Call. This patch defines the call to be used by a framework for updating its FrameworkInfo fields without re-subscribing. It is based on the previous implementation attempt: Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/scheduler/scheduler.proto", "new_path": "include/mesos/scheduler/scheduler.proto", "diff": "@@ -267,6 +267,7 @@ message Call {\nMESSAGE = 10; // See 'Message' below.\nREQUEST = 11; // See 'Request' below.\nSUPPRESS = 12; // Inform master to stop ...
C++
Apache License 2.0
apache/mesos
Added an UPDATE_FRAMEWORK scheduler::Call. This patch defines the call to be used by a framework for updating its FrameworkInfo fields without re-subscribing. It is based on the previous implementation attempt: https://reviews.apache.org/r/66228/ Review: https://reviews.apache.org/r/70532/
46,148
13.05.2019 14:32:37
-7,200
cf6eb0bc1c007184d790ada81a2cf33492b94ca5
Fixed a bug where random sorter fails to clear removed clients. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/random/sorter.cpp", "new_path": "src/master/allocator/sorter/random/sorter.cpp", "diff": "@@ -583,6 +583,9 @@ void RandomSorter::SortInfo::updateRelativeWeights()\nactiveInternalNodes.contains(node);\n};\n+ clients.clear();\n+ weigh...
C++
Apache License 2.0
apache/mesos
Fixed a bug where random sorter fails to clear removed clients. Review: https://reviews.apache.org/r/70630
46,148
13.05.2019 14:35:30
-7,200
88ce5722c0905633fa5df51a88a0d314ea8b4ffe
Templatized two sorter tests for both random and DRF. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/sorter_tests.cpp", "new_path": "src/tests/sorter_tests.cpp", "diff": "@@ -1009,9 +1009,9 @@ TEST(DRFSorterTest, AddChildToInactiveLeaf)\n// This test checks what happens when a sorter client is removed,\n// which allows a leaf node to be collapsed in...
C++
Apache License 2.0
apache/mesos
Templatized two sorter tests for both random and DRF. Review: https://reviews.apache.org/r/70631
46,148
13.05.2019 15:58:43
-7,200
26fa2e57340b5cc56304767d18488036ef25c64b
Avoided logging quota headroom info when there is no quota set. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1795,9 +1795,11 @@ void HierarchicalAllocatorProcess::__allocate()\nslave.getAvailable().revocable().scalars());\n}\n+ if (!quotaGuarantees.em...
C++
Apache License 2.0
apache/mesos
Avoided logging quota headroom info when there is no quota set. Review: https://reviews.apache.org/r/70633
46,103
08.04.2019 14:37:32
-7,200
7ff4263c371f8a51551199c694837cf371923137
Enabled launcher sealing for RPM packages. We enable this flag since with it disabled certain public functions are not available making it hard to e.g., write modules against this version of Mesos. While launcher sealing depends on a recent kernel, the platform we build RPMs for already satisfies the requirements. Revi...
[ { "change_type": "MODIFY", "old_path": "support/packaging/centos/mesos.spec", "new_path": "support/packaging/centos/mesos.spec", "diff": "@@ -87,10 +87,13 @@ This package provides files for developing Mesos frameworks/modules.\n%setup -q\n%build\n+%{!?el6:%define launcher_sealing --enable-launcher-s...
C++
Apache License 2.0
apache/mesos
Enabled launcher sealing for RPM packages. We enable this flag since with it disabled certain public functions are not available making it hard to e.g., write modules against this version of Mesos. While launcher sealing depends on a recent kernel, the platform we build RPMs for already satisfies the requirements. R...
46,057
14.05.2019 11:52:59
-7,200
a9a2acabd03181865055b77cf81e7bb310b236d6
Updated URL in CentOS 6 Dockerfile. The link was pointing to a rpm package that was apparently replaced on the upstream file server. Review:
[ { "change_type": "MODIFY", "old_path": "support/packaging/centos/centos6.dockerfile", "new_path": "support/packaging/centos/centos6.dockerfile", "diff": "@@ -27,7 +27,7 @@ RUN curl -sSL \\\n# PostgreSQL repo for libevent2.\nRUN rpm -Uvh --replacepkgs \\\n- http://yum.postgresql.org/9.5/redhat/rhel-6...
C++
Apache License 2.0
apache/mesos
Updated URL in CentOS 6 Dockerfile. The link was pointing to a rpm package that was apparently replaced on the upstream file server. Review: https://reviews.apache.org/r/70639
46,165
16.05.2019 11:42:26
-7,200
61e5fcd1a6cb9252454dda62b0d6c0be17c144d2
Added logging of slow reverse DNS when accepting SSL connections. Slow reverse DNS lookup is a serious issue since today it is done synchronously from the event loop thread, see and related tickets. Logging slow requests will substantially improve debugging. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/posix/libevent/libevent_ssl_socket.cpp", "new_path": "3rdparty/libprocess/src/posix/libevent/libevent_ssl_socket.cpp", "diff": "#include <process/ssl/flags.hpp>\n#include <stout/net.hpp>\n+#include <stout/stopwatch.hpp>\n#include <stout...
C++
Apache License 2.0
apache/mesos
Added logging of slow reverse DNS when accepting SSL connections. Slow reverse DNS lookup is a serious issue since today it is done synchronously from the event loop thread, see MESOS-9339 and related tickets. Logging slow requests will substantially improve debugging. Review: https://reviews.apache.org/r/70653
46,165
16.05.2019 15:49:51
-7,200
4dffefb031ebe04a34890d1acfede7bbaa203616
Fixed a 1.8.1 CHANGELOG typo for
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -7,7 +7,7 @@ Release Notes - Mesos - Version 1.8.1 (WIP)\n* [MESOS-9616] - `Filters.refuse_seconds` declines resources not in offers.\n* [MESOS-9695] - Remove the duplicate pid check in Docker containerizer\n* [...
C++
Apache License 2.0
apache/mesos
Fixed a 1.8.1 CHANGELOG typo for MESOS-9787.
46,165
16.05.2019 15:50:05
-7,200
5958a0e1f87cdc12f617a9c4b6e8664e9e929312
Fixed a 1.7.3 CHANGELOG typo for
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -424,7 +424,7 @@ Release Notes - Mesos - Version 1.7.3 (WIP)\n* [MESOS-9695] - Remove the duplicate pid check in Docker containerizer\n* [MESOS-9707] - Calling link::lo() may cause runtime error\n* [MESOS-9766] ...
C++
Apache License 2.0
apache/mesos
Fixed a 1.7.3 CHANGELOG typo for MESOS-9787.
46,165
16.05.2019 15:50:11
-7,200
c127fd390c48bc3f83a90b22a51d9bf2d932e1d4
Fixed a 1.6.3 CHANGELOG typo for
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -896,7 +896,7 @@ Release Notes - Mesos - Version 1.6.3 (WIP)\n* [MESOS-9695] - Remove the duplicate pid check in Docker containerizer\n* [MESOS-9707] - Calling link::lo() may cause runtime error\n* [MESOS-9766] ...
C++
Apache License 2.0
apache/mesos
Fixed a 1.6.3 CHANGELOG typo for MESOS-9787.
46,165
16.05.2019 15:50:21
-7,200
f91affc9fbd418a1f7b7998cce58d8d01ae25306
Fixed a 1.5.4 CHANGELOG typo for
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -1364,7 +1364,7 @@ Release Notes - Mesos - Version 1.5.4 (WIP)\n* [MESOS-9695] - Remove the duplicate pid check in Docker containerizer\n* [MESOS-9707] - Calling link::lo() may cause runtime error\n* [MESOS-9766...
C++
Apache License 2.0
apache/mesos
Fixed a 1.5.4 CHANGELOG typo for MESOS-9787.
46,148
16.05.2019 12:12:15
-7,200
d9ab461ad4dadf13ec45d52e83a0e9a2f452de74
Fix a bug where racing quota removal request could crash the master. Also added a test. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/quota_handler.cpp", "new_path": "src/master/quota_handler.cpp", "diff": "@@ -735,6 +735,13 @@ Future<http::Response> Master::QuotaHandler::_remove(\nFuture<http::Response> Master::QuotaHandler::__remove(const string& role) const\n{\n+ // Double chec...
C++
Apache License 2.0
apache/mesos
Fix a bug where racing quota removal request could crash the master. Also added a test. Review: https://reviews.apache.org/r/70656
46,057
17.05.2019 11:24:23
-7,200
35fa8420762f1e8cf8df211ddcdaa0cc77104bc2
Updated bintray upload scripts to remove hard-coded accounts. This updates the Jenkinsfile used in the ASF Jenkins as well as the associated upload script for bintray to make the used credential id configurable and to upload the built packages to the official `apache/mesos` bintray account. Review:
[ { "change_type": "MODIFY", "old_path": "support/packaging/Jenkinsfile", "new_path": "support/packaging/Jenkinsfile", "diff": "@@ -24,16 +24,8 @@ def dockerArgs() {\n}\ndef uploadToBintray(def pattern) {\n- withCredentials([string(credentialsId: 'karya_bintray_credentials', variable: 'BINTRAY_CREDS')...
C++
Apache License 2.0
apache/mesos
Updated bintray upload scripts to remove hard-coded accounts. This updates the Jenkinsfile used in the ASF Jenkins as well as the associated upload script for bintray to make the used credential id configurable and to upload the built packages to the official `apache/mesos` bintray account. Review: https://reviews.ap...
46,057
20.05.2019 13:02:19
-7,200
f2a1e3b011f4872ae82757452e451696778e117a
Updated download URL for binary RPM packages.
[ { "change_type": "MODIFY", "old_path": "site/source/downloads.html.erb", "new_path": "site/source/downloads.html.erb", "diff": "@@ -35,7 +35,7 @@ breadcrumb: Downloads\n</li>\n<li>\nRPM\n- <a href=\"https://bintray.com/apache/mesos/el/mesos/<%= data.releases.latest_stable.version %>#files\">\n+ <a h...
C++
Apache License 2.0
apache/mesos
Updated download URL for binary RPM packages.
46,072
20.05.2019 09:10:34
14,400
2453aa4f2dd19b861b082e10caef73f7747fd0c4
Added an UPDATE_FRAMEWORK scheduler::Call. This patch definies the call to be used by a framework for updating its FrameworkInfo fields without re-subscribing. It is based on the previous implementation attempt: Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/scheduler/scheduler.proto", "new_path": "include/mesos/scheduler/scheduler.proto", "diff": "@@ -267,6 +267,7 @@ message Call {\nMESSAGE = 10; // See 'Message' below.\nREQUEST = 11; // See 'Request' below.\nSUPPRESS = 12; // Inform master to stop ...
C++
Apache License 2.0
apache/mesos
Added an UPDATE_FRAMEWORK scheduler::Call. This patch definies the call to be used by a framework for updating its FrameworkInfo fields without re-subscribing. It is based on the previous implementation attempt: https://reviews.apache.org/r/66228/ Review: https://reviews.apache.org/r/70532/
46,072
20.05.2019 14:02:24
14,400
9a79ffa15e953e71d13c7047238f3a115383eae5
Removed non-implemented declaration of 'Master::validate()'. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "@@ -2299,14 +2299,6 @@ private:\nprocess::Time startTime; // Start time used to calculate uptime.\nOption<process::Time> electedTime; // Time when this master is elected.\n-\n- // Validates ...
C++
Apache License 2.0
apache/mesos
Removed non-implemented declaration of 'Master::validate()'. Review: https://reviews.apache.org/r/70663/
46,072
20.05.2019 14:06:16
14,400
5bb4f28a50f551e67ea9957e1073e464e18f1825
Made activateRecoveredFramework() return void instead of Try. The `Master::activateRecoveredFramework()` method always returns `Nothing()`. This patch changes its return type to `void` and removes the unused error handling code. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2813,19 +2813,8 @@ void Master::_subscribe(\nfailoverFramework(framework, http);\n} else {\n// The framework has not yet reregistered after master failover.\n- Try<Nothing> activate = ac...
C++
Apache License 2.0
apache/mesos
Made activateRecoveredFramework() return void instead of Try. The `Master::activateRecoveredFramework()` method always returns `Nothing()`. This patch changes its return type to `void` and removes the unused error handling code. Review: https://reviews.apache.org/r/70664/
46,072
20.05.2019 14:57:57
14,400
1f83bfc2877004e0e3ddd1e7a15902a6b471d7ee
Added unit tests for 'framework::validateUpdate()'. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "@@ -4763,6 +4763,47 @@ TEST_F(FrameworkInfoValidationTest, ValidateOfferFilters)\n}\n+// This tests validation of FrameworkInfo updates.\n+TEST_F(FrameworkInf...
C++
Apache License 2.0
apache/mesos
Added unit tests for 'framework::validateUpdate()'. Review: https://reviews.apache.org/r/70667/
46,057
21.05.2019 16:30:36
-7,200
f0d7759c7a3cf72ff89055bee35daf53c6630eaf
Improved log messages for SSL configuration. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/openssl.cpp", "new_path": "3rdparty/libprocess/src/openssl.cpp", "diff": "@@ -515,16 +515,17 @@ void reinitialize()\n<< \"Set CA directory path with LIBPROCESS_SSL_CA_DIR=<dirpath>\";\n}\n- if (!ssl_flags->verify_cert) {\n- LOG(INFO) <<...
C++
Apache License 2.0
apache/mesos
Improved log messages for SSL configuration. Review: https://reviews.apache.org/r/70689
46,103
22.05.2019 09:53:44
-7,200
dae58d9343189a82731726c843d97f95ffd9827b
Fixed sign-compare issue introduced in Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_authorization_tests.cpp", "new_path": "src/tests/master_authorization_tests.cpp", "diff": "@@ -3298,7 +3298,7 @@ TEST_P(MasterOperationAuthorizationTest, Accept)\npermissive = false;\nAWAIT_READY(offers);\n- ASSERT_EQ(1u, offers->offers_size()...
C++
Apache License 2.0
apache/mesos
Fixed sign-compare issue introduced in bf07bbd1cf1. Review: https://reviews.apache.org/r/70699
46,072
22.05.2019 16:39:51
-7,200
b00b32682daf49182b6e405f7261cdb7523af082
Refactored `untrackReservations()` method. This patch gets rid of insertion into the beginning of the vector and also of shadowing HierarchicalAllocatorProcess::roles by a local. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -2653,11 +2653,7 @@ void HierarchicalAllocatorProcess::untrackReservations(\ncontinue; // Do not CHECK for the role if there's nothing to untra...
C++
Apache License 2.0
apache/mesos
Refactored `untrackReservations()` method. This patch gets rid of insertion into the beginning of the vector and also of shadowing HierarchicalAllocatorProcess::roles by a local. Review: https://reviews.apache.org/r/70626/
46,072
22.05.2019 16:40:46
-7,200
c186625ea2223ea10d35d16608d10eb03cb385de
Fixed comment to reflect the existence of sorters other than DRF. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1856,10 +1856,9 @@ void HierarchicalAllocatorProcess::__allocate()\nbreak; // Nothing left on this agent.\n}\n- // Fetch frameworks according ...
C++
Apache License 2.0
apache/mesos
Fixed comment to reflect the existence of sorters other than DRF. Review: https://reviews.apache.org/r/70679/
46,072
22.05.2019 13:10:09
14,400
128ebecf684c0af278c56db04686002068f58852
Simplified the Framework::update() method. Now that ignoring some fields on re-subscription is performed outside of this method, we can replace the fragile filed-by-field copying of `FrameworkInfo` on updates with copying it as a whole. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/framework.cpp", "new_path": "src/master/framework.cpp", "diff": "@@ -501,78 +501,22 @@ void Framework::update(const FrameworkInfo& newInfo)\n// We only merge 'info' from the same framework 'id'.\nCHECK_EQ(info.id(), newInfo.id());\n- // We copy over...
C++
Apache License 2.0
apache/mesos
Simplified the Framework::update() method. Now that ignoring some fields on re-subscription is performed outside of this method, we can replace the fragile filed-by-field copying of `FrameworkInfo` on updates with copying it as a whole. Review: https://reviews.apache.org/r/70670/
46,072
22.05.2019 15:40:36
14,400
9ed872d04a6c26b62311cb6a39ac53770bdfb7e8
Implemented the UPDATE_FRAMEWORK call in the V1 API. This patch is based on the previous implementation attempt: Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -716,7 +716,8 @@ Future<Response> Master::Http::scheduler(\nreturn Accepted();\ncase scheduler::Call::UPDATE_FRAMEWORK:\n- return NotImplemented();\n+ return master->updateFramework(\n+ std::...
C++
Apache License 2.0
apache/mesos
Implemented the UPDATE_FRAMEWORK call in the V1 API. This patch is based on the previous implementation attempt: https://reviews.apache.org/r/66229/ Review: https://reviews.apache.org/r/70533/
46,056
03.05.2019 13:23:50
-7,200
a8c411d3f8d2895ff5e95c412ef2f3e94713520f
Logged when `/__processes__` returns. Adds a log entry when a response with generated by `/__processes__` is about to be returned to the client. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/process.cpp", "new_path": "3rdparty/libprocess/src/process.cpp", "diff": "@@ -403,7 +403,7 @@ public:\nvoid settle();\n// The /__processes__ route.\n- Future<Response> __processes__(const Request&);\n+ Future<Response> __processes__(con...
C++
Apache License 2.0
apache/mesos
Logged when `/__processes__` returns. Adds a log entry when a response with generated by `/__processes__` is about to be returned to the client. Review: https://reviews.apache.org/r/70589
46,103
26.05.2019 16:07:15
-7,200
a07e2af2867b94bde378511033501dd92706b99a
Fixed incorrect comparision introduced in `0ab27c674b7`. As written the code was comparing a `TaskState` against a `v1::TaskState` which are different enums. This was not only brittle and not guaranteed to work, but very likely also not intended. This patch fixes the code to compare values of the same enum type. Review...
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -6764,7 +6764,8 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\n// The latest state of this terminated task will not be terminal,\n// because the executor was not given the chance to send the up...
C++
Apache License 2.0
apache/mesos
Fixed incorrect comparision introduced in `0ab27c674b7`. As written the code was comparing a `TaskState` against a `v1::TaskState` which are different enums. This was not only brittle and not guaranteed to work, but very likely also not intended. This patch fixes the code to compare values of the same enum type. Rev...
46,148
23.05.2019 16:29:37
-7,200
74f40801e5bcfb435b1807e3582f12b2be1fe21e
Added comment regarding tracking role consumed quota. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1708,8 +1708,13 @@ void HierarchicalAllocatorProcess::__allocate()\n// Consumed Quota = reservations + unreserved allocation\n// First add res...
C++
Apache License 2.0
apache/mesos
Added comment regarding tracking role consumed quota. Review: https://reviews.apache.org/r/70705
46,148
23.05.2019 16:31:33
-7,200
4d4e092dbf895e21582fc57d4577e8b34bc85843
Clarified a comment regarding role `reservationScalarQuantities`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.hpp", "new_path": "src/master/allocator/mesos/hierarchical.hpp", "diff": "@@ -113,7 +113,9 @@ struct Role\nhashset<FrameworkID> frameworks;\n// Aggregated reserved scalar resource quantities on all agents tied to this\n-...
C++
Apache License 2.0
apache/mesos
Clarified a comment regarding role `reservationScalarQuantities`. Review: https://reviews.apache.org/r/70706
46,148
24.05.2019 13:42:16
-7,200
264a27ae1c9f7fc587c3c7daf60025c11c98305f
Added method `empty()` for `ResourceLimits`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.hpp", "new_path": "src/common/resource_quantities.hpp", "diff": "@@ -218,6 +218,8 @@ public:\nsize_t size() const { return limits.size(); };\n+ bool empty() const { return limits.empty(); }\n+\n// Returns the limit of the resourc...
C++
Apache License 2.0
apache/mesos
Added method `empty()` for `ResourceLimits`. Review: https://reviews.apache.org/r/70715
46,148
27.05.2019 14:33:32
-7,200
9d808072e9147b9b2971f03833d8c98f6b0a4cf4
Fixed a complication issue due to incorrect enum comparison. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -6888,7 +6888,8 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\n// The latest state of this terminated task will not be terminal,\n// because the executor was not given the chance to send the up...
C++
Apache License 2.0
apache/mesos
Fixed a complication issue due to incorrect enum comparison. Review: https://reviews.apache.org/r/70726
46,177
28.05.2019 15:45:43
25,200
fa410f2fb8efb988590f4da2d4cfffbb2ce70637
Added to the 1.8.1 and 1.7.3 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -18,6 +18,7 @@ Release Notes - Mesos - Version 1.8.1 (WIP)\n** Bug\n* [MESOS-9616] - `Filters.refuse_seconds` declines resources not in offers.\n* [MESOS-9695] - Remove the duplicate pid check in Docker containe...
C++
Apache License 2.0
apache/mesos
Added MESOS-9750 to the 1.8.1 and 1.7.3 CHANGELOG.
46,148
23.05.2019 16:39:49
-7,200
d829f2d15eb56e0f9d57cccb7fab88d0750d75ae
Refactored role quota info into `Struct Role`. This avoids an extra map of tracking role quota info. Also added a helper `getGuarantees()` to look up quota guarantees of a given role. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1409,11 +1409,11 @@ void HierarchicalAllocatorProcess::setQuota(\n// the role is not set. Setting quota differs from updating it because\n// t...
C++
Apache License 2.0
apache/mesos
Refactored role quota info into `Struct Role`. This avoids an extra map of tracking role quota info. Also added a helper `getGuarantees()` to look up quota guarantees of a given role. Review: https://reviews.apache.org/r/70707
46,148
24.05.2019 12:04:28
-7,200
2ad905a3eaf0dcc61a2ff393c445582d041ce3bd
Renamed quota guarantee to be plural in the allocator. This makes the naming consistent with the `QuotaConfig` protobuf message. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1413,7 +1413,7 @@ void HierarchicalAllocatorProcess::setQuota(\n// Persist quota in memory and add the role into the corresponding\n// allocat...
C++
Apache License 2.0
apache/mesos
Renamed quota guarantee to be plural in the allocator. This makes the naming consistent with the `QuotaConfig` protobuf message. Review: https://reviews.apache.org/r/70713
46,148
27.05.2019 15:29:40
-7,200
a7c2234d66fc557f2880894c0244785ac3e3f230
Pulled out `shrinkResources()` in the allocator as a resource utility. This reduce the clutter in the allocator code. Also added dedicated unit tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources_utils.cpp", "new_path": "src/common/resources_utils.cpp", "diff": "@@ -25,6 +25,8 @@ using google::protobuf::Descriptor;\nusing google::protobuf::Message;\nusing google::protobuf::RepeatedPtrField;\n+using mesos::internal::ResourceQuantiti...
C++
Apache License 2.0
apache/mesos
Pulled out `shrinkResources()` in the allocator as a resource utility. This reduce the clutter in the allocator code. Also added dedicated unit tests. Review: https://reviews.apache.org/r/70730
46,148
28.05.2019 12:07:47
-7,200
be3b4f6001b4aa30cf05eef611b5348ff2a50d40
Refactored no guarantee resources allocation logic in the 1st stage. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1898,18 +1898,15 @@ void HierarchicalAllocatorProcess::__allocate()\n// Second, allocate scalar resources with unset quota while maintaining\n...
C++
Apache License 2.0
apache/mesos
Refactored no guarantee resources allocation logic in the 1st stage. Review: https://reviews.apache.org/r/70731
46,148
28.05.2019 16:10:38
-7,200
24471cef2094bfac89ed9d065bd82fa105d40ad4
Added `==` and `!=` operators to `ResourceLimits`. This is currently only used in test to compare the actual and the expected. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.cpp", "new_path": "src/common/resource_quantities.cpp", "diff": "@@ -505,6 +505,18 @@ bool ResourceLimits::contains(const ResourceLimits& right) const\n}\n+bool ResourceLimits::operator==(const ResourceLimits& that) const\n+{\n+ ...
C++
Apache License 2.0
apache/mesos
Added `==` and `!=` operators to `ResourceLimits`. This is currently only used in test to compare the actual and the expected. Review: https://reviews.apache.org/r/70733
46,148
28.05.2019 16:22:25
-7,200
75f1fc753f567adad451648a2af54aaaf38ddd35
Renamed a variable in the allocator. Rename `newQuotaAllocation` to `newGuaranteeAllocation`. The new name clearly indicates that the allocation is made towards a role's quota guarantee. This clearly differentiates from quota limits. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1881,10 +1881,10 @@ void HierarchicalAllocatorProcess::__allocate()\nResources unreserved = available.nonRevocable().unreserved();\n// First, ...
C++
Apache License 2.0
apache/mesos
Renamed a variable in the allocator. Rename `newQuotaAllocation` to `newGuaranteeAllocation`. The new name clearly indicates that the allocation is made towards a role's quota guarantee. This clearly differentiates from quota limits. Review: https://reviews.apache.org/r/70734
46,148
28.05.2019 16:27:16
-7,200
8d372e14b0240aa5735a7c0cf36e03e7b3344bd1
Added methods to subtract `ResourceQuantities` from `ResourceLimits`. This patch also makes `ResourceLimits` a friend class of `ResourceQuantities` to achieve one-pass operation complexities. Also added unit test. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.cpp", "new_path": "src/common/resource_quantities.cpp", "diff": "@@ -517,6 +517,7 @@ bool ResourceLimits::operator!=(const ResourceLimits& that) const\n}\n+// TODO(mzhu): Given the friendship, optimize this to be one pass.\nbool ...
C++
Apache License 2.0
apache/mesos
Added methods to subtract `ResourceQuantities` from `ResourceLimits`. This patch also makes `ResourceLimits` a friend class of `ResourceQuantities` to achieve one-pass operation complexities. Also added unit test. Review: https://reviews.apache.org/r/70735
46,148
28.05.2019 16:28:28
-7,200
31ac45be0a55fc33982641516bcc5eb3226ef406
Added a function to shrink `Resources` to target `ResourceLimits`. Also added unit tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources_utils.cpp", "new_path": "src/common/resources_utils.cpp", "diff": "@@ -25,6 +25,7 @@ using google::protobuf::Descriptor;\nusing google::protobuf::Message;\nusing google::protobuf::RepeatedPtrField;\n+using mesos::internal::ResourceLimits;\...
C++
Apache License 2.0
apache/mesos
Added a function to shrink `Resources` to target `ResourceLimits`. Also added unit tests. Review: https://reviews.apache.org/r/70737
46,148
02.06.2019 23:23:11
25,200
663bfa68b6ab68f4c28ed6a01ac42ac2ad23ac07
Initialized a few bool variables to avoid compilation issues.
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1639,7 +1639,7 @@ void HierarchicalAllocatorProcess::__allocate()\n//\n// TODO(mzhu): remove this once we can determine if there is any non-de...
C++
Apache License 2.0
apache/mesos
Initialized a few bool variables to avoid compilation issues.
46,148
25.04.2019 16:03:36
25,200
2ae1296c668686d234be92b00bd7abbc0a6194b0
Added `UPDATE_QUOTA_WITH_CONFIG` authorization in the local authorizor. Also added a test. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/acls.proto", "new_path": "include/mesos/authorizer/acls.proto", "diff": "@@ -133,6 +133,8 @@ message ACL {\n}\n// Which principals are authorized to update quotas for the given roles.\n+ // This ACL is currently used for two authorizat...
C++
Apache License 2.0
apache/mesos
Added `UPDATE_QUOTA_WITH_CONFIG` authorization in the local authorizor. Also added a test. Review: https://reviews.apache.org/r/70550
46,139
03.06.2019 17:00:57
-3,600
c18efb7c55ba60d42457e489239c423e33b76b61
Improved operation feedback example framework. This patch makes the operation feedback example framework use a long filter when accepting offers and revive offers when it receives an `OPERATION_FINISHED` operation status update. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/operation_feedback_framework.cpp", "new_path": "src/examples/operation_feedback_framework.cpp", "diff": "@@ -114,6 +114,7 @@ constexpr char FRAMEWORK_METRICS_PREFIX[] = \"operation_feedback_framework\";\nconstexpr char RESERVATIONS_LABEL[] = \"ope...
C++
Apache License 2.0
apache/mesos
Improved operation feedback example framework. This patch makes the operation feedback example framework use a long filter when accepting offers and revive offers when it receives an `OPERATION_FINISHED` operation status update. Review: https://reviews.apache.org/r/70478/
46,072
06.06.2019 17:29:48
14,400
3f49e5543df1a0d5ed8381389fb1ebbe515c9934
Implemented V0 UPDATE_FRAMEWORK call in the master. Implements the UPDATE_FRAMEWORK call in the V0 scheduler API. To help keep consistency between V1 and V0 APIs, the V0 call is implemented as a wrapper around V1 call, which converts HTTP responses with 4xx status codes into FrameworkErrorMessage. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2491,10 +2491,7 @@ void Master::receive(\nbreak;\ncase scheduler::Call::UPDATE_FRAMEWORK:\n- drop(\n- from,\n- call,\n- \"'UPDATE_FRAMEWORK' is not supported by the v0 API\");\n+ updateF...
C++
Apache License 2.0
apache/mesos
Implemented V0 UPDATE_FRAMEWORK call in the master. Implements the UPDATE_FRAMEWORK call in the V0 scheduler API. To help keep consistency between V1 and V0 APIs, the V0 call is implemented as a wrapper around V1 call, which converts HTTP responses with 4xx status codes into FrameworkErrorMessage. Review: https://rev...
46,148
03.06.2019 19:55:32
25,200
226a9d8b49dbac7118059e3ed2f3c635579da5fb
Added `<<` operator for `ResourceLimits`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resource_quantities.cpp", "new_path": "src/common/resource_quantities.cpp", "diff": "@@ -350,28 +350,6 @@ void ResourceQuantities::add(const string& name, const double value)\n}\n-ostream& operator<<(\n- ostream& stream,\n- const ResourceQuantities&...
C++
Apache License 2.0
apache/mesos
Added `<<` operator for `ResourceLimits`. Review: https://reviews.apache.org/r/70779
46,148
03.06.2019 17:53:32
25,200
a567684b80ca203276cfa3ce6d21e1de3a98b2c2
Added comments on allocating non-scalar resources in the allocator. See diff. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1857,10 +1857,19 @@ void HierarchicalAllocatorProcess::__allocate()\n// the disk, gpu, and ports in the allocation, despite the\n// role not h...
C++
Apache License 2.0
apache/mesos
Added comments on allocating non-scalar resources in the allocator. See diff. Review: https://reviews.apache.org/r/70780