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,062
03.05.2017 19:02:24
25,200
ca8d33ab12d702612492928c0a5080bd459830bd
Prevent allocating non-capable agents' resources to hierarchical roles. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -2113,6 +2113,10 @@ bool HierarchicalAllocatorProcess::isFiltered(\nconst Framework& framework = frameworks.at(frameworkId);\nconst Slave& slav...
C++
Apache License 2.0
apache/mesos
Prevent allocating non-capable agents' resources to hierarchical roles. Review: https://reviews.apache.org/r/59860
46,062
13.06.2017 23:10:29
25,200
8a8e4ba5f874302302eef61f396da0894acd0933
Moved the message intercepting logic before agent start in a test.
[ { "change_type": "MODIFY", "old_path": "src/tests/upgrade_tests.cpp", "new_path": "src/tests/upgrade_tests.cpp", "diff": "@@ -673,26 +673,20 @@ TEST_F(UpgradeTest, UpgradeAgentIntoHierarchicalRoleForHierarchicalRole)\n// re-registration later.\nStandaloneMasterDetector detector(master.get()->pid);\n...
C++
Apache License 2.0
apache/mesos
Moved the message intercepting logic before agent start in a test.
46,054
14.06.2017 10:24:23
25,200
d3d04772e7408846019e2ea6704f53921d60f04e
Ensure that host /etc/* files are mounted RDONLY by the CNI Isolator. 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": "@@ -763,6 +763,7 @@ Future<Nothing> NetworkCniIsolatorProcess::isolate(\nCHECK(infos[containerId]->rootfs.isSome()...
C++
Apache License 2.0
apache/mesos
Ensure that host /etc/* files are mounted RDONLY by the CNI Isolator. Review: https://reviews.apache.org/r/57884/
46,054
14.06.2017 12:07:38
25,200
9fc047c299223440d70c626241ff2903b9fdfd12
Test that bind-mounted host network configuration is mounted readonly. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "@@ -1445,6 +1445,93 @@ TEST_F(CniIsolatorPortMapperTest, ROOT_INTERNET_CURL_PortMapper)\ndriver.join();\n}\n+\n+// This test launches a cont...
C++
Apache License 2.0
apache/mesos
Test that bind-mounted host network configuration is mounted readonly. Review: https://reviews.apache.org/r/58250/
46,076
11.06.2017 14:25:26
25,200
346747e9f8b65933e0e0f7276d653da109b34ea0
Added a Variant wrapper for boost::variant. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/Makefile.am", "new_path": "3rdparty/stout/Makefile.am", "diff": "@@ -165,6 +165,7 @@ stout_tests_SOURCES = \\\ntests/svn_tests.cpp \\\ntests/try_tests.cpp \\\ntests/uuid_tests.cpp \\\n+ tests/variant_tests.cpp \\\ntests/version_tests.cpp\nif OS_...
C++
Apache License 2.0
apache/mesos
Added a Variant wrapper for boost::variant. Review: https://reviews.apache.org/r/59986
46,066
15.06.2017 00:58:37
25,200
bfa377079e38cf0855c4b4494f68f2788573d3a0
Removed a non-existing header from `Makefile.am`. included a `stout/thread_local.hpp` which does not exist. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/Makefile.am", "new_path": "3rdparty/stout/include/Makefile.am", "diff": "@@ -199,7 +199,6 @@ nobase_include_HEADERS = \\\nstout/synchronized.hpp \\\nstout/tests/environment.hpp \\\nstout/tests/utils.hpp \\\n- stout/thread_local.hpp \\\ns...
C++
Apache License 2.0
apache/mesos
Removed a non-existing header from `Makefile.am`. 346747e9 included a `stout/thread_local.hpp` which does not exist. Review: https://reviews.apache.org/r/60110/
46,139
15.06.2017 10:29:45
25,200
7579e2112dc7bb3277ec276bbd48d169b1dbac03
Fixed a typo in 'ReservationTest.PreventUnreservingAlienResources'. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/reservation_tests.cpp", "new_path": "src/tests/reservation_tests.cpp", "diff": "@@ -2239,7 +2239,7 @@ TEST_F(ReservationTest, PreventUnreservingAlienResources)\nconst string frameworkRole2 = \"role2\";\nFrameworkInfo frameworkInfo2 = DEFAULT_FRAMEWOR...
C++
Apache License 2.0
apache/mesos
Fixed a typo in 'ReservationTest.PreventUnreservingAlienResources'. Review: https://reviews.apache.org/r/60127/
46,139
15.06.2017 10:41:19
25,200
9ad1423997cddab6c9cddb67dea204df06e6f414
Added a test with multiple tasks and checks for the default executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/check_tests.cpp", "new_path": "src/tests/check_tests.cpp", "diff": "#include <process/clock.hpp>\n#include <process/owned.hpp>\n+#include <stout/hashmap.hpp>\n#include <stout/foreach.hpp>\n#include <stout/nothing.hpp>\n#include <stout/path.hpp>\n@@ -...
C++
Apache License 2.0
apache/mesos
Added a test with multiple tasks and checks for the default executor. Review: https://reviews.apache.org/r/59991/
46,169
15.06.2017 10:46:20
25,200
b055ff63ebc90c3974fccdd6cea76b6b8627f8a9
Update for the docs/api-client-libraries.md file. Added Operator API section, and added mesos-operator-api-client to that. This closes
[ { "change_type": "MODIFY", "old_path": "docs/api-client-libraries.md", "new_path": "docs/api-client-libraries.md", "diff": "@@ -109,3 +109,21 @@ run into any issues, file them with the library maintainers.*\n<td>Python</td>\n</tr>\n</table>\n+\n+## Operator API\n+\n+### User Contributed\n+\n+*Note: ...
C++
Apache License 2.0
apache/mesos
Update for the docs/api-client-libraries.md file. Added Operator API section, and added mesos-operator-api-client to that. This closes #219
46,181
15.06.2017 15:57:41
25,200
c9ca148b009c2b3865bcfd0bf68dca54b67d79c6
Fixed whitespace infelicities in libprocess.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/libev.cpp", "new_path": "3rdparty/libprocess/src/libev.cpp", "diff": "@@ -157,6 +157,7 @@ void EventLoop::run()\n__in_event_loop__ = false;\n}\n+\nvoid EventLoop::stop()\n{\nev_async_send(loop, &shutdown_watcher);\n" }, { "chang...
C++
Apache License 2.0
apache/mesos
Fixed whitespace infelicities in libprocess.
46,181
15.06.2017 16:00:40
25,200
64b9ff841711838a9d1392e22ab334c93bbabe86
Fixed whitespace infelicities in stout.
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/duration.hpp", "new_path": "3rdparty/stout/include/stout/duration.hpp", "diff": "@@ -407,6 +407,7 @@ inline Try<Duration> Duration::create(double seconds)\nreturn Nanoseconds(static_cast<int64_t>(seconds * SECONDS));\n}\n+\ninline ...
C++
Apache License 2.0
apache/mesos
Fixed whitespace infelicities in stout.
46,181
15.06.2017 16:27:00
25,200
20e1c740ef469a7c4f2991b9895037c98061cf1a
Fixed file name of blog post for Mesos 1.3.0.
[ { "change_type": "RENAME", "old_path": "site/source/blog/2017-06-07-mesos-1.3.0-released.md", "new_path": "site/source/blog/2017-06-07-mesos-1-3-0-released.md", "diff": "---\nlayout: post\ntitle: Apache Mesos 1.3.0 Released\n-permalink: /blog/mesos-1.3-0-released/\n+permalink: /blog/mesos-1-3-0-rele...
C++
Apache License 2.0
apache/mesos
Fixed file name of blog post for Mesos 1.3.0.
46,145
15.06.2017 14:25:12
25,200
39be533337b58ee1a68dcd0e8d89b4776e38fa34
Added `MESOS_CONTAINER_IP` to tasks launched by `DefaultExecutor`. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -81,6 +81,9 @@ using std::vector;\nnamespace mesos {\nnamespace internal {\n+constexpr char MESOS_CONTAINER_IP[] = \"MESOS_CONTAINER_IP\";\n+\n+\nclass DefaultExec...
C++
Apache License 2.0
apache/mesos
Added `MESOS_CONTAINER_IP` to tasks launched by `DefaultExecutor`. Review: https://reviews.apache.org/r/59949/
46,145
15.06.2017 14:25:16
25,200
2bd97124c4531a84dd16fc72ed6677bcc839a2b0
Added tests for `DefaultExecutor` setting `MESOS_CONTAINER_IP`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "#include <gmock/gmock.h>\n+#include <gtest/gtest.h>\n+\n#include <process/clock.hpp>\n#include \"slave/containerizer/fetcher.hpp\"\n@@ -35,1...
C++
Apache License 2.0
apache/mesos
Added tests for `DefaultExecutor` setting `MESOS_CONTAINER_IP`. Review: https://reviews.apache.org/r/59950/
46,188
15.06.2017 17:09:17
25,200
d7c124514a65494d69883483486f13310b09952b
Reordered a test 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": "@@ -1223,6 +1223,93 @@ TEST_F(CniIsolatorTest, ROOT_INTERNET_VerifyResolverConfig)\n}\n+// This test launches a container which has an image...
C++
Apache License 2.0
apache/mesos
Reordered a test in cni_isolator_tests.cpp.
46,062
16.06.2017 11:27:45
25,200
0606514dddd6c5d8b75fd084ef82357f23e6c8fb
Updated `error.get().message` to `error->message` in `master.cpp`.
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2335,7 +2335,7 @@ void Master::receive(\nOption<Error> error = validation::scheduler::call::validate(call);\nif (error.isSome()) {\n- drop(from, call, error.get().message);\n+ drop(from,...
C++
Apache License 2.0
apache/mesos
Updated `error.get().message` to `error->message` in `master.cpp`.
46,068
16.06.2017 20:29:50
-7,200
9ea7fae68477c7cb8e33e04fd32616a44ee9be2b
Adds authorization for the master's v1 API call SET_LOGGING_LEVEL. Enables authorization in the v1 API call \`SET_LOGGING_LEVEL\` following the existing implementation for the agent call with the same name. Likewise it reuses the authorizer action \`SET_LOG_LEVEL\`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -1998,10 +1998,32 @@ Future<Response> Master::Http::setLoggingLevel(\nDuration duration =\nNanoseconds(call.set_logging_level().duration().nanoseconds());\n+ Future<Owned<ObjectApprover>> app...
C++
Apache License 2.0
apache/mesos
Adds authorization for the master's v1 API call SET_LOGGING_LEVEL. Enables authorization in the v1 API call \`SET_LOGGING_LEVEL\` following the existing implementation for the agent call with the same name. Likewise it reuses the authorizer action \`SET_LOG_LEVEL\`. Review: https://reviews.apache.org/r/58955/
46,068
16.06.2017 20:30:04
-7,200
d83a1676a15aa3f2fc7377bc33683148ea6654db
Enabled authorization for v1 API call UPDATE_MAINTENANCE_SCHEDULE. Enables the use of authorization for the 'UPDATE_MAINTENANCE_SCHEDULE' v1 API call, using the ACL 'UpdateMaintenanceSchedule' and the action of the same name as the API call. It also updates the 'ApiTests' to take into account the authorization case. Re...
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -4026,14 +4026,19 @@ string Master::Http::MAINTENANCE_SCHEDULE_HELP()\n\"\",\n\"POST: Validates the request body as JSON\",\n\"and updates the maintenance schedule.\"),\n- AUTHENTICATION(true...
C++
Apache License 2.0
apache/mesos
Enabled authorization for v1 API call UPDATE_MAINTENANCE_SCHEDULE. Enables the use of authorization for the 'UPDATE_MAINTENANCE_SCHEDULE' v1 API call, using the ACL 'UpdateMaintenanceSchedule' and the action of the same name as the API call. It also updates the 'ApiTests' to take into account the authorization case. ...
46,062
13.06.2017 16:10:51
25,200
dfa37ed8af4647fbfb58471caa46acfcf8f5fba8
Introduced `roles::isStrictSubroleOf` function. This patch introduces a utility to determine whether a role is a strict subrole of another role. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/roles.hpp", "new_path": "include/mesos/roles.hpp", "diff": "namespace mesos {\nnamespace roles {\n+/**\n+ * Returns true iff `left` is a strict subrole of `right`. `left` is a strict\n+ * subrole of `right` if `left` is not equal to `right`, and ...
C++
Apache License 2.0
apache/mesos
Introduced `roles::isStrictSubroleOf` function. This patch introduces a utility to determine whether a role is a strict subrole of another role. Review: https://reviews.apache.org/r/60063
46,062
13.06.2017 16:35:30
25,200
9cfae1bdea14ab07b879d5aba8ec2c8ac2f76693
Updated `isAllocatableTo` to use the `roles::isStrictSubroleOf` utility. This patch simplifies the `isAllocatableTo` function by leveraging the `roles::isStrictSubroleOf` function introduced in Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "@@ -917,15 +917,9 @@ bool Resources::isAllocatableTo(\nconst Resource& resource,\nconst std::string& role)\n{\n- if (isUnreserved(resource)) {\n- return true;\n- }\n-\n- const vector<s...
C++
Apache License 2.0
apache/mesos
Updated `isAllocatableTo` to use the `roles::isStrictSubroleOf` utility. This patch simplifies the `isAllocatableTo` function by leveraging the `roles::isStrictSubroleOf` function introduced in https://reviews.apache.org/r/60064. Review: https://reviews.apache.org/r/60064
46,165
16.06.2017 16:42:55
25,200
d526de0f735d41db13d85bad87cac49f8e525215
Fixed a crash in libprocess when failing to decode a request path. This code was accidentally calling `.get()` instead of `.error()`.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/process.cpp", "new_path": "3rdparty/libprocess/src/process.cpp", "diff": "@@ -813,7 +813,7 @@ static Future<Message*> parse(const Request& request)\nTry<string> decode = http::decode(request.url.path.substr(1, index));\nif (decode.isErr...
C++
Apache License 2.0
apache/mesos
Fixed a crash in libprocess when failing to decode a request path. This code was accidentally calling `.get()` instead of `.error()`.
46,110
16.06.2017 01:56:07
25,200
3d3d5b9b1c765c503a7f0d3dd89c15f5ec966f5f
Updated website for 1.2.1 release.
[ { "change_type": "MODIFY", "old_path": "site/data/releases.yml", "new_path": "site/data/releases.yml", "diff": "@@ -15,6 +15,10 @@ news:\n## - title: (required)\n## date: (required)\n## blog: (required)\n+ - title: Mesos 1.2.1 is released!\n+ date: June 12, 2017\n+ blog: mesos-1-2-1-released\n+ targ...
C++
Apache License 2.0
apache/mesos
Updated website for 1.2.1 release.
46,110
16.06.2017 18:40:38
25,200
024336ac072a1cfc25c0cc5dd0ff8987b9b4e088
Updated endpoint docs for maintenance endpoint authz.
[ { "change_type": "MODIFY", "old_path": "docs/endpoints/master/machine/down.md", "new_path": "docs/endpoints/master/machine/down.md", "diff": "@@ -28,3 +28,7 @@ POST: Validates the request body as JSON and transitions\n### AUTHENTICATION ###\nThis endpoint requires authentication iff HTTP authenticat...
C++
Apache License 2.0
apache/mesos
Updated endpoint docs for maintenance endpoint authz.
46,062
17.06.2017 01:40:42
25,200
dc679b2c392cb81712ad6e4957360976d599ef4e
Fixed a few minor formatting issues. This patch places the single-quotes on the same line in error messages, and also places the spaces in an error message at the beginning of the line rather than at the end.
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -1851,8 +1851,8 @@ Option<Error> validate(\nstrings::contains(resource.role(), \"/\")) {\nreturn Error(\n\"Resource \" + stringify(resource) +\n- \" with reservation for hierarchi...
C++
Apache License 2.0
apache/mesos
Fixed a few minor formatting issues. This patch places the single-quotes on the same line in error messages, and also places the spaces in an error message at the beginning of the line rather than at the end.
46,062
17.06.2017 01:41:55
25,200
fe6a3eb48af793b5cf2e1308d9164cdec1c4875a
Resources: Updated the validation logic. This patch updates `Resources::validate`, and `resource::validate`. The `Resources::validate` function ensures that the resources are either in the 'pre-' or 'post-' reservation-refinement formats, but not both. The `resource::validate` function takes an optional framework capab...
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "@@ -512,8 +512,8 @@ static Option<Error> validateCommandLineResources(const Resources& resources)\n\" not include a 'revocable' key in the resources JSON\");\n} else if (Resources::isD...
C++
Apache License 2.0
apache/mesos
Resources: Updated the validation logic. This patch updates `Resources::validate`, and `resource::validate`. The `Resources::validate` function ensures that the resources are either in the 'pre-' or 'post-' reservation-refinement formats, but not both. The `resource::validate` function takes an optional framework ca...
46,062
14.06.2017 21:28:04
25,200
4f16535704ac6f8417dfcef6c6347658114db97e
Resources: Added `toUnreserved()` and `(push|pop)Reservation`. This patches introduces utilities `toUnreserved`, `pushReservation` and `popReservation`. They are intended to replace the current `flatten`. We'll switch over to use them once the 'post-reservation-refinement' format is used for `Resources`. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -424,14 +424,31 @@ public:\n// 'reservation' field is cleared.\n// Returns an Error when the role is invalid or the reservation\n// is set when the role is '*'.\n+ //\n+ // TO...
C++
Apache License 2.0
apache/mesos
Resources: Added `toUnreserved()` and `(push|pop)Reservation`. This patches introduces utilities `toUnreserved`, `pushReservation` and `popReservation`. They are intended to replace the current `flatten`. We'll switch over to use them once the 'post-reservation-refinement' format is used for `Resources`. Review: http...
46,056
12.06.2017 15:35:31
-7,200
393f89890202416c1cdc5d06eaa37636930a3b0d
Removed superfluous log message in docker containerizer. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/docker.cpp", "new_path": "src/slave/containerizer/docker.cpp", "diff": "@@ -2082,8 +2082,6 @@ Future<bool> DockerContainerizerProcess::destroy(\n.then([]() { return true; });\n}\n- LOG(INFO) << \"Destroying container \" << containerId;\...
C++
Apache License 2.0
apache/mesos
Removed superfluous log message in docker containerizer. Review: https://reviews.apache.org/r/60001
46,092
18.06.2017 12:32:04
25,200
dd1c60d296a5690a97878f083fac0771d713932d
Used `Bytes` rather than `Megabytes` in two places. This matches the typical idiom for using `Bytes`: use a child class constructor (e.g., `Megabytes(10)`), but pass around variables of the parent class type (`Bytes`). Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/persistent_volume_tests.cpp", "new_path": "src/tests/persistent_volume_tests.cpp", "diff": "@@ -157,7 +157,7 @@ protected:\n// Creates a disk with / without a `source` based on the\n// parameterization of the test. `id` influences the `root` if one\n...
C++
Apache License 2.0
apache/mesos
Used `Bytes` rather than `Megabytes` in two places. This matches the typical idiom for using `Bytes`: use a child class constructor (e.g., `Megabytes(10)`), but pass around variables of the parent class type (`Bytes`). Review: https://reviews.apache.org/r/59454/
46,062
17.06.2017 21:03:30
25,200
5124602beca53dea153781167121aaaedb30291e
Introduced a utility function `Resources::hasRefinedReservations`. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -306,6 +306,9 @@ public:\n// Tests if the given Resource object is shared.\nstatic bool isShared(const Resource& resource);\n+ // Tests if the given Resource object has refine...
C++
Apache License 2.0
apache/mesos
Introduced a utility function `Resources::hasRefinedReservations`. Review: https://reviews.apache.org/r/60175
46,181
18.06.2017 20:12:43
25,200
ff5dce24ec20a27d1eaee30f084081861231982c
Added test for endpoint resource format. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "@@ -269,6 +269,61 @@ TEST_F(ResourceValidationTest, SharedPersistentVolume)\n}\n+// This test checks that the master considers resources in the \"endpoint\"\n...
C++
Apache License 2.0
apache/mesos
Added test for endpoint resource format. Review: https://reviews.apache.org/r/60178/
46,062
18.06.2017 21:13:23
25,200
6e822c0034be1518768736d46e3349866afe54ba
Fixed an error message to report the allocation role as intended.
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -1950,8 +1950,9 @@ Option<Error> validate(\nif (!frameworkRoles->contains(resource.allocation_info().role())) {\nreturn Error(\n\"A reserve operation was attempted for a resource ...
C++
Apache License 2.0
apache/mesos
Fixed an error message to report the allocation role as intended.
46,062
18.06.2017 22:52:01
25,200
8ed55362eb0caf93b7a257d0ce5e46f387305209
Fixed some formatting of log messages in `hierarchical.cpp`.
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -2121,9 +2121,9 @@ bool HierarchicalAllocatorProcess::isFiltered(\n// to MULTI_ROLE frameworks.\nif (framework.capabilities.multiRole &&\n!slav...
C++
Apache License 2.0
apache/mesos
Fixed some formatting of log messages in `hierarchical.cpp`.
46,062
19.06.2017 08:26:05
25,200
e00cceda4c31b71017cc9db860e3cf038bbf1d77
Added tests for resource format and moved the "endpoint" format test.
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "@@ -269,61 +269,6 @@ TEST_F(ResourceValidationTest, SharedPersistentVolume)\n}\n-// This test checks that the master considers resources in the \"endpoint\"\n...
C++
Apache License 2.0
apache/mesos
Added tests for resource format and moved the "endpoint" format test.
46,062
19.06.2017 07:57:03
25,200
59b9b4e2ad198b4b969704df65d10dcf89327f28
Added a couple of missing validation logic + minor improvements. The `ReservationInfo`s in `Resource.reservations` are required to have the `type` and `role` fields. This patch adds validation logic to enforce that. It also makes a few improvements in the error messages by checking conditions more fine-grained. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "@@ -874,6 +874,18 @@ Option<Error> Resources::validate(const Resource& resource)\n// Validate all of the roles in `reservations`.\nforeach (\nconst Resource::ReservationInfo& reservati...
C++
Apache License 2.0
apache/mesos
Added a couple of missing validation logic + minor improvements. The `ReservationInfo`s in `Resource.reservations` are required to have the `type` and `role` fields. This patch adds validation logic to enforce that. It also makes a few improvements in the error messages by checking conditions more fine-grained. Revie...
46,181
19.06.2017 22:42:12
25,200
6c0d9c5d37375557859011d458abec6ff808918a
Tweaked a parameter to pass by const ref instead of value. Tweaked a parameter to pass by const ref instead of value. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker_process.cpp", "new_path": "src/checks/checker_process.cpp", "diff": "@@ -596,7 +596,7 @@ void CheckerProcess::___nestedCommandCheck(\nvoid CheckerProcess::nestedCommandCheckFailure(\nshared_ptr<Promise<int>> promise,\nhttp::Connection connec...
C++
Apache License 2.0
apache/mesos
Tweaked a parameter to pass by const ref instead of value. Tweaked a parameter to pass by const ref instead of value. Review: https://reviews.apache.org/r/60138/
46,077
20.06.2017 15:51:50
-28,800
feac8c9b6ae1b15bc8a98edd0bba4943614f3e8c
Ensured sandbox URI request reroute after fetched `$scope.state`. Open sandbox link in a new tab would fail since it depends on agents information loading finish. This patch fixes it by ensuring the agents information loaded first and then rerouting the sandbox request. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/js/controllers.js", "new_path": "src/webui/master/static/js/controllers.js", "diff": "}\n}\n- // When navigating directly to this page, e.g. pasting the URL into the\n- // browser, the previous page is not a page in Mesos. In that case,...
C++
Apache License 2.0
apache/mesos
Ensured sandbox URI request reroute after fetched `$scope.state`. Open sandbox link in a new tab would fail since it depends on agents information loading finish. This patch fixes it by ensuring the agents information loaded first and then rerouting the sandbox request. Review: https://reviews.apache.org/r/58872/
46,062
18.06.2017 21:55:12
25,200
db2babf9829edbd20124c04b93910ce370d62f08
Resources: Updated the comment to mention the resource format [1/20]. With reservation refinement, `Resources` always stores `Resource` objects that are validated, and in the "post-reservation-refinement" format. Added this precondition to the top of `Resources` declaration. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "namespace mesos {\n-// NOTE: Resource objects stored in the class are always valid and\n-// kept combined if possible. It is the caller's responsibility to\n-// validate any Reso...
C++
Apache License 2.0
apache/mesos
Resources: Updated the comment to mention the resource format [1/20]. With reservation refinement, `Resources` always stores `Resource` objects that are validated, and in the "post-reservation-refinement" format. Added this precondition to the top of `Resources` declaration. Review: https://reviews.apache.org/r/60181
46,062
25.05.2017 17:20:37
25,200
2d78e5aec75bdd2b6115d9a822a93e8b5fa70283
Resources: Adjusted the comparators to new resource format [3/20]. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "@@ -80,6 +80,14 @@ bool operator==(\nconst Resource::ReservationInfo& left,\nconst Resource::ReservationInfo& right)\n{\n+ if (left.type() != right.type()) {\n+ return false;\n+ }\n+\n...
C++
Apache License 2.0
apache/mesos
Resources: Adjusted the comparators to new resource format [3/20]. Review: https://reviews.apache.org/r/60016
46,062
18.06.2017 22:05:10
25,200
9ac264bf533b96629dbb742e42c93b537a88ef6e
Resources: Adjusted `operator<<` to the new resource format [4/20]. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "@@ -2182,27 +2182,6 @@ ostream& operator<<(ostream& stream, const Volume& volume)\n}\n-ostream& operator<<(ostream& stream, const Resource::DiskInfo& disk)\n-{\n- if (disk.has_source()...
C++
Apache License 2.0
apache/mesos
Resources: Adjusted `operator<<` to the new resource format [4/20]. Review: https://reviews.apache.org/r/60184
46,062
18.06.2017 22:04:29
25,200
0bae26707645f515317b3860b22df822dd85e718
Resources: Adjusted the utilities to the new resource format [5/20]. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "@@ -1510,7 +1510,18 @@ Resources Resources::createStrippedScalarQuantity() const\nResource scalar = resource;\nscalar.clear_provider_id();\nscalar.clear_allocation_info();\n- scalar.cl...
C++
Apache License 2.0
apache/mesos
Resources: Adjusted the utilities to the new resource format [5/20]. Review: https://reviews.apache.org/r/60017
46,062
13.06.2017 01:40:21
25,200
76b0f4ed82a51ab9eec3dc2b0d1542c8b29d1ab6
Resources: Adjusted `parse` to produce new resource format [6/20]. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "#include <stout/strings.hpp>\n#include <stout/unreachable.hpp>\n+#include \"common/resources_utils.hpp\"\n+\nusing std::map;\nusing std::ostream;\nusing std::set;\n@@ -604,7 +606,12 @@...
C++
Apache License 2.0
apache/mesos
Resources: Adjusted `parse` to produce new resource format [6/20]. Review: https://reviews.apache.org/r/60040
46,062
18.06.2017 21:15:14
25,200
7877b46f74730b61daf5179121139b40df26c2a6
Introduced a utility function `Resources::reservationRole` [7/20]. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -306,6 +306,10 @@ public:\n// Tests if the given Resource object has refined reservations.\nstatic bool hasRefinedReservations(const Resource& resource);\n+ // Returns the rol...
C++
Apache License 2.0
apache/mesos
Introduced a utility function `Resources::reservationRole` [7/20]. Review: https://reviews.apache.org/r/60015
46,062
18.06.2017 21:12:07
25,200
3e8311e53db9af73ee9219480b6ec9b475578048
Adjusted the master validation to the new resource format [9/20]. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -720,7 +720,7 @@ Option<Error> validateUniquePersistenceID(\nResources volumes = resources.persistentVolumes();\nforeach (const Resource& volume, volumes) {\n- const string& role ...
C++
Apache License 2.0
apache/mesos
Adjusted the master validation to the new resource format [9/20]. Review: https://reviews.apache.org/r/60185
46,062
17.06.2017 15:38:58
25,200
0322de5971a72fa0750f07703994be206967158d
Adjusted the master to the new resources format [10/20]. The master uses `convertResourceFormat` to convert the in-bound resources to the "post-reservation-refinement" format, and the out-bound resources are converted back the "pre-", or "endpoint" format as necessary. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -1129,6 +1129,8 @@ Future<Response> Master::Http::_createVolumes(\nvalidate.get().message);\n}\n+ convertResourceFormat(&operation, POST_RESERVATION_REFINEMENT);\n+\nreturn master->authorizeC...
C++
Apache License 2.0
apache/mesos
Adjusted the master to the new resources format [10/20]. The master uses `convertResourceFormat` to convert the in-bound resources to the "post-reservation-refinement" format, and the out-bound resources are converted back the "pre-", or "endpoint" format as necessary. Review: https://reviews.apache.org/r/60069
46,062
19.06.2017 14:30:19
25,200
0d5792d8ff62bd6415ad605c215fce3a7f9da229
Adjusted the agent to the new resources format [11/20]. The agent uses `convertResourceFormat` to convert the in-bound resources to the "post-reseration-refinement" format, and the out-bound resources are converted back to "pre-" or "endpoint" format as necessary. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources_utils.hpp", "new_path": "src/common/resources_utils.hpp", "diff": "@@ -137,8 +137,8 @@ void convertResourceFormat(Offer::Operation* operation, ResourceFormat format);\n// Convert the given resources to the \"pre-reservation-refinement\" fo...
C++
Apache License 2.0
apache/mesos
Adjusted the agent to the new resources format [11/20]. The agent uses `convertResourceFormat` to convert the in-bound resources to the "post-reseration-refinement" format, and the out-bound resources are converted back to "pre-" or "endpoint" format as necessary. Review: https://reviews.apache.org/r/60070
46,062
31.05.2017 18:39:06
25,200
6be854ada23dc2da21c11516f0ec51e24090001a
Adjusted the authorizer to the new resource format [12/20]. Review:
[ { "change_type": "MODIFY", "old_path": "src/authorizer/local/authorizer.cpp", "new_path": "src/authorizer/local/authorizer.cpp", "diff": "@@ -233,7 +233,15 @@ public:\ncase authorization::UNRESERVE_RESOURCES:\naclObject.set_type(mesos::ACL::Entity::SOME);\nif (object->resource) {\n- aclObject.add_va...
C++
Apache License 2.0
apache/mesos
Adjusted the authorizer to the new resource format [12/20]. Review: https://reviews.apache.org/r/60068
46,062
19.06.2017 13:14:18
25,200
78ea693723cb8f12944b079d442c474ea13666db
Added the agent `RESERVATION_REFINEMENT` capability [13/20]. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/constants.cpp", "new_path": "src/slave/constants.cpp", "diff": "@@ -37,7 +37,8 @@ vector<SlaveInfo::Capability> AGENT_CAPABILITIES()\n{\nSlaveInfo::Capability::Type types[] = {\nSlaveInfo::Capability::MULTI_ROLE,\n- SlaveInfo::Capability::HIERARCHICA...
C++
Apache License 2.0
apache/mesos
Added the agent `RESERVATION_REFINEMENT` capability [13/20]. Review: https://reviews.apache.org/r/60190
46,062
20.06.2017 01:09:19
25,200
b71fe0313173bb72490ec4b63b384297ded6b1d7
Marked `Resource.role` as deprecated [15/20]. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -987,7 +987,7 @@ message Resource {\n// See the 'Resource Format' section for more details.\n//\n// TODO(mpark): Deprecate once `reservations` is no longer experimental.\n- option...
C++
Apache License 2.0
apache/mesos
Marked `Resource.role` as deprecated [15/20]. Review: https://reviews.apache.org/r/60222/
46,062
20.06.2017 01:09:29
25,200
6749cfd58ef9d76636ebb0d5c0ad92891dd82e34
Removed `modelProtobufJSON` and replaced with `JSON::Protobuf` [16/20]. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/http.cpp", "new_path": "src/common/http.cpp", "diff": "@@ -112,7 +112,7 @@ string serialize(\nreturn message.SerializeAsString();\n}\ncase ContentType::JSON: {\n- return stringify(modelProtobufJSON(message));\n+ return stringify(JSON::protobuf(messa...
C++
Apache License 2.0
apache/mesos
Removed `modelProtobufJSON` and replaced with `JSON::Protobuf` [16/20]. Review: https://reviews.apache.org/r/60223/
46,062
20.06.2017 01:09:47
25,200
42a1913cedd8d6174bdf60af194a5515af8c91b3
Adjusted test utilities to the resource format [17/20]. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -730,13 +730,28 @@ inline TTaskGroupInfo createTaskGroupInfo(const std::vector<TTaskInfo>& tasks)\n}\n+template <typename TResource>\n+inline typename TResource::ReservationInfo createStaticR...
C++
Apache License 2.0
apache/mesos
Adjusted test utilities to the resource format [17/20]. Review: https://reviews.apache.org/r/60071/
46,062
20.06.2017 01:10:15
25,200
ded150a97c6e80af6a7df440c313e85cf2a25fe3
Added `RESERVATION_REFINEMENT` capability to tests [18/20]. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/disk_full_framework.cpp", "new_path": "src/examples/disk_full_framework.cpp", "diff": "@@ -436,6 +436,8 @@ int main(int argc, char** argv)\nframework.set_user(\"\"); // Have Mesos fill the current user.\nframework.set_name(\"Disk Full Framework (C...
C++
Apache License 2.0
apache/mesos
Added `RESERVATION_REFINEMENT` capability to tests [18/20]. Review: https://reviews.apache.org/r/60073/
46,062
20.06.2017 01:10:57
25,200
9036c31873954c59d8e03076796acf2e578c10a8
Updated authorization tests [20/20]. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/authorization_tests.cpp", "new_path": "src/tests/authorization_tests.cpp", "diff": "@@ -1085,7 +1085,11 @@ TYPED_TEST(AuthorizationTest, Reserve)\nauthorization::Request request;\nrequest.set_action(authorization::RESERVE_RESOURCES);\nrequest.mutable...
C++
Apache License 2.0
apache/mesos
Updated authorization tests [20/20]. Review: https://reviews.apache.org/r/60074/
46,066
20.06.2017 15:07:40
-7,200
eab0c67cb485ef629ffb44708335c6832ad8133c
Fixed a signed / unsigned comparison in resources_tests.cpp. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/resources_tests.cpp", "new_path": "src/tests/resources_tests.cpp", "diff": "@@ -2514,7 +2514,7 @@ TEST(ResourcesOperationTest, StrippedResourcesVolume)\nEXPECT_FLOAT_EQ(200, strippedVolume.scalar().value());\nEXPECT_EQ(\"role\", Resources::reservatio...
C++
Apache License 2.0
apache/mesos
Fixed a signed / unsigned comparison in resources_tests.cpp. Review: https://reviews.apache.org/r/60239/
46,077
20.06.2017 22:17:55
-28,800
3bea3fcb4eef00ce469ba4f27fcfd2d3eec05aea
Stripped spaces between directory elements in WebUI. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/browse.html", "new_path": "src/webui/master/static/browse.html", "diff": "</ol>\n<ol class=\"breadcrumb\">\n- <li ng-repeat=\"dir in path.split('/')\">\n- <a href=\"#/agents/{{agent_id}}/browse?path={{\n- encodeURIComponent(path.split('...
C++
Apache License 2.0
apache/mesos
Stripped spaces between directory elements in WebUI. Review: https://reviews.apache.org/r/58874/
46,103
20.06.2017 10:11:44
25,200
87d4bfcc84d2f371c0f45215055112c6d44d80b3
Tidied up lambda capture list. This commit removes capture of 'DISK_SIZE' which is neither used in the lambda nor captured to extend its lifetime. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/role_tests.cpp", "new_path": "src/tests/role_tests.cpp", "diff": "@@ -931,7 +931,7 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(RoleTest, VolumesInOverlappingHierarchies)\n// persistent volume with the given id. The framework creates a task\n// using the volum...
C++
Apache License 2.0
apache/mesos
Tidied up lambda capture list. This commit removes capture of 'DISK_SIZE' which is neither used in the lambda nor captured to extend its lifetime. Review: https://reviews.apache.org/r/60244/
46,062
13.06.2017 01:40:43
25,200
fd3e9e9f16f6659d3eb88da02b7d02b2d49bd729
Converted the resources to the "endpoint" format for V0 endpoints. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "#include \"common/build.hpp\"\n#include \"common/http.hpp\"\n#include \"common/protobuf_utils.hpp\"\n+#include \"common/resources_utils.hpp\"\n#include \"internal/devolve.hpp\"\n@@ -2353,20 +235...
C++
Apache License 2.0
apache/mesos
Converted the resources to the "endpoint" format for V0 endpoints. Review: https://reviews.apache.org/r/60041
46,062
18.06.2017 23:32:52
25,200
663cf58c29b8b03e1733395791fe958e7fb6b298
Converted the resources to the "endpoint" format for V1 endpoints. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.cpp", "new_path": "src/common/protobuf_utils.cpp", "diff": "#endif // __WINDOWS__\n#include \"common/protobuf_utils.hpp\"\n+#include \"common/resources_utils.hpp\"\n#include \"master/master.hpp\"\n@@ -826,15 +827,21 @@ mesos::master::...
C++
Apache License 2.0
apache/mesos
Converted the resources to the "endpoint" format for V1 endpoints. Review: https://reviews.apache.org/r/60187
46,062
20.06.2017 17:17:49
25,200
063966355e346258a6892112fcc832d8eb0508f4
Updated a `CREATE` error message mention "create" rather than "reserve".
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -2107,7 +2107,7 @@ Option<Error> validate(\n\"Volume \" + stringify(volume) +\n\" with reservation for hierarchical role\"\n\" '\" + Resources::reservationRole(volume) + \"'\"\n- ...
C++
Apache License 2.0
apache/mesos
Updated a `CREATE` error message mention "create" rather than "reserve".
46,062
20.06.2017 16:16:37
25,200
69187c749f47bbebaaf1122de66d8e905d9a7c34
Added missing `RESERVATION_REFINEMENT` capability to examples and tests. This is a follow-up to We missed a few places in root tests and examples which aren't part of the test suite. Review:
[ { "change_type": "MODIFY", "old_path": "src/cli/execute.cpp", "new_path": "src/cli/execute.cpp", "diff": "@@ -1036,8 +1036,10 @@ int main(int argc, char** argv)\n}\n// Always enable the TASK_KILLING_STATE capability.\n- vector<FrameworkInfo::Capability::Type> frameworkCapabilities =\n- { FrameworkIn...
C++
Apache License 2.0
apache/mesos
Added missing `RESERVATION_REFINEMENT` capability to examples and tests. This is a follow-up to https://reviews.apache.org/r/60073/. We missed a few places in root tests and examples which aren't part of the test suite. Review: https://reviews.apache.org/r/60254
46,062
19.06.2017 14:56:34
25,200
7e7335b5d37a67ca45252ccd22b3df0e8b8b436e
Replaced incorrect use of `CHECK_GE`s with `CHECK_GT`.
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "@@ -890,7 +890,7 @@ Option<Error> Resources::validate(const Resource& resource)\n} else {\n// Check for the \"post-reservation-refinement\" format.\n- CHECK_GE(resource.reservations_si...
C++
Apache License 2.0
apache/mesos
Replaced incorrect use of `CHECK_GE`s with `CHECK_GT`.
46,062
20.06.2017 19:52:59
25,200
3e20aa8abfbae5d92748450c147b44ec31a1bc80
Fixed an error message dependent test `AgentHierarchicalRoleCapability`.
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "@@ -1022,7 +1022,7 @@ TEST_F(CreateOperationValidationTest, AgentHierarchicalRoleCapability)\nASSERT_SOME(error);\nEXPECT_TRUE(strings::contains(\nerror->mess...
C++
Apache License 2.0
apache/mesos
Fixed an error message dependent test `AgentHierarchicalRoleCapability`.
46,123
21.06.2017 09:41:45
25,200
119c6d46bfbc89d24d2619b46788ae3173428fc5
Renamed a variable in SlaveRecoveryTest.RecoverSlaveState. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_recovery_tests.cpp", "new_path": "src/tests/slave_recovery_tests.cpp", "diff": "@@ -238,7 +238,7 @@ TYPED_TEST(SlaveRecoveryTest, RecoverSlaveState)\nFuture<mesos::scheduler::Call> ack = FUTURE_CALL(\nmesos::scheduler::Call(), mesos::scheduler:...
C++
Apache License 2.0
apache/mesos
Renamed a variable in SlaveRecoveryTest.RecoverSlaveState. Review: https://reviews.apache.org/r/60103/
46,114
21.06.2017 14:26:07
25,200
83a6182b8be25e0470a05d7cbf0125bb5df71756
Changed "future discarded" log message from error to info. This log line is not usually a problem, and reporting it as an error can cause needless debugging. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/process.cpp", "new_path": "3rdparty/libprocess/src/process.cpp", "diff": "@@ -965,7 +965,7 @@ void on_accept(const Future<Socket>& socket)\nsocket.get(),\ndecoder));\n} else {\n- LOG(ERROR) << \"Failed to accept socket: \"\n+ LOG(INFO) ...
C++
Apache License 2.0
apache/mesos
Changed "future discarded" log message from error to info. This log line is not usually a problem, and reporting it as an error can cause needless debugging. Review: https://reviews.apache.org/r/59817/
46,114
21.06.2017 14:29:12
25,200
86e635b9f11e441bce3901a941c2d52b20518dbb
Windows: Use `cmd /C exit 1` instead of `false`. This fixes tests that pass but emit error messages due to `false` not existing as a command on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/health_check_tests.cpp", "new_path": "src/tests/health_check_tests.cpp", "diff": "@@ -1159,10 +1159,16 @@ TEST_F(HealthCheckTest, GracePeriod)\nAWAIT_READY(offers);\nEXPECT_NE(0u, offers->size());\n+#ifndef __WINDOWS__\n+ const string falseCommand = ...
C++
Apache License 2.0
apache/mesos
Windows: Use `cmd /C exit 1` instead of `false`. This fixes tests that pass but emit error messages due to `false` not existing as a command on Windows. Review: https://reviews.apache.org/r/59891/
46,172
21.06.2017 14:54:31
25,200
f030c4bd5e8f3cae780052fe62dc260dd7e6eac9
Linted support/mesos-style.py. This will allow us to use PyLint on the entire support directory in the future. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-style.py", "new_path": "support/mesos-style.py", "diff": "#!/usr/bin/env python\n-\n-''' Runs checks for mesos style. '''\n+#\n+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTIC...
C++
Apache License 2.0
apache/mesos
Linted support/mesos-style.py. This will allow us to use PyLint on the entire support directory in the future. Review: https://reviews.apache.org/r/60227/
46,172
21.06.2017 15:00:52
25,200
09fc35978c77ed0f22df1823f5c9220f1ed098ed
Linted support/apply-reviews.py. This will allow us to use PyLint on the entire support directory in the future. Review:
[ { "change_type": "MODIFY", "old_path": "support/apply-reviews.py", "new_path": "support/apply-reviews.py", "diff": "#!/usr/bin/env python\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 ...
C++
Apache License 2.0
apache/mesos
Linted support/apply-reviews.py. This will allow us to use PyLint on the entire support directory in the future. Review: https://reviews.apache.org/r/60228/
46,172
21.06.2017 15:33:50
25,200
bb8e738b8e10a8061318d081cf75de2e0d0bc47c
Linted support/generate-endpoint-help.py. This will allow us to use PyLint on the entire support directory in the future. Review:
[ { "change_type": "MODIFY", "old_path": "support/generate-endpoint-help.py", "new_path": "support/generate-endpoint-help.py", "diff": "#!/usr/bin/env python\n+#\n+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distribut...
C++
Apache License 2.0
apache/mesos
Linted support/generate-endpoint-help.py. This will allow us to use PyLint on the entire support directory in the future. Review: https://reviews.apache.org/r/60229/
46,172
21.06.2017 16:18:32
25,200
635b3ed52c51bfad2d5d1e3ad76a7454a7552baf
Linted support/jsonurl.py. This will allow us to use PyLint on the entire support directory in the future. Review:
[ { "change_type": "MODIFY", "old_path": "support/jsonurl.py", "new_path": "support/jsonurl.py", "diff": "#!/usr/bin/env python\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 addition...
C++
Apache License 2.0
apache/mesos
Linted support/jsonurl.py. This will allow us to use PyLint on the entire support directory in the future. Review: https://reviews.apache.org/r/60230/
46,172
21.06.2017 16:32:16
25,200
62de760059cd07ea0127a6b58588dd777abfa4d8
Linted support/mesos-gtest-runner.py. This will allow us to use PyLint on the entire support directory in the future. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-gtest-runner.py", "new_path": "support/mesos-gtest-runner.py", "diff": "@@ -41,7 +41,7 @@ import sys\nDEFAULT_NUM_JOBS = int(multiprocessing.cpu_count() * 1.5)\n-class Bcolors:\n+class Bcolors(object):\n\"\"\"\nA collection of tty output modifier...
C++
Apache License 2.0
apache/mesos
Linted support/mesos-gtest-runner.py. This will allow us to use PyLint on the entire support directory in the future. Review: https://reviews.apache.org/r/60231/
46,172
21.06.2017 16:34:11
25,200
95ae610acd5cdd52f561776f9bceb727d8239abc
Linted support/mesos-split.py. This will allow us to use PyLint on the entire support directory in the future. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-split.py", "new_path": "support/mesos-split.py", "diff": "# See the License for the specific language governing permissions and\n# limitations under the License.\n-# Errors if a list of files spans across the projects which make up\n-# mesos.\n-\...
C++
Apache License 2.0
apache/mesos
Linted support/mesos-split.py. This will allow us to use PyLint on the entire support directory in the future. Review: https://reviews.apache.org/r/60232/
46,056
22.06.2017 15:04:26
-7,200
257acc8f071e01143049e5ffa08bc33f12e96ac9
Printed the reason why offer is declined in disk full framework. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/disk_full_framework.cpp", "new_path": "src/examples/disk_full_framework.cpp", "diff": "@@ -157,6 +157,10 @@ public:\nFilters filters;\nfilters.set_refuse_seconds(600);\n+ LOG(INFO) << \"Declining offer \" << offer.id() << \": \"\n+ << (taskActive ...
C++
Apache License 2.0
apache/mesos
Printed the reason why offer is declined in disk full framework. Review: https://reviews.apache.org/r/60122/
46,056
22.06.2017 15:04:36
-7,200
19a6134d03141dc2cb073a904378c2c129b5138d
Minor clean up of the balloon framework. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/balloon_framework.cpp", "new_path": "src/examples/balloon_framework.cpp", "diff": "@@ -189,7 +189,7 @@ public:\nint taskId = tasksLaunched++;\n- LOG(INFO) << \"Starting task \" << taskId;\n+ LOG(INFO) << \"Launching task \" << taskId;\nTaskInfo ta...
C++
Apache License 2.0
apache/mesos
Minor clean up of the balloon framework. Review: https://reviews.apache.org/r/60123/
46,062
21.06.2017 11:52:12
25,200
8209c0e33ad611cd868421b59423568cf4bbef2b
Removed unused `convertResourceFormat` for `Operation`. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources_utils.cpp", "new_path": "src/common/resources_utils.cpp", "diff": "@@ -195,79 +195,6 @@ void convertResourceFormat(\n}\n-void convertResourceFormat(Offer::Operation* operation, ResourceFormat format)\n-{\n- switch (operation->type()) {\n- ...
C++
Apache License 2.0
apache/mesos
Removed unused `convertResourceFormat` for `Operation`. Review: https://reviews.apache.org/r/60284
46,062
22.06.2017 11:24:55
25,200
42ca18cfb4cccfc1ba2d5609de60c267b9a78bcb
Required that resources are always downgraded for a non-capable agent. Since the master prevents refined reservations from being created on non-capable agents, we cannot be in a situation in which the resources are not downgradable for a non-capable agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -4663,35 +4663,30 @@ void Master::_accept(\nslave->info));\n}\n- Try<Nothing> sendRunTaskMessage = Nothing();\n-\n+ // If the agent does not support reservation refinement,\n+ // downgrad...
C++
Apache License 2.0
apache/mesos
Required that resources are always downgraded for a non-capable agent. Since the master prevents refined reservations from being created on non-capable agents, we cannot be in a situation in which the resources are not downgradable for a non-capable agent. Review: https://reviews.apache.org/r/60374
46,181
22.06.2017 15:51:27
25,200
557ced0f330edd7baf2959cd700ecdc6b3a69b9d
Added test for reservation refinements and old agents. If the agent does not support reservation refinements, attempts to create a reservation refinement on the agent should be dropped by the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/upgrade_tests.cpp", "new_path": "src/tests/upgrade_tests.cpp", "diff": "#include \"tests/containerizer.hpp\"\n#include \"tests/mesos.hpp\"\n+#include \"tests/resources_utils.hpp\"\nusing mesos::internal::master::Master;\n@@ -778,6 +779,163 @@ TEST_F(...
C++
Apache License 2.0
apache/mesos
Added test for reservation refinements and old agents. If the agent does not support reservation refinements, attempts to create a reservation refinement on the agent should be dropped by the master. Review: https://reviews.apache.org/r/60377/
46,181
23.06.2017 15:48:23
25,200
6b543494f53a467a6aeb702fb0850cb7d66cc4cd
Documented the content of the `SlaveInfo.resources` field. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -810,7 +810,12 @@ message MasterInfo {\nmessage SlaveInfo {\nrequired string hostname = 1;\noptional int32 port = 8 [default = 5051];\n+\n+ // The configured resources at the agen...
C++
Apache License 2.0
apache/mesos
Documented the content of the `SlaveInfo.resources` field. Review: https://reviews.apache.org/r/60404
46,181
23.06.2017 15:49:23
25,200
09fcc7fd7e8161bec664e0eec25b6dad635de202
Documented resource format in agent <-> master protocol. Review:
[ { "change_type": "MODIFY", "old_path": "src/messages/messages.proto", "new_path": "src/messages/messages.proto", "diff": "@@ -429,11 +429,17 @@ message FrameworkErrorMessage {\n* Failure conditions are documented inline in Master::registerSlave.\n*/\nmessage RegisterSlaveMessage {\n+ // NOTE: The `R...
C++
Apache License 2.0
apache/mesos
Documented resource format in agent <-> master protocol. Review: https://reviews.apache.org/r/60405
46,181
24.06.2017 12:06:15
25,200
ea7c9807b649f7305c20515ec60785cd08ea5f33
Added comment to master logic for downgrading checkpointed resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -6389,6 +6389,14 @@ void Master::___reregisterSlave(\nmessage.mutable_resources()->CopyFrom(slave->checkpointedResources);\nif (!slave->capabilities.reservationRefinement) {\n+ // If the ...
C++
Apache License 2.0
apache/mesos
Added comment to master logic for downgrading checkpointed resources. Review: https://reviews.apache.org/r/60415
46,181
23.06.2017 15:56:24
25,200
8bfb411317798d75dc0d9df35ff4f6941b645c8c
Added sanity check to resource downgrade on agent registration. `SlaveInfo.resources` should always be representable in the "pre-reservation-refinement" format, so `downgradeResources` should always succeed. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -1393,11 +1393,11 @@ void Slave::doReliableRegistration(Duration maxBackoff)\nSlaveInfo slaveInfo = info;\n- // We ignore the `Try` from `downgradeResources` here because for now,\n- // we se...
C++
Apache License 2.0
apache/mesos
Added sanity check to resource downgrade on agent registration. `SlaveInfo.resources` should always be representable in the "pre-reservation-refinement" format, so `downgradeResources` should always succeed. Review: https://reviews.apache.org/r/60406
46,181
24.06.2017 13:19:35
25,200
abe9d1b4aca1b511ce41a2479d4a44d3d7cfe2be
Updated comments and help text in mesos-execute. Review:
[ { "change_type": "MODIFY", "old_path": "src/cli/execute.cpp", "new_path": "src/cli/execute.cpp", "diff": "@@ -245,8 +245,8 @@ public:\nadd(&Flags::framework_capabilities,\n\"framework_capabilities\",\n\"Comma-separated list of optional framework capabilities to enable.\\n\"\n- \"TASK_KILLING_STATE i...
C++
Apache License 2.0
apache/mesos
Updated comments and help text in mesos-execute. Review: https://reviews.apache.org/r/60417
46,157
26.06.2017 15:55:50
-32,400
44709a7d982c42102b85744e54d34240f43a51d4
Removed temporary MULTI_ROLE implementation logic in the master. After the completion of MULTI_ROLE support, allocation_info is always populated, some redundant logic for resources of old format are not necessary anymore, therefore removed. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "@@ -2890,22 +2890,14 @@ struct Role\nauto allocatedTo = [](const std::string& role) {\nreturn [role](const Resource& resource) {\n+ CHECK(resource.has_allocation_info());\nreturn resource.al...
C++
Apache License 2.0
apache/mesos
Removed temporary MULTI_ROLE implementation logic in the master. After the completion of MULTI_ROLE support, allocation_info is always populated, some redundant logic for resources of old format are not necessary anymore, therefore removed. Review: https://reviews.apache.org/r/58552/
46,157
26.06.2017 16:00:15
-32,400
18695ae8d5cfc209072950e887495a42dd83a1d9
Fixed an incorrect comment about MULTI_ROLE in the allocator tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -220,10 +220,11 @@ protected:\n}\n}\n- // Inject the MULTI_ROLE capability since the allocator never looks at\n- // whether the framework is MULT...
C++
Apache License 2.0
apache/mesos
Fixed an incorrect comment about MULTI_ROLE in the allocator tests. Review: https://reviews.apache.org/r/58202/
46,143
26.06.2017 11:29:57
25,200
2e3b15cf95e7a7ef19b59f19879e6feb4e462873
Added 1.0.2, 1.0.3 and 1.0.4 to site/data/releases.yml.
[ { "change_type": "MODIFY", "old_path": "site/data/releases.yml", "new_path": "site/data/releases.yml", "diff": "@@ -142,6 +142,12 @@ versions:\njira_version: 12338395\n- version: 1.1.0\njira_version: 12337876\n+ - version: 1.0.4\n+ jira_version: 12340352\n+ - version: 1.0.3\n+ jira_version: 12338662...
C++
Apache License 2.0
apache/mesos
Added 1.0.2, 1.0.3 and 1.0.4 to site/data/releases.yml.
46,181
26.06.2017 15:45:03
25,200
aadfa2455576c7dd9c93b26bb55f4ec3ce9357c0
Cleaned up zookeeper binding code slightly. Review:
[ { "change_type": "MODIFY", "old_path": "src/zookeeper/detector.cpp", "new_path": "src/zookeeper/detector.cpp", "diff": "@@ -90,7 +90,7 @@ Future<Option<Group::Membership>> LeaderDetectorProcess::detect(\n// Return immediately if the detector is no longer operational due\n// to the non-retryable erro...
C++
Apache License 2.0
apache/mesos
Cleaned up zookeeper binding code slightly. Review: https://reviews.apache.org/r/60161/
46,103
26.06.2017 23:35:26
25,200
d02195157435645a4d7d1f896b898b8c444a2dd6
Marked 1.2.2 as WIP in CHANGELOG. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -291,7 +291,7 @@ All Resolved Issues:\n* [MESOS-7439] - Bump the default timeout value for docker volume driver unmount operation.\n-Release Notes - Mesos - Version 1.2.2\n+Release Notes - Mesos - Version 1.2.2 ...
C++
Apache License 2.0
apache/mesos
Marked 1.2.2 as WIP in CHANGELOG. Review: https://reviews.apache.org/r/60426/
46,176
27.06.2017 13:57:23
-7,200
87c38b9e2bc5b1030a071ddf0aab69db70d64781
Fixed invalid JSON in modules documentation. This closes
[ { "change_type": "MODIFY", "old_path": "docs/modules.md", "new_path": "docs/modules.md", "diff": "@@ -84,11 +84,11 @@ NOTE: Only one of `--modules` or `--modules_dir` flag can be used at time.\n\"name\": \"foo\",\n\"modules\": [\n{\n- \"name\": \"org_apache_mesos_bar\"\n+ \"name\": \"org_apache_meso...
C++
Apache License 2.0
apache/mesos
Fixed invalid JSON in modules documentation. This closes #222
46,114
28.06.2017 10:30:52
-7,200
d5636d0d75fd63359d44dcbbe9e641f83abf2141
Fixed the commit message hook to allow `fixup` and `squash` commits. The capitalization check caused rebases to fail for commits made with `--fixup` and `--squash`. This change ignores the check for these cases. Review:
[ { "change_type": "MODIFY", "old_path": "support/hooks/commit-msg", "new_path": "support/hooks/commit-msg", "diff": "@@ -15,6 +15,12 @@ FIRST_LINE=$(head -n 1 \"$1\")\nLAST_CHAR=$(echo -n \"$FIRST_LINE\" | tail -c 1)\nFIRST_CHAR=$(echo -n \"$FIRST_LINE\" | head -c 1)\n+if [[ \"$FIRST_LINE\" =~ ^(fixu...
C++
Apache License 2.0
apache/mesos
Fixed the commit message hook to allow `fixup` and `squash` commits. The capitalization check caused rebases to fail for commits made with `--fixup` and `--squash`. This change ignores the check for these cases. Review: https://reviews.apache.org/r/60216/
46,143
28.06.2017 11:02:50
25,200
63e08146aa7aa8efac3928922b6cdef92aa1d2ce
Logged operator API subscribed removal. We previously only logged addition of subscribers but not removal.
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -9400,6 +9400,9 @@ void Master::exited(const UUID& id)\nreturn;\n}\n+ LOG(INFO) << \"Removed subscriber: \" << id << \" from the \"\n+ << \"list of active subscribers\";\n+\nsubscribers.s...
C++
Apache License 2.0
apache/mesos
Logged operator API subscribed removal. We previously only logged addition of subscribers but not removal.
46,128
29.06.2017 12:46:12
25,200
30b62d6b765b3c6257a78c5b653496d91558a8ba
Added Greg Mann to the list of committers.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -145,6 +145,13 @@ We'd like to thank the following committers to the Apache Mesos project who have\n<td>bmahler</td>\n<td>bmahler@apache.org</td>\n</tr>\n+ <tr>\n+ <td>-8</td>\n+ <td>Greg Mann<...
C++
Apache License 2.0
apache/mesos
Added Greg Mann to the list of committers.
46,062
29.06.2017 23:25:19
25,200
bf51b89a39fcdaae6f6a68c905e380c34ae25895
Fixed up the header includes a little in `resources_utils.{hpp,cpp}`.
[ { "change_type": "MODIFY", "old_path": "src/common/resources_utils.cpp", "new_path": "src/common/resources_utils.cpp", "diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n-#include <stout/error.hpp>\n#include <stout/foreach.hpp>\n#inclu...
C++
Apache License 2.0
apache/mesos
Fixed up the header includes a little in `resources_utils.{hpp,cpp}`.
46,062
29.06.2017 17:49:31
25,200
0d3c7be26a0c4d6e3071e49b9adbb659aeac6f92
Added a `using` declaration for `google::protobuf::RepeatedPtrField`.
[ { "change_type": "MODIFY", "old_path": "src/common/resources_utils.cpp", "new_path": "src/common/resources_utils.cpp", "diff": "#include \"common/resources_utils.hpp\"\n+using google::protobuf::RepeatedPtrField;\n+\nnamespace mesos {\nbool needCheckpointing(const Resource& resource)\n@@ -175,7 +177,...
C++
Apache License 2.0
apache/mesos
Added a `using` declaration for `google::protobuf::RepeatedPtrField`.
46,062
29.06.2017 17:57:43
25,200
fcc15438c6a4a6885ba31845f33dc07b6f766a62
Replaced a few raw `for` loops with `foreach`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -3805,11 +3805,9 @@ void Master::accept(\n{\nCHECK_NOTNULL(framework);\n- for (int i = 0; i < accept.operations_size(); ++i) {\n- Offer::Operation* operation = accept.mutable_operations(i...
C++
Apache License 2.0
apache/mesos
Replaced a few raw `for` loops with `foreach`. Review: https://reviews.apache.org/r/60561
46,178
30.06.2017 11:34:30
14,400
fcf8618be59ada6d1607696b13bc362bf7e85b0b
Removed core file during distclean. The core file is generated by a segfaulting perf on some platforms. This caused ASF CI builds to fail during the `make distclean` step due to the extra file left in the build directory. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2572,6 +2572,11 @@ uninstall-hook:\ncheck-local: tests\n$(TEST_DRIVER) ./mesos-tests\n+# We use distclean-local to remove core file left by sefgaulting perf. This can\n+# be removed once (MESOS-7160...
C++
Apache License 2.0
apache/mesos
Removed core file during distclean. The core file is generated by a segfaulting perf (MESOS-7160) on some platforms. This caused ASF CI builds to fail during the `make distclean` step due to the extra file left in the build directory. Review: https://reviews.apache.org/r/60569
46,188
25.05.2017 17:46:02
25,200
2c05919c84c84d4ff329b326f03907eb910be9ff
Removed an unused declaration in type_utils.hpp. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -383,10 +383,6 @@ std::ostream& operator<<(\nstd::ostream& stream,\nconst hashmap<std::string, std::string>& map);\n-std::ostream& operator<<(\n- std::ostream& stream,\n- co...
C++
Apache License 2.0
apache/mesos
Removed an unused declaration in type_utils.hpp. Review: https://reviews.apache.org/r/59601
46,188
07.06.2017 12:12:57
25,200
aa1580e631ff916d98d65f3fa71c4c4fff91c289
Added stubs for the resource provider driver. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "include/mesos/v1/resource_provider.hpp", "diff": "+// 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 information\n+// reg...
C++
Apache License 2.0
apache/mesos
Added stubs for the resource provider driver. Review: https://reviews.apache.org/r/59931
46,188
07.06.2017 17:34:45
25,200
46369c8e520652b7b0942fe9131ce37dd29250fc
Added devolve functions for resource provider Event/Call. Review:
[ { "change_type": "MODIFY", "old_path": "src/internal/devolve.cpp", "new_path": "src/internal/devolve.cpp", "diff": "@@ -166,6 +166,18 @@ executor::Event devolve(const v1::executor::Event& event)\n}\n+resource_provider::Call devolve(const v1::resource_provider::Call& call)\n+{\n+ return devolve<resou...
C++
Apache License 2.0
apache/mesos
Added devolve functions for resource provider Event/Call. Review: https://reviews.apache.org/r/59932
46,188
25.06.2017 21:11:35
25,200
89da4d514b52b4328c01ae705ff17991badf7539
Added stubs for storage local resource provider. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -400,6 +400,7 @@ set(POSIX_SRC\nset(RESOURCE_PROVIDER_SRC\nresource_provider/driver.cpp\n+ resource_provider/storage/provider.cpp\n)\nset(SCHEDULER_SRC\n@@ -491,6 +492,7 @@ set(MESOS_SRC\n${MES...
C++
Apache License 2.0
apache/mesos
Added stubs for storage local resource provider. Review: https://reviews.apache.org/r/59933
46,188
08.06.2017 12:09:01
25,200
17c563e455b13bfd9dd371f4f4643677163559a9
Added stubs for the ResourceProviderManager. ResourceProviderManager will be used to manage resource providers, both local and external. It'll be used by the agent to manage local resource providers and used by the master to manage external resource providers. It'll expose an API endpoint allowing resource providers to...
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -400,6 +400,7 @@ set(POSIX_SRC\nset(RESOURCE_PROVIDER_SRC\nresource_provider/driver.cpp\n+ resource_provider/manager.cpp\nresource_provider/storage/provider.cpp\n)\n" }, { "change_type"...
C++
Apache License 2.0
apache/mesos
Added stubs for the ResourceProviderManager. ResourceProviderManager will be used to manage resource providers, both local and external. It'll be used by the agent to manage local resource providers and used by the master to manage external resource providers. It'll expose an API endpoint allowing resource providers t...
46,188
08.06.2017 13:25:53
25,200
e9e13cae51ac5374b68f30cdf03895a723b383d8
Added 'type' and 'name' fields to ResourceProviderInfo. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -895,6 +895,20 @@ message ResourceProviderInfo {\noptional ResourceProviderID id = 1;\nrepeated Attribute attributes = 2;\nrepeated Resource resources = 3;\n+\n+ // The type of th...
C++
Apache License 2.0
apache/mesos
Added 'type' and 'name' fields to ResourceProviderInfo. Review: https://reviews.apache.org/r/59599
46,188
08.06.2017 13:31:21
25,200
f6f4533aa057e68e28927fa8afcce099985c08b9
Introduced a streaming function for a vector. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -343,11 +343,6 @@ std::ostream& operator<<(std::ostream& stream, const TaskInfo& task);\nstd::ostream& operator<<(std::ostream& stream, const TaskState& state);\n-std::ostre...
C++
Apache License 2.0
apache/mesos
Introduced a streaming function for a vector. Review: https://reviews.apache.org/r/59935