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,183
08.02.2017 21:54:28
28,800
792e1a617eaba3d42226dd4edefe1ae583412b77
Added framework principal to the agent state endpoint. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -243,6 +243,10 @@ struct FrameworkWriter\nwriter->field(\"checkpoint\", framework_->info.checkpoint());\nwriter->field(\"hostname\", framework_->info.hostname());\n+ if (framework_->info.has_pr...
C++
Apache License 2.0
apache/mesos
Added framework principal to the agent state endpoint. Review: https://reviews.apache.org/r/56359/
46,063
09.02.2017 14:40:04
-28,800
4fb2a5d2edeca0966c0f3ea3445f9723d0140d09
Enabled suppress offer per role. Enabled suppress offer per role. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/allocator/allocator.hpp", "new_path": "include/mesos/allocator/allocator.hpp", "diff": "@@ -347,13 +347,16 @@ public:\n/**\n* Suppresses offers.\n*\n- * Informs the allocator to stop sending offers to the framework.\n+ * Informs the allocator to ...
C++
Apache License 2.0
apache/mesos
Enabled suppress offer per role. Enabled suppress offer per role. Review: https://reviews.apache.org/r/56330/
46,063
09.02.2017 14:48:19
-28,800
54e65143c5b19915f8ec2bbce35d239b4c5d85d7
Augmented master `Revive` API to accept `Call::Revive`. Augmented master `Revive` API to accept `Call::Revive`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -914,7 +914,7 @@ Future<Response> Master::Http::scheduler(\nreturn Accepted();\ncase scheduler::Call::REVIVE:\n- master->revive(framework);\n+ master->revive(framework, call.revive());\nretur...
C++
Apache License 2.0
apache/mesos
Augmented master `Revive` API to accept `Call::Revive`. Augmented master `Revive` API to accept `Call::Revive`. Review: https://reviews.apache.org/r/56373/
46,063
09.02.2017 14:51:27
-28,800
c2388a511c775dd6f392961b06fd7738bf051dbc
Enabled revive offer per role. Enabled revive offer per role. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/allocator/allocator.hpp", "new_path": "include/mesos/allocator/allocator.hpp", "diff": "@@ -359,14 +359,16 @@ public:\nconst Option<std::string>& role) = 0;\n/**\n- * Revives offers for a framework. This is invoked by a framework when\n- * it wis...
C++
Apache License 2.0
apache/mesos
Enabled revive offer per role. Enabled revive offer per role. Review: https://reviews.apache.org/r/56374/
46,110
09.02.2017 17:38:31
28,800
8e2e52c36ffa110f9cafda88e6314f99198ce1db
Bumped version to 1.3.0.
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -24,7 +24,7 @@ endif (NOT WIN32)\nproject(Mesos)\nset(MESOS_MAJOR_VERSION 1)\n-set(MESOS_MINOR_VERSION 2)\n+set(MESOS_MINOR_VERSION 3)\nset(MESOS_PATCH_VERSION 0)\nset(PACKAGE_VERSION\n${MESOS_MAJOR_VE...
C++
Apache License 2.0
apache/mesos
Bumped version to 1.3.0.
46,089
10.02.2017 09:04:41
28,800
33dc3ee3c0099d18f4b830aeb8ebbbedc5e7414a
Fix the shell script to not use deprecated [..] in increment operation. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/persistent_volume_framework.cpp", "new_path": "src/examples/persistent_volume_framework.cpp", "diff": "@@ -283,7 +283,7 @@ public:\nif [ $? -eq 0 ]; then\nexit 0\nfi\n- COUNTER=$[COUNTER+1]\n+ ((COUNTER++))\nsleep 1\ndone\nexit 1\n" } ]
C++
Apache License 2.0
apache/mesos
Fix the shell script to not use deprecated [..] in increment operation. Review: https://reviews.apache.org/r/56533/
46,103
10.02.2017 15:31:16
28,800
66dab6b53d0128512b60a744a7a2421245c7f11d
Set AllocationInfo in some reservation-related tests. In a later change we will take a `Resource`s `AllocationInfo` into account. Update a number of tests related to resource validation to set `AllocationInfo` so that we continue to trigger the originally expected errors. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "#include \"tests/containerizer.hpp\"\n#include \"tests/mesos.hpp\"\n+#include \"tests/resources_utils.hpp\"\n#include \"master/detector/standalone.hpp\"\n@@ -...
C++
Apache License 2.0
apache/mesos
Set AllocationInfo in some reservation-related tests. In a later change we will take a `Resource`s `AllocationInfo` into account. Update a number of tests related to resource validation to set `AllocationInfo` so that we continue to trigger the originally expected errors. Review: https://reviews.apache.org/r/56391/
46,136
10.02.2017 15:41:11
28,800
d34e9fe96ccb52ac6708ac822e9dcb7f4c79dc13
Fixed a crash on the agent when handling the SIGUSR1 signal. There were some actors that were not being destructed when `finalize()` was being invoked. Also fixed the order of the destruction of objects i.e., in the reverse order of their creation. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/main.cpp", "new_path": "src/slave/main.cpp", "diff": "@@ -354,10 +354,10 @@ int main(int argc, char** argv)\n}\n#endif // __linux__\n- Fetcher fetcher;\n+ Fetcher* fetcher = new Fetcher();\nTry<Containerizer*> containerizer =\n- Containerizer::create...
C++
Apache License 2.0
apache/mesos
Fixed a crash on the agent when handling the SIGUSR1 signal. There were some actors that were not being destructed when `finalize()` was being invoked. Also fixed the order of the destruction of objects i.e., in the reverse order of their creation. Review: https://reviews.apache.org/r/56525/
46,063
11.02.2017 08:24:26
-28,800
f40e3d5fb167a691f6a3071f504b77e0def29604
Added roles field to framework. Added roles field to framework. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -3238,10 +3238,7 @@ void Master::suppress(\nreturn;\n}\n- // TODO(gyliu513): Store the roles set within the Framework struct, so\n- // that we don't have to keep re-computing it.\n- const...
C++
Apache License 2.0
apache/mesos
Added roles field to framework. Added roles field to framework. Review: https://reviews.apache.org/r/56499/
46,063
11.02.2017 09:20:32
-28,800
456aa6c20901810a2cd1d701d9aac0d00dae3803
Added `drop` for overload to avoid custom logging. Added `drop` for overload to avoid custom logging. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2234,6 +2234,47 @@ void Master::drop(\n<< \": \" << message;\n}\n+void Master::drop(\n+ Framework* framework,\n+ const scheduler::Call& call,\n+ const std::string& message)\n+{\n+ CHECK_...
C++
Apache License 2.0
apache/mesos
Added `drop` for overload to avoid custom logging. Added `drop` for overload to avoid custom logging. Review: https://reviews.apache.org/r/56524/
46,063
11.02.2017 09:53:48
-28,800
a7b67fa82755368dec11398990e9336ab16b1663
Made ignoring logging use WARNING in master. Made ignoring logging use WARNING in master. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -2210,7 +2210,7 @@ void Master::drop(\n{\n// TODO(bmahler): Increment a metric.\n- LOG(ERROR) << \"Dropping \" << call.type() << \" call\"\n+ LOG(WARNING) << \"Dropping \" << call.type() ...
C++
Apache License 2.0
apache/mesos
Made ignoring logging use WARNING in master. Made ignoring logging use WARNING in master. Review: https://reviews.apache.org/r/56569/
46,157
11.02.2017 10:23:46
-28,800
0efba116daf30258524d423fc65c07dd6db15431
Added a test to ensure multi-role framework receiving offers. This test ensures that multi-role framework should receive offers for each of its roles. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -6325,6 +6325,72 @@ TEST_F(MasterTest, AgentRestartNoReregisterRateLimit)\ndriver.join();\n}\n+\n+// This test ensures that a multi-role framework can receive offers\n+// for di...
C++
Apache License 2.0
apache/mesos
Added a test to ensure multi-role framework receiving offers. This test ensures that multi-role framework should receive offers for each of its roles. Review: https://reviews.apache.org/r/56370/
46,136
13.02.2017 14:55:46
28,800
17394a11e68679992c7bd955d269bf8ae7897200
Temporarily disabled a consistently failing test. The issue is tracked via
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/io_switchboard_tests.cpp", "new_path": "src/tests/containerizer/io_switchboard_tests.cpp", "diff": "@@ -935,7 +935,7 @@ TEST_F(IOSwitchboardTest, KillSwitchboardContainerDestroyed)\n// This test verifies that the io switchboard isolator...
C++
Apache License 2.0
apache/mesos
Temporarily disabled a consistently failing test. The issue is tracked via MESOS-7023.
46,157
13.02.2017 16:24:36
28,800
b3929ac541977320af6155d6123172e6163b7d3b
Added agent capabilities to /state endpoint of master. Master should be able to reflect agent capabilities via `/state`(v0) and `getState`(v1) endpoints. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/master/master.proto", "new_path": "include/mesos/master/master.proto", "diff": "@@ -306,6 +306,8 @@ message Response {\nrepeated Resource allocated_resources = 8;\nrepeated Resource offered_resources = 9;\n+\n+ repeated SlaveInfo.Capability capab...
C++
Apache License 2.0
apache/mesos
Added agent capabilities to /state endpoint of master. Master should be able to reflect agent capabilities via `/state`(v0) and `getState`(v1) endpoints. Review: https://reviews.apache.org/r/55710/
46,063
14.02.2017 18:43:19
-28,800
8774f58868166fb77b747bbca9bd5c6676846efe
Updated allocator test to support create multi role framework. This fix updated the `createFrameworkInfo` in allocator test to support creating frameworks with multi role. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -201,17 +201,34 @@ protected:\n}\nFrameworkInfo createFrameworkInfo(\n- const string& role,\n+ const set<string>& roles,\nconst vector<FrameworkI...
C++
Apache License 2.0
apache/mesos
Updated allocator test to support create multi role framework. This fix updated the `createFrameworkInfo` in allocator test to support creating frameworks with multi role. Review: https://reviews.apache.org/r/56376/
46,063
14.02.2017 18:47:29
-28,800
32e8836e39369495944273b9cfb5662cd8e576aa
Added test case for suppress and revive with multi role framework. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -3666,6 +3666,63 @@ TEST_F(HierarchicalAllocatorTest, ReviveOffers)\n}\n+// This test checks that if a multi-role framework declines resources\n+...
C++
Apache License 2.0
apache/mesos
Added test case for suppress and revive with multi role framework. Review: https://reviews.apache.org/r/56378/
46,136
15.02.2017 11:56:37
28,800
3ade0364edb1b905c1e5ee6cb143c3f8728f8ba9
Fixed a crash on the master upon receiving an invalid inverse offer. The erroneous invariant check for `slaveId` can be trigerred when the master accepts an invalid inverse offer or when the inverse offer has been already rescinded. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -4721,27 +4721,26 @@ void Master::acceptInverseOffers(\n{\nCHECK_NOTNULL(framework);\n- Option<Error> error = None();\n+ Option<Error> error;\nif (accept.inverse_offer_ids().size() == 0) ...
C++
Apache License 2.0
apache/mesos
Fixed a crash on the master upon receiving an invalid inverse offer. The erroneous invariant check for `slaveId` can be trigerred when the master accepts an invalid inverse offer or when the inverse offer has been already rescinded. Review: https://reviews.apache.org/r/56587/
46,114
09.02.2017 14:34:28
28,800
bd5c868b8a8e1c488f7ddfebe20bf71f4478289f
Stout: Explicitly delete `SharedHandle` default constructor. This forces callsites to make an explicit decision about the value of an empty HANDLE, which differs based on the syscall used to construct the HANDLE. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/windows.hpp", "new_path": "3rdparty/stout/include/stout/windows.hpp", "diff": "@@ -57,6 +57,14 @@ class SharedHandle : public std::shared_ptr<void>\n\"Expected `HANDLE` to be of type `void*`.\");\npublic:\n+ // We delete the defaul...
C++
Apache License 2.0
apache/mesos
Stout: Explicitly delete `SharedHandle` default constructor. This forces callsites to make an explicit decision about the value of an empty HANDLE, which differs based on the syscall used to construct the HANDLE. Review: https://reviews.apache.org/r/56347/
46,136
14.02.2017 18:07:21
28,800
7ae60706a60357d21df4b16debd86f7f5ed808dd
Fixed a crash on the default executor due to a failed invariant check. There was an incorrect assumption when kiling a task group that all its other tasks would still be active. Its possible that some of them terminated successfully earlier. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -679,6 +679,7 @@ protected:\n// Shutdown the executor if all the active child containers have terminated.\nif (containers.empty()) {\n__shutdown();\n+ return;\n}\n...
C++
Apache License 2.0
apache/mesos
Fixed a crash on the default executor due to a failed invariant check. There was an incorrect assumption when kiling a task group that all its other tasks would still be active. Its possible that some of them terminated successfully earlier. Review: https://reviews.apache.org/r/56716
46,103
15.02.2017 17:15:55
28,800
07b016f053c1c82aa177922293a9701da1783de7
Updated RESERVE operation validation for MULTI_ROLE frameworks. This change introduces validation of the 'AllocationInfo' of resources used in reservations. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -1609,11 +1609,17 @@ Option<Error> validate(\nconst Option<string>& principal,\nconst Option<FrameworkInfo>& frameworkInfo)\n{\n+ // NOTE: this ensures the reservation is not bein...
C++
Apache License 2.0
apache/mesos
Updated RESERVE operation validation for MULTI_ROLE frameworks. This change introduces validation of the 'AllocationInfo' of resources used in reservations. Review: https://reviews.apache.org/r/55462/
46,157
15.02.2017 18:06:15
28,800
7012ee28a5a91f4e6427bc134a99feb9536cb4e0
Fixed indentations in master/http.cpp. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -670,11 +670,9 @@ Future<Response> Master::Http::subscribe(\nexecutorsApprover = master->authorizer.get()->getObjectApprover(\nsubject, authorization::VIEW_EXECUTOR);\n} else {\n- frameworksA...
C++
Apache License 2.0
apache/mesos
Fixed indentations in master/http.cpp. Review: https://reviews.apache.org/r/56646/
46,112
16.02.2017 11:34:41
28,800
54b4d69b4b34c0d527cf53f1e436cb16ed50ac05
Updated Allegro url on Powered By page. Review:
[ { "change_type": "MODIFY", "old_path": "docs/powered-by-mesos.md", "new_path": "docs/powered-by-mesos.md", "diff": "@@ -8,7 +8,7 @@ layout: documentation\n## Organizations using Mesos\n* [Airbnb](http://www.airbnb.com)\n-* [Allegro](http://allegrotech.io)\n+* [Allegro](http://allegro.pl)\n* [Altoclo...
C++
Apache License 2.0
apache/mesos
Updated Allegro url on Powered By page. Review: https://reviews.apache.org/r/56740/
46,103
16.02.2017 16:35:03
28,800
83c564cdad9c6a44b3b4801df10742bbbe72a443
Tightened test expecations in reservation-related tests. This change makes expected error strings in reservation validation-related tests explicit. This is to make sure that the observed errors match the expected ones. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "@@ -121,7 +121,10 @@ TEST_F(ResourceValidationTest, RevocableDynamicReservation)\nOption<Error> error = resource::validate(CreateResources(resource));\n- EXPE...
C++
Apache License 2.0
apache/mesos
Tightened test expecations in reservation-related tests. This change makes expected error strings in reservation validation-related tests explicit. This is to make sure that the observed errors match the expected ones. Review: https://reviews.apache.org/r/56392/
46,177
16.02.2017 23:15:06
28,800
dd532ec466a11991f278897f60100293e5020fd9
Fixed signed comparison warning in stout/protobuf.hpp.
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/protobuf.hpp", "new_path": "3rdparty/stout/include/stout/protobuf.hpp", "diff": "@@ -179,7 +179,7 @@ Try<T> deserialize(const std::string& value)\n// constructor. The maximum size of a proto2 message is 64 MB, so it is\n// unlikely...
C++
Apache License 2.0
apache/mesos
Fixed signed comparison warning in stout/protobuf.hpp.
46,177
16.02.2017 23:15:24
28,800
3f756c496138fe52e54aedecd4ad12030c869bd6
Fixed signed comparison warning in libprocess/src/encoder.hpp.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/encoder.hpp", "new_path": "3rdparty/libprocess/src/encoder.hpp", "diff": "@@ -251,7 +251,7 @@ public:\n// the file. The `struct stat` returns the size in `off_t` form,\n// meaning that it is a programmer error to construct the `FileEnco...
C++
Apache License 2.0
apache/mesos
Fixed signed comparison warning in libprocess/src/encoder.hpp.
46,181
21.01.2017 15:30:10
28,800
2f14af542da8a33dbb84941bf5e214b6ebd3fe19
Added Neil Conway to the list of committers.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -54,6 +54,13 @@ We'd like to thank the following committers to the Apache Mesos project who have\n<td>tnachen</td>\n<td>tnachen@apache.org</td>\n</tr>\n+ <tr>\n+ <td>-8</td>\n+ <td>Neil Conway<...
C++
Apache License 2.0
apache/mesos
Added Neil Conway to the list of committers.
46,128
17.02.2017 11:47:36
28,800
c74ab59c5e7df2213739567b8b9e5fccdef37754
Added the 'Secret' protobuf message. This patch adds a new `Secret` protobuf message which is designed to serve as a generic mechanism for passing priviledged information within Mesos. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1955,6 +1955,53 @@ message Credentials {\n}\n+/**\n+ * Secret used to pass privileged information. It is designed to provide\n+ * pass-by-value or pass-by-reference semantics, wh...
C++
Apache License 2.0
apache/mesos
Added the 'Secret' protobuf message. This patch adds a new `Secret` protobuf message which is designed to serve as a generic mechanism for passing priviledged information within Mesos. Review: https://reviews.apache.org/r/56052/
46,128
17.02.2017 11:47:41
28,800
7b326549f4695e9d7b5eb2b7e51ac5e721aaac30
Added a 'SECRET' type to the 'Environment' protobuf message. This patch adds a field of type `Secret` to the `Environment` protobuf message, enabling the passing of secrets into the environments of executors and tasks. Additional validation and test code is added as well. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1898,15 +1898,29 @@ message Filters {\n/**\n* Describes a collection of environment variables. This is used with\n* CommandInfo in order to set environment variables before runni...
C++
Apache License 2.0
apache/mesos
Added a 'SECRET' type to the 'Environment' protobuf message. This patch adds a field of type `Secret` to the `Environment` protobuf message, enabling the passing of secrets into the environments of executors and tasks. Additional validation and test code is added as well. Review: https://reviews.apache.org/r/56053/
46,128
17.02.2017 11:47:46
28,800
ab2ec81ce4b5af5ed3d5577e5c77eead1ce4ebef
Removed redundant 'Times(1)' from master validation tests. This patch removes calls to `.Times(1)` from `EXPECT_CALL` invocations in the master validation tests because it is redundant. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "@@ -1107,8 +1107,7 @@ TEST_F(TaskValidationTest, ExecutorMissingFrameworkID)\n.WillOnce(LaunchTasks(executor, 1, 1, 16, \"*\"))\n.WillRepeatedly(Return()); //...
C++
Apache License 2.0
apache/mesos
Removed redundant 'Times(1)' from master validation tests. This patch removes calls to `.Times(1)` from `EXPECT_CALL` invocations in the master validation tests because it is redundant. Review: https://reviews.apache.org/r/56139/
46,128
17.02.2017 11:48:05
28,800
da60d1c4e8a2e9e885b1d7ef554c8411712ad1c6
Removed all instances of '.Times(1)' from libprocess tests. Using `.Times(1)` with `EXPECT_CALL` is redundant, as this is implied by default. This patch removes all such remaining occurrences from the libprocess tests. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "diff": "@@ -132,11 +132,9 @@ TEST_TEMP_DISABLED_ON_WINDOWS(ProcessTest, Spawn)\nSpawnProcess process;\n- EXPECT_CALL(process, initialize())\n- .Ti...
C++
Apache License 2.0
apache/mesos
Removed all instances of '.Times(1)' from libprocess tests. Using `.Times(1)` with `EXPECT_CALL` is redundant, as this is implied by default. This patch removes all such remaining occurrences from the libprocess tests. Review: https://reviews.apache.org/r/56188/
46,181
14.02.2017 16:02:32
28,800
0725e1bdb3a579d18f2314bde7b8298fc94b60e0
Silenced a GMock warning in a test. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "@@ -3507,6 +3507,11 @@ TEST_F(FrameworkInfoValidationTest, RejectRoleChangeWithMultiRoleMasterFailover)\nEXPECT_EQ(TASK_RUNNING, runningStatus.get().state());...
C++
Apache License 2.0
apache/mesos
Silenced a GMock warning in a test. Review: https://reviews.apache.org/r/56692
46,136
17.02.2017 12:15:54
28,800
267d719c7a8308e1a1b98c73f5091dbb7708c444
Fixed a bug around executor not able to use reserved resources. We were not unallocating the resources before checking if the executor resources were contained in the checkpointed resources on the agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -1904,6 +1904,12 @@ void Slave::_run(\nreturn;\n}\n+ auto unallocated = [](const Resources& resources) {\n+ Resources result = resources;\n+ result.unallocate();\n+ return result;\n+ };\n+\n/...
C++
Apache License 2.0
apache/mesos
Fixed a bug around executor not able to use reserved resources. We were not unallocating the resources before checking if the executor resources were contained in the checkpointed resources on the agent. Review: https://reviews.apache.org/r/56778/
46,097
17.02.2017 13:22:57
28,800
d8b88e7f66d1207a388e641d4b947a85e7c252bb
Port_mapping isolator: do not depend on interface speed. Since a lot of environments do not provide interface speed in /sys/class/net/<ifname>/speed`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.cpp", "new_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.cpp", "diff": "@@ -1587,27 +1587,33 @@ Try<Isolator*> PortMappingIsolatorProcess::create(const Flags& flags)\nOption<By...
C++
Apache License 2.0
apache/mesos
Port_mapping isolator: do not depend on interface speed. Since a lot of environments do not provide interface speed in /sys/class/net/<ifname>/speed`. Review: https://reviews.apache.org/r/56493/
46,062
16.02.2017 16:01:50
28,800
25cd4e5ec5a1e67874a35ff37f262911b2cf3508
Fixed compilation on VS 2017. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/future.hpp", "new_path": "3rdparty/libprocess/include/process/future.hpp", "diff": "@@ -396,9 +396,20 @@ private:\n}\npublic:\n+ // NOTE: There are two bugs we're dealing with here.\n+ // (1) GCC bug where the explicit use o...
C++
Apache License 2.0
apache/mesos
Fixed compilation on VS 2017. Review: https://reviews.apache.org/r/56781
46,161
18.02.2017 10:19:30
-28,800
2339f77d5f7138da1eaf667571a0a6c86be1d91d
Allowed using protobuf 3 in python bindings. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/interface/setup.py.in", "new_path": "src/python/interface/setup.py.in", "diff": "@@ -26,7 +26,7 @@ config = {\n'namespace_packages': [ 'mesos' ],\n'packages': [ 'mesos', 'mesos.interface' ],\n'package_dir': { '': 'src' },\n- 'install_requires': [ 'g...
C++
Apache License 2.0
apache/mesos
Allowed using protobuf 3 in python bindings. Review: https://reviews.apache.org/r/56238/
46,181
06.02.2017 12:05:53
28,800
c07f9285d31cafc49033a9c1442d702d83914522
Clarified comments in sorter. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.hpp", "new_path": "src/master/allocator/sorter/drf/sorter.hpp", "diff": "@@ -143,7 +143,7 @@ private:\n// If true, sort() will recalculate all shares.\nbool dirty = false;\n- // A set of Clients (names and shares) sorted ...
C++
Apache License 2.0
apache/mesos
Clarified comments in sorter. Review: https://reviews.apache.org/r/56349
46,181
06.02.2017 13:38:27
28,800
7ddfce62a21fe5eb40d3968f4ccae8c5fb32d4a1
Const-ified several methods in the sorter interface. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.cpp", "new_path": "src/master/allocator/sorter/drf/sorter.cpp", "diff": "@@ -234,23 +234,25 @@ void DRFSorter::update(\n}\n-const hashmap<SlaveID, Resources>& DRFSorter::allocation(const string& name)\n+const hashmap<Slav...
C++
Apache License 2.0
apache/mesos
Const-ified several methods in the sorter interface. Review: https://reviews.apache.org/r/56350
46,181
06.02.2017 14:09:30
28,800
dd33d26cb002ed553f4eab77b4c492521f9d6e29
Renamed a private member function in DRFSorter. Renamed `update(const string&)` to `updateShare(const string&)`. The sorter interface already includes two different member functions named `update` that do different things, so being a bit more explicit seems helpful. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.cpp", "new_path": "src/master/allocator/sorter/drf/sorter.cpp", "diff": "@@ -92,7 +92,7 @@ void DRFSorter::update(const string& name, double weight)\n// recalculate all the shares, so don't bother just\n// updating this c...
C++
Apache License 2.0
apache/mesos
Renamed a private member function in DRFSorter. Renamed `update(const string&)` to `updateShare(const string&)`. The sorter interface already includes two different member functions named `update` that do different things, so being a bit more explicit seems helpful. Review: https://reviews.apache.org/r/56351
46,181
07.02.2017 19:32:51
28,800
82bc0b9c399ad2d2c613b56ff87f4165af50e358
Added another sorter test case. When two clients have the same share, the sorter uses the total number of allocations made to each client as a tiebreaker. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/sorter_tests.cpp", "new_path": "src/tests/sorter_tests.cpp", "diff": "@@ -210,6 +210,64 @@ TEST(SorterTest, WDRFSorterUpdateWeight)\n}\n+// Check that the sorter uses the total number of allocations made to\n+// a client as a tiebreaker when the two ...
C++
Apache License 2.0
apache/mesos
Added another sorter test case. When two clients have the same share, the sorter uses the total number of allocations made to each client as a tiebreaker. Review: https://reviews.apache.org/r/56427
46,111
18.02.2017 18:22:20
-28,800
346cc8dd528a28a6e1f1cbdb4c95b8bdea2f6070
Made docker executor be aware of the `cgroups_enable_cfs` flag. This fixes the cpu CFS quota setting for docker executor by ensuring `--cpu-quota` flag when performing `docker run`. Review:
[ { "change_type": "MODIFY", "old_path": "src/docker/docker.cpp", "new_path": "src/docker/docker.cpp", "diff": "@@ -502,6 +502,7 @@ Try<Docker::RunOptions> Docker::RunOptions::create(\nconst string& sandboxDirectory,\nconst string& mappedDirectory,\nconst Option<Resources>& resources,\n+ bool enableCf...
C++
Apache License 2.0
apache/mesos
Made docker executor be aware of the `cgroups_enable_cfs` flag. This fixes the cpu CFS quota setting for docker executor by ensuring `--cpu-quota` flag when performing `docker run`. Review: https://reviews.apache.org/r/51052/
46,111
18.02.2017 18:30:54
-28,800
86ea327ae52cca36523665dea96fc430f8c6503f
Added test for DockerContainerizer when `cgroups_enable_cfs` is set. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "new_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "diff": "#include \"slave/containerizer/docker.hpp\"\n#include \"slave/containerizer/fetcher.hpp\"\n+#include \"slave/containerizer/m...
C++
Apache License 2.0
apache/mesos
Added test for DockerContainerizer when `cgroups_enable_cfs` is set. Review: https://reviews.apache.org/r/55160/
46,188
20.02.2017 10:05:59
28,800
201eb88be8dd64fad3bca7b43f0dfe146a851324
Fixed the port mapping isolator to not fail on speed read failure.
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.cpp", "new_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.cpp", "diff": "@@ -1599,9 +1599,12 @@ Try<Isolator*> PortMappingIsolatorProcess::create(const Flags& flags)\n} else {\n...
C++
Apache License 2.0
apache/mesos
Fixed the port mapping isolator to not fail on speed read failure.
46,068
20.02.2017 20:13:28
28,800
80644e2de06e0b856bf7a96eb7bfd73eb64bdfc2
Added authorization tests of launching container sessions API. Introduced a test which ensures that unauthorized users are unable to launch nested container sessions. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -4126,6 +4126,109 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(AgentAPITest, LaunchNestedContainerSession)\n}\n+// This tests verifies that unauthorized principals are unable to\n+// launch nes...
C++
Apache License 2.0
apache/mesos
Added authorization tests of launching container sessions API. Introduced a test which ensures that unauthorized users are unable to launch nested container sessions. Review: https://reviews.apache.org/r/54783/
46,068
20.02.2017 20:13:55
28,800
190c9e0f1e4e9e847474dd48a928dbcca125a957
Added authorization tests when trying to attach to a container input. Introduced a test where a principal is allowed to launch a container session, but not to attach to its input, therefore its attempts should fail. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -4643,6 +4643,136 @@ TEST_F(AgentAPITest, AttachContainerInputFailure)\n}\n+// Verifies that unauthorized users are not able to attach to a\n+// nested container input.\n+TEST_P(Agent...
C++
Apache License 2.0
apache/mesos
Added authorization tests when trying to attach to a container input. Introduced a test where a principal is allowed to launch a container session, but not to attach to its input, therefore its attempts should fail. Review: https://reviews.apache.org/r/54784/
46,181
20.02.2017 20:18:48
28,800
eef4340ef26289d7dd6cc6b0cc56139ce5f0059e
Cleaned up weights handling code. Removed a redundant statement, fixed log message style, cleaned up comments. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -1720,8 +1720,8 @@ Future<Nothing> Master::_recover(const Registry& registry)\n// for weights, so the `--weights` flag can be deprecated and this check\n// can eventually be removed.\nif ...
C++
Apache License 2.0
apache/mesos
Cleaned up weights handling code. Removed a redundant statement, fixed log message style, cleaned up comments. Review: https://reviews.apache.org/r/56804/
46,059
21.02.2017 18:13:46
-28,800
cdbacc0927eaf1242ff78e5bff895c0faa40a5db
Added `mesos-go-http` to `docs/api-client-libraries.md`. This closes
[ { "change_type": "MODIFY", "old_path": "docs/api-client-libraries.md", "new_path": "docs/api-client-libraries.md", "diff": "@@ -47,6 +47,11 @@ run into any issues, file them with the library maintainers.*\nmesos-go</a></td>\n<td>Go</td>\n</tr>\n+<tr>\n+ <td><a href=\"https://github.com/ondrej-smola/...
C++
Apache License 2.0
apache/mesos
Added `mesos-go-http` to `docs/api-client-libraries.md`. This closes #204
46,157
21.02.2017 13:00:49
28,800
16c59fcefd75f00a2873e04b4943e51fd54b5046
Added a constant to store agent capabilities. Instead of hardcoding in code, agent capabilities are stored in a constant and could be used by both agent initialization and http response generation. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/constants.hpp", "new_path": "src/slave/constants.hpp", "diff": "#include <stdint.h>\n+#include <mesos/mesos.hpp>\n+\n#include <stout/bytes.hpp>\n#include <stout/duration.hpp>\n@@ -149,6 +151,9 @@ Duration DEFAULT_MASTER_PING_TIMEOUT();\n// Name of th...
C++
Apache License 2.0
apache/mesos
Added a constant to store agent capabilities. Instead of hardcoding in code, agent capabilities are stored in a constant and could be used by both agent initialization and http response generation. Review: https://reviews.apache.org/r/56644/
46,157
21.02.2017 13:03:07
28,800
5ad643fd7b83cf87a820c82e3c980e2ad21899f4
Added agent capabilities to `/state`(v0) endpoint of agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -138,6 +138,13 @@ static void json(JSON::ObjectWriter* writer, const TaskInfo& task)\n}\n}\n+static void json(\n+ JSON::StringWriter* writer,\n+ const SlaveInfo::Capability::Type& capability)\n...
C++
Apache License 2.0
apache/mesos
Added agent capabilities to `/state`(v0) endpoint of agent. Review: https://reviews.apache.org/r/56645/
46,157
21.02.2017 15:36:50
28,800
f27027d1025b37dd6df068135bfad8fff4c6b7d1
Added a test to ensure framework can upgrade into MULTI_ROLE. A framework can be upgraded to be MULTI_ROLE capable even with a task running, as long as it does not change role while upgrading. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -6400,6 +6400,106 @@ TEST_F(MasterTest, MultiRoleFrameworkReceivesOffers)\ndriver.join();\n}\n+\n+// This test ensures that scheduler can upgrade to MULTI_ROLE\n+// without affe...
C++
Apache License 2.0
apache/mesos
Added a test to ensure framework can upgrade into MULTI_ROLE. A framework can be upgraded to be MULTI_ROLE capable even with a task running, as long as it does not change role while upgrading. Review: https://reviews.apache.org/r/56537/
46,157
21.02.2017 15:51:12
28,800
807b2343fac186d4fe5f42362c07a729fcaad80f
Added a test to ensure offers with different roles cannot be combined. Multi-role framework cannot combine offers allocated to different roles of that framework in a single launchTask call. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -1882,6 +1882,192 @@ TEST_F(MasterTest, LaunchDuplicateOfferDropped)\n}\n+// This test ensures that a multi-role framework cannot launch tasks with\n+// offers allocated to diff...
C++
Apache License 2.0
apache/mesos
Added a test to ensure offers with different roles cannot be combined. Multi-role framework cannot combine offers allocated to different roles of that framework in a single launchTask call. Review: https://reviews.apache.org/r/56375/
46,210
23.02.2017 01:53:42
-3,600
916a43e2cb2cb1c26889fa3ce86633718789d274
Fixed fetcher to not pick up environment variables it should not see. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/fetcher.cpp", "new_path": "src/slave/containerizer/fetcher.cpp", "diff": "#include <process/dispatch.hpp>\n#include <process/owned.hpp>\n+#include <stout/hashset.hpp>\n#include <stout/net.hpp>\n#include <stout/path.hpp>\n+#include <stou...
C++
Apache License 2.0
apache/mesos
Fixed fetcher to not pick up environment variables it should not see. Review: https://reviews.apache.org/r/56711/
46,210
23.02.2017 01:53:50
-3,600
209f8e7fd1c9da1140976748f85d05a426848e0e
Added regression test against fetcher SSL spillover. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/fetcher_tests.cpp", "new_path": "src/tests/fetcher_tests.cpp", "diff": "@@ -1088,6 +1088,67 @@ TEST_F(FetcherTest, HdfsURI)\n}\n#endif // __WINDOWS__\n+\n+// Regression test against unwanted environment inheritance from the\n+// agent towards the fet...
C++
Apache License 2.0
apache/mesos
Added regression test against fetcher SSL spillover. Review: https://reviews.apache.org/r/56771/
46,129
22.02.2017 18:48:59
28,800
b5ba2b8dd65518a45e847b79b24f48cf5a779353
Added test for nested container agent reboot case. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "new_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "diff": "#endif\n#include \"slave/containerizer/mesos/provisioner/constants.hpp\"\n+#include \"slave/containerizer/mesos/provisioner/path...
C++
Apache License 2.0
apache/mesos
Added test for nested container agent reboot case. Review: https://reviews.apache.org/r/56809/
46,078
08.02.2017 11:22:46
28,800
eb3263af2730dbc17db3e35286e58b44092c08da
Disallowed some special path components in IDs. Such IDs should lead to surprising or even dangerous agent side directory structure. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/validation.cpp", "new_path": "src/common/validation.cpp", "diff": "@@ -33,7 +33,16 @@ namespace validation {\nOption<Error> validateID(const string& id)\n{\n- // Rules:\n+ if (id.empty()) {\n+ return Error(\"ID must not be empty\");\n+ }\n+\n+ // Th...
C++
Apache License 2.0
apache/mesos
Disallowed some special path components in IDs. - Such IDs should lead to surprising or even dangerous agent side directory structure. Review: https://reviews.apache.org/r/56527
46,157
23.02.2017 14:05:34
28,800
fb99cd00bd4155fee74a38b36bd9fff8e5f33fba
Exposed agent capabilities via SlaveInfo::Capability directly. Instead of storing a vector of `SlaveInfo::Capability::Type` and converting to `SlaveInfo::Capability` in the code, we now store a vector of `SlaveInfo::Capabilility` directly for easier use. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/constants.cpp", "new_path": "src/slave/constants.cpp", "diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include <vector>\n+\n#include \"master/constants.hpp\"\n#include \"slave/cons...
C++
Apache License 2.0
apache/mesos
Exposed agent capabilities via SlaveInfo::Capability directly. Instead of storing a vector of `SlaveInfo::Capability::Type` and converting to `SlaveInfo::Capability` in the code, we now store a vector of `SlaveInfo::Capabilility` directly for easier use. Review: https://reviews.apache.org/r/56967/
46,157
23.02.2017 14:28:51
28,800
1cebd79ea6485648708b860d3a60437f309c59b8
Add a test for a MULTI_ROLE master re-registering an old agent. When a non-MULTI_ROLE agent with running tasks re-registers, master should inject allocation roles for tasks/executors sent during re-registration. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2286,6 +2286,7 @@ mesos_tests_SOURCES = \\\ntests/state_tests.cpp \\\ntests/status_update_manager_tests.cpp \\\ntests/teardown_tests.cpp \\\n+ tests/upgrade_tests.cpp \\\ntests/uri_tests.cpp \\\ntes...
C++
Apache License 2.0
apache/mesos
Add a test for a MULTI_ROLE master re-registering an old agent. When a non-MULTI_ROLE agent with running tasks re-registers, master should inject allocation roles for tasks/executors sent during re-registration. Review: https://reviews.apache.org/r/56941/
46,129
23.02.2017 16:18:36
28,800
d099f8d65d6626f720f743d4ea8cc049b000fe63
Changed the http::Headers to be a derived class from Hashmap. The http::Headers should simply derive from the Hashmap class so that all other projects (e.g., an isolator module using libprocess) will not be broken by the recent http::Headers change (it was changed from a hashmap to a class recently in https://reviews.a...
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/http.hpp", "new_path": "3rdparty/libprocess/include/process/http.hpp", "diff": "@@ -451,20 +451,38 @@ private:\n} // namespace header {\n-class Headers\n+class Headers : public hashmap<\n+ std::string,\n+ std::string,\n+ Cas...
C++
Apache License 2.0
apache/mesos
Changed the http::Headers to be a derived class from Hashmap. The http::Headers should simply derive from the Hashmap class so that all other projects (e.g., an isolator module using libprocess) will not be broken by the recent http::Headers change (it was changed from a hashmap to a class recently in https://reviews....
46,129
23.02.2017 16:37:01
28,800
3424a3d1e98291e5c241961a1824f0eaabf8e103
Renamed http::Headers get() to header() due to the libprocess change. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetchers/docker.cpp", "new_path": "src/uri/fetchers/docker.cpp", "diff": "@@ -643,7 +643,7 @@ Future<http::Headers> DockerFetcherPluginProcess::getAuthHeader(\nconst http::Response& response)\n{\nResult<http::header::WWWAuthenticate> header =\n- respon...
C++
Apache License 2.0
apache/mesos
Renamed http::Headers get() to header() due to the libprocess change. Review: https://reviews.apache.org/r/56610/
46,129
23.02.2017 17:31:42
28,800
af2a707c371d2dde79680794cb22dae23f79ca7f
Documented provisioner auto backend semantic. Review:
[ { "change_type": "MODIFY", "old_path": "docs/container-image.md", "new_path": "docs/container-image.md", "diff": "@@ -285,8 +285,29 @@ is `/tmp/mesos/store/appc`.\n## Provisioner Backends\nA provisioner backend takes a set of filesystem layers and stacks them\n-into a root filesystem. The following ...
C++
Apache License 2.0
apache/mesos
Documented provisioner auto backend semantic. Review: https://reviews.apache.org/r/56904/
46,188
23.02.2017 17:39:57
28,800
5abbef6a27de49394b1d070dd10644ff50cc0eec
Fixed a formatting issue in container-image.md.
[ { "change_type": "MODIFY", "old_path": "docs/container-image.md", "new_path": "docs/container-image.md", "diff": "@@ -286,7 +286,7 @@ is `/tmp/mesos/store/appc`.\nA provisioner backend takes a set of filesystem layers and stacks them\ninto a root filesystem. Currently, we support the following backe...
C++
Apache License 2.0
apache/mesos
Fixed a formatting issue in container-image.md.
46,129
23.02.2017 18:03:04
28,800
b99299cd824479090089070c3d782f8d85869e8b
Renamed 'Headers' class templete method to 'get()'. This patch changed the 'Headers' class templete method from 'header()' to 'get()' since 'get' is more accurate for grabbing a header object while it can be defined as different type (e.g., WWWAuthenticate). Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/http.hpp", "new_path": "3rdparty/libprocess/include/process/http.hpp", "diff": "@@ -482,7 +482,7 @@ public:\nCaseInsensitiveEqual>(list) {}\ntemplate <typename T>\n- Result<T> header() const\n+ Result<T> get() const\n{\nOpti...
C++
Apache License 2.0
apache/mesos
Renamed 'Headers' class templete method to 'get()'. This patch changed the 'Headers' class templete method from 'header()' to 'get()' since 'get' is more accurate for grabbing a header object while it can be defined as different type (e.g., WWWAuthenticate). Review: https://reviews.apache.org/r/57014/
46,129
23.02.2017 18:03:08
28,800
983154c18326a51ede3aa8105bf83f44e30f3d95
Updated docker fetcher pluggin corresponding to the former commit. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetchers/docker.cpp", "new_path": "src/uri/fetchers/docker.cpp", "diff": "@@ -643,7 +643,7 @@ Future<http::Headers> DockerFetcherPluginProcess::getAuthHeader(\nconst http::Response& response)\n{\nResult<http::header::WWWAuthenticate> header =\n- respon...
C++
Apache License 2.0
apache/mesos
Updated docker fetcher pluggin corresponding to the former commit. Review: https://reviews.apache.org/r/57016/
46,110
22.02.2017 01:22:56
28,800
f6d079d719140e9568012a5a0dbea680a1acc2fc
Updated configuration.md for --http_heartbeat_interval. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration.md", "new_path": "docs/configuration.md", "diff": "@@ -1511,6 +1511,18 @@ the driver based implementation would be used.\nproduction yet. (default: false)\n</td>\n</tr>\n+<tr>\n+ <td>\n+ --http_heartbeat_interval=VALUE\n+ </td>\n+ <td>\n+Thi...
C++
Apache License 2.0
apache/mesos
Updated configuration.md for --http_heartbeat_interval. Review: https://reviews.apache.org/r/57005
46,110
20.02.2017 23:53:43
28,800
aa5d25c845c45fa4863efe22d8772f31d8739a9b
Added upgrade guide for 1.2.x. Review:
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -43,20 +43,38 @@ We categorize the changes as follows:\n</thead>\n<tr>\n<td style=\"word-wrap: break-word; overflow-wrap: break-word;\"><!--Version-->\n- 1.1.x\n+ 1.2.x\n</td>\n<td style=\"word-wra...
C++
Apache License 2.0
apache/mesos
Added upgrade guide for 1.2.x. Review: https://reviews.apache.org/r/56867
46,110
23.02.2017 19:12:05
28,800
ea3436b38c59d4211abde589adc8e3284a5cca20
Update changelog for 1.2.0-rc2.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -305,6 +305,7 @@ All Issues:\n* [MESOS-7129] - Default executor exits with a stack trace in a few scenarios.\n* [MESOS-7133] - mesos-fetcher fails with openssl-related output.\n* [MESOS-7137] - Custom executors ...
C++
Apache License 2.0
apache/mesos
Update changelog for 1.2.0-rc2.
46,157
24.02.2017 11:33:17
28,800
0b4086b95a77131c1c35ca87aa019a006b54776c
Added allocation role validation for ExecutorInfo. With support for multi-role frameworks, we need to make sure that individual executors cannot mix allocation roles. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -584,6 +584,37 @@ Option<Error> validatePersistentVolume(\n}\n+// Validates that all the given resources are allocated to same role.\n+Option<Error> validateAllocatedToSingleRole(...
C++
Apache License 2.0
apache/mesos
Added allocation role validation for ExecutorInfo. With support for multi-role frameworks, we need to make sure that individual executors cannot mix allocation roles. Review: https://reviews.apache.org/r/56939/
46,157
24.02.2017 11:45:17
28,800
c2bdc651a457a573af320baf522d730b50d49773
Added allocation role validation for TaskInfo. With support for multi-role frameworks, we need to make sure that individual task cannot mix allocation roles. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -948,6 +948,11 @@ Option<Error> validateResources(const TaskInfo& task)\nreturn Error(\"Task uses duplicate persistence ID: \" + error->message);\n}\n+ error = resource::validateA...
C++
Apache License 2.0
apache/mesos
Added allocation role validation for TaskInfo. With support for multi-role frameworks, we need to make sure that individual task cannot mix allocation roles. Review: https://reviews.apache.org/r/57030/
46,157
24.02.2017 14:14:38
28,800
1d57ce2c55332be92fc60ceba1a03d9d452a1d21
Added allocation role validation for Reserve operation. With support for multi-role frameworks, we need to make sure that individual reserve operation cannot mix allocation roles. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -1742,6 +1742,16 @@ Option<Error> validate(\n}\n}\n+ if (frameworkInfo.isSome()) {\n+ // If the operation is being applied by a framework, we also\n+ // ensure that across all the...
C++
Apache License 2.0
apache/mesos
Added allocation role validation for Reserve operation. With support for multi-role frameworks, we need to make sure that individual reserve operation cannot mix allocation roles. Review: https://reviews.apache.org/r/57031/
46,157
24.02.2017 14:20:16
28,800
949e78f2ead236f4f7e428993b5ebb10d24358a5
Added allocation role validation for Create operation. With support for multi-role frameworks, we need to make sure that individual create operation cannot mix allocation roles. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -1846,6 +1846,16 @@ Option<Error> validate(\n}\n}\n+ if (frameworkInfo.isSome()) {\n+ // If the operation is being applied by a framework, we also\n+ // ensure that across all the...
C++
Apache License 2.0
apache/mesos
Added allocation role validation for Create operation. With support for multi-role frameworks, we need to make sure that individual create operation cannot mix allocation roles. Review: https://reviews.apache.org/r/57032/
46,165
24.02.2017 14:22:57
28,800
eaec82802429fd43fb7c4c73ace74b2ad9c249e0
Cleaned up an error message formatting. This places the open and closing quotes on the same line.
[ { "change_type": "MODIFY", "old_path": "src/master/validation.cpp", "new_path": "src/master/validation.cpp", "diff": "@@ -604,10 +604,9 @@ Option<Error> validateAllocatedToSingleRole(const Resources& resources)\n}\nif (_role != role.get()) {\n- return Error(\n- \"The resources have multiple allocati...
C++
Apache License 2.0
apache/mesos
Cleaned up an error message formatting. This places the open and closing quotes on the same line.
46,177
24.02.2017 16:01:56
28,800
006816d13fc47db80be5c30cd0a82213cd00490e
Windows: Fixed typo (extra newline).
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -51,8 +51,7 @@ if (WIN32)\n${ENSURE_TOOL_ARCH} ALL\nCOMMAND\nIF NOT \"%PreferredToolArchitecture%\" == \"x64\" (\n- echo \"ERROR: Environment variable'PreferredToolA...
C++
Apache License 2.0
apache/mesos
Windows: Fixed typo (extra newline).
46,103
24.02.2017 18:22:29
28,800
161a050e44bd317a4ca9d1fc3264c277c94e9f17
Made sure process::Loop instances can only be created as shared_ptrs. process::Loop is a std::enable_shared_from_this. Using stack-allocated instances of classes derived from std::enable_shared_from_this is undefined behavior. Prevent creation of stack-allocated process::Loop instances by hiding the constructors and pr...
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/loop.hpp", "new_path": "3rdparty/libprocess/include/process/loop.hpp", "diff": "@@ -253,11 +253,18 @@ template <typename Iterate, typename Body, typename T, typename R>\nclass Loop : public std::enable_shared_from_this<Loop<...
C++
Apache License 2.0
apache/mesos
Made sure process::Loop instances can only be created as shared_ptrs. process::Loop is a std::enable_shared_from_this. Using stack-allocated instances of classes derived from std::enable_shared_from_this is undefined behavior. Prevent creation of stack-allocated process::Loop instances by hiding the constructors and ...
46,056
25.02.2017 14:03:41
-3,600
277dd384cfd4218f0feded3985ade36e802e529e
Added and to CHANGELOG for 1.1.1.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -433,8 +433,8 @@ All Issues:\n* [MESOS-7062] - Add a test for a MULTI_ROLE framework receiving offers for each of its roles.\n-Release Notes - Mesos - Version 1.1.1 (WIP)\n---------------------------------------...
C++
Apache License 2.0
apache/mesos
Added MESOS-6606 and MESOS-7133 to CHANGELOG for 1.1.1.
46,165
27.02.2017 14:58:04
28,800
89080f7271d70aad876acd95c23cafec1e37e6da
Added TODOs to the framework and agent capabilities helpers. With the current approach, unknown capabilities are dropped since we do not store the protobuf.
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.hpp", "new_path": "src/common/protobuf_utils.hpp", "diff": "@@ -139,6 +139,8 @@ ContainerID getRootContainerId(const ContainerID& containerId);\nnamespace slave {\n+// TODO(bmahler): Store the repeated field within this so that we\n+/...
C++
Apache License 2.0
apache/mesos
Added TODOs to the framework and agent capabilities helpers. With the current approach, unknown capabilities are dropped since we do not store the protobuf.
46,165
27.02.2017 14:59:01
28,800
71201626a98b02a2ad6bcf9209cea51c7be03eb9
Added equality and output operators for agent capabilities.
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.cpp", "new_path": "src/common/protobuf_utils.cpp", "diff": "#include <pwd.h>\n#endif // __WINDOWS__\n+#include <ostream>\n+\n#include <mesos/slave/isolator.hpp>\n#include <mesos/type_utils.hpp>\n#include \"messages/messages.hpp\"\n+us...
C++
Apache License 2.0
apache/mesos
Added equality and output operators for agent capabilities.
46,157
27.02.2017 14:24:26
28,800
6e60272134f3c1c37787aa91b6571017d62a5875
Prevent resource of old agents being allocated to MULTI_ROLE frameworks. In a mixed cluster, when an old agent (not MULTI_ROLE capable) registers with new master (MULTI_ROLE capable), it cannot correctly handle tasks from a MULTI_ROLE framework. Therefore, we should disallow resources from these agents being allocated ...
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -2025,6 +2025,19 @@ bool HierarchicalAllocatorProcess::isFiltered(\nCHECK(slaves.contains(slaveId));\nconst Framework& framework = frameworks.a...
C++
Apache License 2.0
apache/mesos
Prevent resource of old agents being allocated to MULTI_ROLE frameworks. In a mixed cluster, when an old agent (not MULTI_ROLE capable) registers with new master (MULTI_ROLE capable), it cannot correctly handle tasks from a MULTI_ROLE framework. Therefore, we should disallow resources from these agents being allocated...
46,157
27.02.2017 13:43:39
28,800
ea7077184a1b171f27ac8679a37ca081d6b2ff58
Added agent capabilities to HierarchicalAllocatorProcess (2/2). Master should be able to update agent capabilities stored in allocator in case agent reboots to upgrade to MULTI_ROLE capable. `updateSlave` is augmented to accept agent capabilities. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/allocator/allocator.hpp", "new_path": "include/mesos/allocator/allocator.hpp", "diff": "@@ -202,7 +202,7 @@ public:\n/**\n* Updates an agent.\n*\n- * Updates the latest oversubscribed resources for an agent.\n+ * Updates the latest oversubscribed...
C++
Apache License 2.0
apache/mesos
Added agent capabilities to HierarchicalAllocatorProcess (2/2). Master should be able to update agent capabilities stored in allocator in case agent reboots to upgrade to MULTI_ROLE capable. `updateSlave` is augmented to accept agent capabilities. Review: https://reviews.apache.org/r/57021/
46,157
27.02.2017 15:00:17
28,800
ab2865500a9dc9343a86f317adc2756e508d9e59
Added a test to ensure agent can be upgraded into MULTI_ROLE. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/upgrade_tests.cpp", "new_path": "src/tests/upgrade_tests.cpp", "diff": "@@ -258,6 +258,136 @@ TEST_F(UpgradeTest, ReregisterOldAgentWithMultiRoleMaster)\ndriver.join();\n}\n+\n+// Checks that resources of an agent will be offered to MULTI_ROLE\n+// f...
C++
Apache License 2.0
apache/mesos
Added a test to ensure agent can be upgraded into MULTI_ROLE. Review: https://reviews.apache.org/r/57023/
46,108
27.02.2017 17:39:22
28,800
08c88acce773b7902aa8be6949451367c80376d1
Added Kevin Klues to the list of committers.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -271,6 +271,13 @@ We'd like to thank the following committers to the Apache Mesos project who have\n<td>gyliu513</td>\n<td>gyliu@apache.org</td>\n</tr>\n+ <tr>\n+ <td>+8</td>\n+ <td>Kevin Klues...
C++
Apache License 2.0
apache/mesos
Added Kevin Klues to the list of committers.
46,056
28.02.2017 09:33:44
-3,600
0b0624a544661f6d97b698c22b1ff709b5ad3136
Fixed include order in "launcher/executor.cpp".
[ { "change_type": "MODIFY", "old_path": "src/launcher/executor.cpp", "new_path": "src/launcher/executor.cpp", "diff": "#include <process/io.hpp>\n#include <process/process.hpp>\n#include <process/protobuf.hpp>\n-#include <process/subprocess.hpp>\n#include <process/reap.hpp>\n+#include <process/subpro...
C++
Apache License 2.0
apache/mesos
Fixed include order in "launcher/executor.cpp".
46,056
28.02.2017 09:56:43
-3,600
6fff95c45a8cea3ade32f7e99a0c036ca20e677e
Added to CHANGELOG for 1.1.2.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -433,6 +433,15 @@ All Issues:\n* [MESOS-7062] - Add a test for a MULTI_ROLE framework receiving offers for each of its roles.\n+Release Notes - Mesos - Version 1.1.2 (WIP)\n+-------------------------------------...
C++
Apache License 2.0
apache/mesos
Added MESOS-2537 to CHANGELOG for 1.1.2.
46,056
08.02.2017 10:26:49
-3,600
ecdd58a5ab75326a9e167f6cfda049c39c267a37
Augmented continuation name in default executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -292,7 +292,7 @@ protected:\nLOG(ERROR)\n<< \"Unable to establish connection with the agent: \"\n<< (connection.isFailed() ? connection.failure() : \"discarded\");...
C++
Apache License 2.0
apache/mesos
Augmented continuation name in default executor. Review: https://reviews.apache.org/r/56448
46,068
28.02.2017 10:46:40
28,800
a4b39beec9017d9c9dc8aa2a0bb39e1065e338e0
Fixes `FutureTest.After3` flakiness. Adds calls to `Clock::pause()`, `Clock::advance()` and `Clock::settle()` to `FutureTest.After3` therefore ensuring that data stored in timer's callbacks is destroyed by the time `Clock::settle()` returns. This is possible after a bug fix which caused timer's callbacks to not always ...
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/future_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/future_tests.cpp", "diff": "@@ -269,6 +269,8 @@ TEST(FutureTest, After3)\nEXPECT_SOME(weak_future.get());\n{\n+ Clock::pause();\n+\n// The original future disappears he...
C++
Apache License 2.0
apache/mesos
Fixes `FutureTest.After3` flakiness. Adds calls to `Clock::pause()`, `Clock::advance()` and `Clock::settle()` to `FutureTest.After3` therefore ensuring that data stored in timer's callbacks is destroyed by the time `Clock::settle()` returns. This is possible after a bug fix which caused timer's callbacks to not alway...
46,108
26.02.2017 22:36:11
28,800
db7e52b34dc563b54ac851ca761cceda19915166
Added nested container launch/wait/kill APIs to agent API docs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/operator-http-api.md", "new_path": "docs/operator-http-api.md", "diff": "@@ -3231,3 +3231,127 @@ Content-Type: application/json\n}\n```\n+\n+### LAUNCH_NESTED_CONTAINER\n+\n+This call launches a nested container. Any authorized entity,\n+including the exe...
C++
Apache License 2.0
apache/mesos
Added nested container launch/wait/kill APIs to agent API docs. Review: https://reviews.apache.org/r/57117
46,108
26.02.2017 22:49:49
28,800
86f32a4bee0ee981f8dfe1d46a3c86652bc1dd4b
Added debugging APIs to agent API docs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/operator-http-api.md", "new_path": "docs/operator-http-api.md", "diff": "@@ -3355,3 +3355,222 @@ KILL_NESTED_CONTAINER HTTP Response (JSON):\nHTTP/1.1 200 OK\n```\n+\n+### LAUNCH_NESTED_CONTAINER_SESSION\n+\n+This call launches a nested container whose li...
C++
Apache License 2.0
apache/mesos
Added debugging APIs to agent API docs. Review: https://reviews.apache.org/r/57118
46,177
28.02.2017 13:50:51
28,800
1fa329997b5b0683587ebfad31e6faf56c26a38c
Updated docker-build.sh with CMake specifics. This tweaks the cmake build command and comments in our Docker build helper script. The updates are: * Bootstrap is not needed for CMake builds. * `make check` now builds everything. * `make distcheck` is not supported, nor planned to be supported.
[ { "change_type": "MODIFY", "old_path": "support/docker-build.sh", "new_path": "support/docker-build.sh", "diff": "@@ -158,11 +158,9 @@ else\nCONFIGURATION=\"$CONFIGURATION $element=1\"\ndone\n- # MESOS-5433: `distcheck` is not currently supported by our CMake scripts.\n- # MESOS-5624: In source buil...
C++
Apache License 2.0
apache/mesos
Updated docker-build.sh with CMake specifics. This tweaks the cmake build command and comments in our Docker build helper script. The updates are: * Bootstrap is not needed for CMake builds. * `make check` now builds everything. * `make distcheck` is not supported, nor planned to be supported.
46,177
28.02.2017 14:20:30
28,800
e4c6acb01a52635232c9688adaa4a930e15432c7
CMake: Exclude tests from the default build. Currently, if you run `make`, you will end up building the `stout-tests` binary because we do not exclude it from the default build. This commit adds the `EXCLUDE_FROM_ALL` property to the `stout-tests` binary. `make check` will still run the test.
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/CMakeLists.txt", "new_path": "3rdparty/stout/tests/CMakeLists.txt", "diff": "@@ -106,7 +106,7 @@ link_directories(${STOUT_TEST_LIB_DIRS})\n# THE STOUT TEST EXECUTABLE (generates, e.g., stout-tests, etc., on Linux).\n#######################...
C++
Apache License 2.0
apache/mesos
CMake: Exclude tests from the default build. Currently, if you run `make`, you will end up building the `stout-tests` binary because we do not exclude it from the default build. This commit adds the `EXCLUDE_FROM_ALL` property to the `stout-tests` binary. `make check` will still run the test.
46,128
28.02.2017 14:29:39
28,800
5eb72ec74dba61077c3006a7f31b6974c7994dd5
Added 'override' to function declarations in 'LibeventSSLSocketImpl'. Inconsistent use of the `override` keyword in `LibeventSSLSocketImpl` was causing warnings during clang builds. This patch makes use of the keyword across all relevant declarations in the class. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/libevent_ssl_socket.hpp", "new_path": "3rdparty/libprocess/src/libevent_ssl_socket.hpp", "diff": "@@ -37,17 +37,17 @@ public:\nLibeventSSLSocketImpl(int _s);\n- virtual ~LibeventSSLSocketImpl();\n+ ~LibeventSSLSocketImpl() override;\n//...
C++
Apache License 2.0
apache/mesos
Added 'override' to function declarations in 'LibeventSSLSocketImpl'. Inconsistent use of the `override` keyword in `LibeventSSLSocketImpl` was causing warnings during clang builds. This patch makes use of the keyword across all relevant declarations in the class. Review: https://reviews.apache.org/r/57160/
46,181
28.02.2017 16:14:07
28,800
c9dfe1e053405140f68eba012905ad300ea03ca2
Fixed some clang-tidy warnings. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/protobuf_utils.cpp", "new_path": "src/common/protobuf_utils.cpp", "diff": "@@ -254,7 +254,7 @@ Option<bool> getTaskHealth(const Task& task)\n// each state, and appends later statuses at the end. Thus the last\n// status is either a terminal state (w...
C++
Apache License 2.0
apache/mesos
Fixed some clang-tidy warnings. Review: https://reviews.apache.org/r/56806/
46,181
28.02.2017 16:14:12
28,800
0e0d3279724c5162b4e5940487dece3ecd2bdd74
Cleaned up `using` statements. A source file should typically not contain both `using xyz::foo` and `xyz::foo`. Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/capabilities.cpp", "new_path": "src/linux/capabilities.cpp", "diff": "using std::hex;\nusing std::ostream;\n-using std::set;\nusing std::string;\nusing std::vector;\n@@ -104,7 +103,7 @@ struct SyscallPayload\n// Helper function to convert capability ...
C++
Apache License 2.0
apache/mesos
Cleaned up `using` statements. A source file should typically not contain both `using xyz::foo` and `xyz::foo`. Review: https://reviews.apache.org/r/57157/
46,108
01.03.2017 09:55:13
28,800
cbb99ce0a60c08eb0156461a8c3c3ef5ce8646ca
Renamed 'SubprocessInfo' to 'ContainerIO' in 'ContainerLogger'. Renamed 'SubprocessInfo' to 'ContainerIO' in 'ContainerLogger'. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/container_logger.hpp", "new_path": "include/mesos/slave/container_logger.hpp", "diff": "@@ -55,7 +55,7 @@ public:\n* A collection of `process::subprocess` arguments which the container logger\n* can influence. See `ContainerLogger::prepare`...
C++
Apache License 2.0
apache/mesos
Renamed 'SubprocessInfo' to 'ContainerIO' in 'ContainerLogger'. Renamed 'SubprocessInfo' to 'ContainerIO' in 'ContainerLogger'. Review: https://reviews.apache.org/r/57121/
46,108
01.03.2017 09:55:18
28,800
3aa7e1b67074eb67794bf2e4c18ff24d2ecf37f3
Added STDIN IO to 'ContainerLogger::ContainerIO' class. Added STDIN IO to 'ContainerLogger::ContainerIO' class. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/container_logger.hpp", "new_path": "include/mesos/slave/container_logger.hpp", "diff": "@@ -123,6 +123,12 @@ public:\nOption<std::string> path_;\n};\n+ /**\n+ * How to redirect the stdin of the executable.\n+ * See `process::Subprocess::IO`...
C++
Apache License 2.0
apache/mesos
Added STDIN IO to 'ContainerLogger::ContainerIO' class. Added STDIN IO to 'ContainerLogger::ContainerIO' class. Review: https://reviews.apache.org/r/57122/
46,108
01.03.2017 09:55:25
28,800
0d717e08e90a38d9d17864b9d51c45ea0b35b3a5
Pulled 'ContainerIO' out of the 'ContainerLogger'. Pulled 'ContainerIO' out of the 'ContainerLogger'. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/container_logger.hpp", "new_path": "include/mesos/slave/container_logger.hpp", "diff": "#include <mesos/mesos.hpp>\n+#include <mesos/slave/containerizer.hpp>\n+\n#include <process/future.hpp>\n#include <process/subprocess.hpp>\n#include <pr...
C++
Apache License 2.0
apache/mesos
Pulled 'ContainerIO' out of the 'ContainerLogger'. Pulled 'ContainerIO' out of the 'ContainerLogger'. Review: https://reviews.apache.org/r/57176/
46,128
01.03.2017 10:40:27
28,800
6e57f67afe566a23b32381270bd4217b19a55e0f
Clarified naming rules in C++ style guide. This patch clarifies the differences in naming rules between Mesos application code and the libprocess/stout libraries. It also updates Wikipedia links to point to more instructive portions of the relevant entries. Review:
[ { "change_type": "MODIFY", "old_path": "docs/c++-style-guide.md", "new_path": "docs/c++-style-guide.md", "diff": "@@ -16,7 +16,8 @@ The Mesos codebase follows the [Google C++ Style Guide](https://google.github.io\n## Naming\n### Variable Names\n-* We use [lowerCamelCase](http://en.wikipedia.org/wiki...
C++
Apache License 2.0
apache/mesos
Clarified naming rules in C++ style guide. This patch clarifies the differences in naming rules between Mesos application code and the libprocess/stout libraries. It also updates Wikipedia links to point to more instructive portions of the relevant entries. Review: https://reviews.apache.org/r/57177/
46,157
01.03.2017 10:56:39
28,800
3e6b4734ae7e4a49cee9c69b87f593107465f0bd
Fixed WebUI data-key. Some of the data-key are incorrect, which causes sorting problem. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/agent.html", "new_path": "src/webui/master/static/agent.html", "diff": "<th data-key=\"num_tasks\">Active Tasks</th>\n<th data-key=\"cpus\">CPUs (Used / Allocated)</th>\n<th data-key=\"gpus\">GPUs (Used / Allocated)</th>\n- <th data-key...
C++
Apache License 2.0
apache/mesos
Fixed WebUI data-key. Some of the data-key are incorrect, which causes sorting problem. Review: https://reviews.apache.org/r/57132/
46,157
01.03.2017 13:27:33
28,800
0e863166707f903a642f8f835937d267c493f2f5
Fixed flakiness in three MULTI_ROLE related tests. Fixed flakiness in following tests: MasterTest.MultiRoleSchedulerUpgrade UpgradeTest.ReregisterOldAgentWithMultiRoleMaster MasterTest.MultiRoleFrameworkReceivesOffers Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -6527,23 +6527,18 @@ TEST_F(MasterTest, AgentRestartNoReregisterRateLimit)\n// receive two offers, one for each slave, allocated to different roles.\nTEST_F(MasterTest, MultiRol...
C++
Apache License 2.0
apache/mesos
Fixed flakiness in three MULTI_ROLE related tests. Fixed flakiness in following tests: MasterTest.MultiRoleSchedulerUpgrade UpgradeTest.ReregisterOldAgentWithMultiRoleMaster MasterTest.MultiRoleFrameworkReceivesOffers Review: https://reviews.apache.org/r/57191/
46,165
23.02.2017 17:16:05
28,800
1235e29bdbd75b1c12ab6c0878e617bc625d9793
Expose offer allocation info within the master /state endpoint. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -146,6 +146,7 @@ static void json(JSON::ObjectWriter* writer, const Offer& offer)\n{\nwriter->field(\"id\", offer.id().value());\nwriter->field(\"framework_id\", offer.framework_id().value())...
C++
Apache License 2.0
apache/mesos
Expose offer allocation info within the master /state endpoint. Review: https://reviews.apache.org/r/57013
46,157
01.03.2017 14:09:10
28,800
c3964fb173c98224c9faff50805961b006b56a06
Updated WebUI to display role information under the 'Offers' tab. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/offers.html", "new_path": "src/webui/master/static/offers.html", "diff": "<thead>\n<tr>\n<th data-key=\"id\">ID</th>\n+ <th data-key=\"role\">Role</th>\n<th data-key=\"framework_name\">Framework</th>\n<th data-key=\"hostname\">Host</th>...
C++
Apache License 2.0
apache/mesos
Updated WebUI to display role information under the 'Offers' tab. Review: https://reviews.apache.org/r/57194/
46,165
01.03.2017 14:12:00
28,800
3a51e7e9210a6f08e9002680343a36b9a2590e35
Fixed an incorrect data-key in the webui's offers tab.
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/offers.html", "new_path": "src/webui/master/static/offers.html", "diff": "<thead>\n<tr>\n<th data-key=\"id\">ID</th>\n- <th data-key=\"role\">Role</th>\n+ <th data-key=\"allocation_info.role\">Role</th>\n<th data-key=\"framework_name\">...
C++
Apache License 2.0
apache/mesos
Fixed an incorrect data-key in the webui's offers tab.
46,062
12.02.2017 16:59:45
28,800
41219c071b62ee0ee7555c5eb770b3d98c1c0984
Updated a few functions in the agent to be declared `const`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -4397,10 +4397,10 @@ void Slave::exited(const UPID& pid)\n}\n-Framework* Slave::getFramework(const FrameworkID& frameworkId)\n+Framework* Slave::getFramework(const FrameworkID& frameworkId) c...
C++
Apache License 2.0
apache/mesos
Updated a few functions in the agent to be declared `const`. Review: https://reviews.apache.org/r/57104