author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
46,055
30.07.2017 23:29:10
-28,800
01e5bc386c744aa5e9976935674639595557a760
Added a test `DefaultContainerDNSFlagTest.ValidateFlag`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -133,6 +133,7 @@ using testing::Eq;\nusing testing::Invoke;\nusing testing::Return;\nusing testing::SaveArg;\n+using testing::WithParamInterface;\nnamespace mesos {\nnamespace int...
C++
Apache License 2.0
apache/mesos
Added a test `DefaultContainerDNSFlagTest.ValidateFlag`. Review: https://reviews.apache.org/r/61245
46,055
03.08.2017 19:29:45
-28,800
9b0c836cd7fbf239788e8959ae10620caa7fd8a2
Surrounded raw string with `string()` for `DefaultContainerDNSCniTest`.
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "@@ -1743,6 +1743,7 @@ INSTANTIATE_TEST_CASE_P(\nDefaultContainerDNSCniTest,\n::testing::Values(\n// A DNS information for the `__MESOS_TEST_...
C++
Apache License 2.0
apache/mesos
Surrounded raw string with `string()` for `DefaultContainerDNSCniTest`.
46,056
03.08.2017 14:08:38
-7,200
9b658ce1792019da162edeab2959c85665009b55
Fixed the whitespace build issue using clang-format.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/semaphore.hpp", "new_path": "3rdparty/libprocess/src/semaphore.hpp", "diff": "@@ -238,8 +238,7 @@ thread_local KernelSemaphore* __semaphore__ = nullptr;\n// because it is declared `thread_local` so instead we dereference the\n// semapho...
C++
Apache License 2.0
apache/mesos
Fixed the whitespace build issue using clang-format.
46,055
03.08.2017 20:48:57
-28,800
50b7a3e0a39df671892546c1b09d9c3c98e15125
Replaced raw string with normal string for `DefaultContainerDNSCniTest`.
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "@@ -1743,67 +1743,62 @@ INSTANTIATE_TEST_CASE_P(\nDefaultContainerDNSCniTest,\n::testing::Values(\n// A DNS information for the `__MESOS_TES...
C++
Apache License 2.0
apache/mesos
Replaced raw string with normal string for `DefaultContainerDNSCniTest`.
46,056
04.08.2017 11:58:39
-7,200
73bb0068468ef89351d89784f3cbffa1e1abcb20
Graduated HTTP and TCP health checks. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -43,6 +43,10 @@ Additional API Changes:\nallocator implementation should be changed to interpretation of the\npassed value as a total before updating.\n+Feature Graduations:\n+ * [MESOS-2533] - Support HTTP chec...
C++
Apache License 2.0
apache/mesos
Graduated HTTP and TCP health checks. Review: https://reviews.apache.org/r/61258/
46,056
04.08.2017 12:21:14
-7,200
d9de5efa9201ea0d2581261d83c7c4b4316f95ab
Fixed slaves_unreachable metric. While a gauge for slaves_unreachable was created in master metrics, it was not added to the metrics actor and hence was not tracked by the metrics subsystem. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/metrics.cpp", "new_path": "src/master/metrics.cpp", "diff": "@@ -209,6 +209,7 @@ Metrics::Metrics(const Master& master)\nprocess::metrics::add(slaves_disconnected);\nprocess::metrics::add(slaves_active);\nprocess::metrics::add(slaves_inactive);\n+ p...
C++
Apache License 2.0
apache/mesos
Fixed slaves_unreachable metric. While a gauge for slaves_unreachable was created in master metrics, it was not added to the metrics actor and hence was not tracked by the metrics subsystem. Review: https://reviews.apache.org/r/61032/
46,056
04.08.2017 12:21:22
-7,200
88eb71d0f8d8aa74d662d68261c01ef8fa2d84e6
Added missing metrics to tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -2231,6 +2231,7 @@ TEST_F(MasterTest, MetricsInMetricsEndpoint)\nEXPECT_EQ(1u, snapshot.values.count(\"master/slaves_disconnected\"));\nEXPECT_EQ(1u, snapshot.values.count(\"mas...
C++
Apache License 2.0
apache/mesos
Added missing metrics to tests. Review: https://reviews.apache.org/r/61033/
46,056
04.08.2017 12:21:35
-7,200
cdb90b91ce8ce02d6163e5e2ee5b46fb797b1dee
Adjusted the style in metrics tests for consistency. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -1363,9 +1363,8 @@ TEST_F(SlaveTest, MetricsInMetricsEndpoint)\nEXPECT_EQ(1u, snapshot.values.count(\"slave/valid_framework_messages\"));\nEXPECT_EQ(1u, snapshot.values.count(\"sl...
C++
Apache License 2.0
apache/mesos
Adjusted the style in metrics tests for consistency. Review: https://reviews.apache.org/r/61218/
46,143
22.06.2017 10:33:27
-28,800
c1fdaea22aec3c86017209b8352ff7d40589a8b0
Updated endpoint help generator script to work inside Docker. Changed agent flags to make this script work inside Docker container. This is needed because this script will be run as part of website publishing process which runs on ASF CI inside Docker. Review:
[ { "change_type": "MODIFY", "old_path": "support/generate-endpoint-help.py", "new_path": "support/generate-endpoint-help.py", "diff": "@@ -52,10 +52,13 @@ MASTER_COMMAND = [\n'--work_dir=/tmp/mesos'\n]\n+# NOTE: The agent flags here ensure that this script can run inside docker.\nAGENT_COMMAND = [\n'...
C++
Apache License 2.0
apache/mesos
Updated endpoint help generator script to work inside Docker. Changed agent flags to make this script work inside Docker container. This is needed because this script will be run as part of website publishing process which runs on ASF CI inside Docker. Review: https://reviews.apache.org/r/60438
46,143
22.06.2017 10:43:33
-28,800
23541effba3d24bf5b0eeb457601fe6148002134
Added scripts to automate website publishing. These scripts are expected to be run by ASF CI on any commit to the mesos repo. The directory layout is similar to tidybot CI job. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "support/jenkins/websitebot.sh", "diff": "+#!/usr/bin/env bash\n+\n+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distributed with this work for additional informa...
C++
Apache License 2.0
apache/mesos
Added scripts to automate website publishing. These scripts are expected to be run by ASF CI on any commit to the mesos repo. The directory layout is similar to tidybot CI job. Review: https://reviews.apache.org/r/60439
46,143
22.06.2017 11:05:51
-28,800
8734511fd4e21d6c50d6bb11832c86451322da7d
Updated local development workflow of mesos website. Made the layout and scripts consistent with CI based automatic publishing of the website. Review:
[ { "change_type": "MODIFY", "old_path": "site/Dockerfile", "new_path": "site/Dockerfile", "diff": "@@ -13,4 +13,4 @@ EXPOSE 4567\nEXPOSE 35729\nWORKDIR /mesos/site\n-CMD bash build.sh\n+CMD bash entrypoint.sh\n" }, { "change_type": "MODIFY", "old_path": "site/README.md", "new_path": "...
C++
Apache License 2.0
apache/mesos
Updated local development workflow of mesos website. Made the layout and scripts consistent with CI based automatic publishing of the website. Review: https://reviews.apache.org/r/60440
46,143
04.08.2017 14:39:17
25,200
13953dc4bd59f186b3a17958f9f10881e28ab6a3
Added "-notimestamp" argument to javadoc. This causes javadoc to not generate timestamp and date meta tags in the generated Java docs. This reduces the size of the diff everytime the website publish bot generates the website.
[ { "change_type": "MODIFY", "old_path": "site/Rakefile", "new_path": "site/Rakefile", "diff": "@@ -77,7 +77,7 @@ task :javadoc do\nraise \"Please make sure Java proto files are generated in #{proto_java_folder} folder.\"\nend\n# TODO: add version to the path. Uses 'current' for now.\n- system(\"javad...
C++
Apache License 2.0
apache/mesos
Added "-notimestamp" argument to javadoc. This causes javadoc to not generate timestamp and date meta tags in the generated Java docs. This reduces the size of the diff everytime the website publish bot generates the website.
46,139
04.08.2017 15:29:47
25,200
21a3405aaa189328a774f031d55c71df56fd0b4f
Made the rlimits isolator work with nested containers. Make the rlimits isolator support nesting. Without this patch rlimits sets for tasks launched by the DefaultExecutor are silently ignored. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/posix/rlimits.cpp", "new_path": "src/slave/containerizer/mesos/isolators/posix/rlimits.cpp", "diff": "@@ -28,6 +28,12 @@ namespace mesos {\nnamespace internal {\nnamespace slave {\n+bool PosixRLimitsIsolatorProcess::supp...
C++
Apache License 2.0
apache/mesos
Made the rlimits isolator work with nested containers. Make the rlimits isolator support nesting. Without this patch rlimits sets for tasks launched by the DefaultExecutor are silently ignored. Review: https://reviews.apache.org/r/61387/
46,188
04.08.2017 15:46:29
25,200
cbb2262dbe45f9303281518e58baf907db6ee4af
Fixed some style issues in posix rlimits isolator tests.
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/posix_rlimits_isolator_tests.cpp", "new_path": "src/tests/containerizer/posix_rlimits_isolator_tests.cpp", "diff": "@@ -122,7 +122,8 @@ TEST_F(PosixRLimitsIsolatorTest, InvalidLimits)\n// This test confirms that setting no values for th...
C++
Apache License 2.0
apache/mesos
Fixed some style issues in posix rlimits isolator tests.
46,139
04.08.2017 15:51:27
25,200
50a553dd10a2adbf653d5ad751723294a14720a8
Made the capabilities isolator work with nested containers. Make the capabilities isolator support nesting. Without this patch capabilities sets for tasks launched by the DefaultExecutor are silently ignored. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/linux/capabilities.cpp", "new_path": "src/slave/containerizer/mesos/isolators/linux/capabilities.cpp", "diff": "@@ -74,6 +74,12 @@ Try<Isolator*> LinuxCapabilitiesIsolatorProcess::create(const Flags& flags)\n}\n+bool Lin...
C++
Apache License 2.0
apache/mesos
Made the capabilities isolator work with nested containers. Make the capabilities isolator support nesting. Without this patch capabilities sets for tasks launched by the DefaultExecutor are silently ignored. Review: https://reviews.apache.org/r/61394/
46,143
04.08.2017 16:16:24
25,200
8f8a5ef3bd0dbe860ca15b1159fa257b77fa5959
Updated working groups doc to remove email markdown shortcut. Using the "<email>" shortcut causes a random encoding to be generated by markdown to obscure the address from address-harvesting spambots. But the randomness is undesirable for us because it results in a new diff everytime the website CI bot runs.
[ { "change_type": "MODIFY", "old_path": "docs/working-groups.md", "new_path": "docs/working-groups.md", "diff": "@@ -10,7 +10,7 @@ Below are some of the expectations from a working group:\n* Should have at least one lead who is responsible for organizing and driving the work group meetings.\n* Should...
C++
Apache License 2.0
apache/mesos
Updated working groups doc to remove email markdown shortcut. Using the "<email>" shortcut causes a random encoding to be generated by markdown to obscure the address from address-harvesting spambots. But the randomness is undesirable for us because it results in a new diff everytime the website CI bot runs.
46,143
04.08.2017 16:30:04
25,200
68e9bd439860802494045cf1b4f911ca06504a73
Disabled caching during docker build of the website. This is to avoid flaky docker build of website in CI. We did a similar change to support/docker-build.sh.
[ { "change_type": "MODIFY", "old_path": "site/mesos-website-dev.sh", "new_path": "site/mesos-website-dev.sh", "diff": "@@ -30,7 +30,7 @@ pushd \"$MESOS_DIR\"\nTAG=mesos/website-`date +%s`-$RANDOM\n-docker build --no-cache=true -t $TAG site\n+docker build -t $TAG site\ntrap 'docker rmi $TAG' EXIT\n" ...
C++
Apache License 2.0
apache/mesos
Disabled caching during docker build of the website. This is to avoid flaky docker build of website in CI. We did a similar change to support/docker-build.sh.
46,056
07.08.2017 12:46:05
-7,200
79028f37ea2232fa39cce68d5bfd192c0099d6f9
Tweaked checker logs to avoid repeated information. Macro `WSTRINGIFY` already prints some test before printing the exit code of the command or termination signal. Hence adding "returned" word prior to invoking this macro is not necessary and might even be misleading. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker_process.cpp", "new_path": "src/checks/checker_process.cpp", "diff": "@@ -847,14 +847,14 @@ Future<int> CheckerProcess::_httpCheck(\nconst Future<string>& error = std::get<2>(t);\nif (!error.isReady()) {\nreturn Failure(\n- string(HTTP_CHECK_...
C++
Apache License 2.0
apache/mesos
Tweaked checker logs to avoid repeated information. Macro `WSTRINGIFY` already prints some test before printing the exit code of the command or termination signal. Hence adding "returned" word prior to invoking this macro is not necessary and might even be misleading. Review: https://reviews.apache.org/r/61455
46,188
07.08.2017 10:32:52
25,200
2c1b42047c062994f874b23ad62b87cc441f0e1e
Removed an unused function in src/linux/ns.hpp. The last reference to this function was removed as part of this cleanup: Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/ns.hpp", "new_path": "src/linux/ns.hpp", "diff": "@@ -612,77 +612,6 @@ inline Try<pid_t> clone(\n}\n-namespace pid {\n-\n-inline process::Future<Nothing> destroy(ino_t inode)\n-{\n- // Check we're not trying to kill the root namespace.\n- Try<ino_t> ...
C++
Apache License 2.0
apache/mesos
Removed an unused function in src/linux/ns.hpp. The last reference to this function was removed as part of this cleanup: https://reviews.apache.org/r/51963/. Review: https://reviews.apache.org/r/61474
46,188
07.08.2017 11:44:09
25,200
eb06f4db61ae09adbd12cd24a6a8a31a80fdc6f2
Added an async signal safe ASSERT to stout. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/Makefile.am", "new_path": "3rdparty/stout/include/Makefile.am", "diff": "nobase_include_HEADERS = \\\nstout/abort.hpp \\\nstout/adaptor.hpp \\\n+ stout/assert.hpp \\\nstout/attributes.hpp \\\nstout/base64.hpp \\\nstout/boundedhashmap.hpp...
C++
Apache License 2.0
apache/mesos
Added an async signal safe ASSERT to stout. Review: https://reviews.apache.org/r/61475
46,188
07.08.2017 11:59:59
25,200
d9c90bf1d9c8b3a7dcc47be0cb773efff57cfb9d
Used async signal safe assert in ns::clone. Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/ns.hpp", "new_path": "src/linux/ns.hpp", "diff": "#error \"linux/ns.hpp is only available on Linux systems.\"\n#endif\n-#include <assert.h>\n#include <sched.h>\n#include <unistd.h>\n#include <string>\n#include <vector>\n+#include <stout/assert.hpp>\n...
C++
Apache License 2.0
apache/mesos
Used async signal safe assert in ns::clone. Review: https://reviews.apache.org/r/61477
46,082
07.08.2017 11:00:22
25,200
2ce2a0add3906a4bb569043ca841b2db369e79fa
Added `ENUM` preprocessor macro. This allows using templates to generate parameter lists, for example: `#define MOVE_TEMPLATE(Z, N, DATA) std::move(DATA ## N)` Then it can be used as `call(ENUM(2, MOVE_TEMPLATE, p));` which is expanded as `call(std::move(p1), std::move(p2));` Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/preprocessor.hpp", "new_path": "3rdparty/stout/include/stout/preprocessor.hpp", "diff": "#define INTERCEPT BOOST_PP_INTERCEPT\n#define ENUM_PARAMS BOOST_PP_ENUM_PARAMS\n#define ENUM_BINARY_PARAMS BOOST_PP_ENUM_BINARY_PARAMS\n+#defi...
C++
Apache License 2.0
apache/mesos
Added `ENUM` preprocessor macro. This allows using templates to generate parameter lists, for example: `#define MOVE_TEMPLATE(Z, N, DATA) std::move(DATA ## N)` Then it can be used as `call(ENUM(2, MOVE_TEMPLATE, p));` which is expanded as `call(std::move(p1), std::move(p2));` Review: https://reviews.apache.org/r/60...
46,103
08.08.2017 16:00:31
25,200
a31dd52ab71d2a529b55cd9111ec54acf7550ded
Fixed `mesos-execute` help text related to task resources. With reservation refinement, `mesos-execute` requires input resources to be in the post-reservation-refinement format. This patch updates the help string to reflect this correctly. Review:
[ { "change_type": "MODIFY", "old_path": "src/cli/execute.cpp", "new_path": "src/cli/execute.cpp", "diff": "@@ -121,16 +121,14 @@ public:\n\" \\\"type\\\": \\\"SCALAR\\\",\\n\"\n\" \\\"scalar\\\": {\\n\"\n\" \\\"value\\\": 0.1\\n\"\n- \" },\\n\"\n- \" \\\"role\\\": \\\"*\\\"\\n\"\n+ \" }\\n\"\n\" },\\...
C++
Apache License 2.0
apache/mesos
Fixed `mesos-execute` help text related to task resources. With reservation refinement, `mesos-execute` requires input resources to be in the post-reservation-refinement format. This patch updates the help string to reflect this correctly. Review: https://reviews.apache.org/r/61253/
46,103
09.08.2017 18:38:19
-7,200
d03c650c9ad47c4ce6c5844dfa2260c8bdf643da
Added configure flag to disable fatal errors. This commits adds a configure option '--disable-werror' which can be used to disable the use of '-Werror'. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -284,6 +284,11 @@ AC_ARG_ENABLE([parallel_test_execution],\n[execute tests in parallel where possible]),\n[], [enable_parallel_test_execution=no])\n+AC_ARG_ENABLE([werror],\n+ AS_HELP_STRING([--disable-wer...
C++
Apache License 2.0
apache/mesos
Added configure flag to disable fatal errors. This commits adds a configure option '--disable-werror' which can be used to disable the use of '-Werror'. Review: https://reviews.apache.org/r/60000/
46,103
09.08.2017 18:38:42
-7,200
3587ca14c81c61949239698539df3e67774c9071
Added documentation of parallel test execution config flag. The '--enable-parallel-test-execution' configure flag was added some time ago without explicit documentation. This patch adds accompanying configure flag markdown documentation. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration.md", "new_path": "docs/configuration.md", "diff": "@@ -2513,6 +2513,14 @@ quotas for container sandbox directories. Valid project IDs range from\nWhether profiling with Google perftools is enabled. [default=no]\n</td>\n</tr>\n+ <tr>\n+ <td>\...
C++
Apache License 2.0
apache/mesos
Added documentation of parallel test execution config flag. The '--enable-parallel-test-execution' configure flag was added some time ago without explicit documentation. This patch adds accompanying configure flag markdown documentation. Review: https://reviews.apache.org/r/61458/
46,128
09.08.2017 10:00:46
25,200
db8d097c9565e9b6f60531f9eb3f993a6c60fd72
Added a test to verify the fix for a failed agent assertion. This patch adds 'SlaveTest.GetStateTaskGroupPending', which confirms the fix for The test verifies that requests to the agent's '/state' endpoint are successful when there are pending tasks on the agent which were launched as part of a task group. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -1703,6 +1703,134 @@ TEST_F(SlaveTest, StateEndpoint)\n}\n+// Verifies that requests to the agent's '/state' endpoint are successful when\n+// there are pending tasks from a task ...
C++
Apache License 2.0
apache/mesos
Added a test to verify the fix for a failed agent assertion. This patch adds 'SlaveTest.GetStateTaskGroupPending', which confirms the fix for MESOS-7871. The test verifies that requests to the agent's '/state' endpoint are successful when there are pending tasks on the agent which were launched as part of a task group...
46,055
10.08.2017 09:55:42
-28,800
2cea83653afcf6d7470242379809645bfe009016
Updated Qian's company.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -295,7 +295,7 @@ We'd like to thank the following committers to the Apache Mesos project who have\n<tr>\n<td>+8</td>\n<td>Qian Zhang</td>\n- <td>IBM</td>\n+ <td>Mesosphere</td>\n<td></td>\n<td>...
C++
Apache License 2.0
apache/mesos
Updated Qian's company.
46,172
10.08.2017 16:52:10
-7,200
90c4b70bf5031aceefcc819521c28e63f0a002b8
Added name flag to balloon and disk full frameworks. Allows to distinguish the framework between different instances. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/balloon_framework.cpp", "new_path": "src/examples/balloon_framework.cpp", "diff": "@@ -68,6 +68,11 @@ class Flags : public virtual flags::FlagsBase\npublic:\nFlags()\n{\n+ add(&Flags::name,\n+ \"name\",\n+ \"Name to be used by the framework.\",\n+...
C++
Apache License 2.0
apache/mesos
Added name flag to balloon and disk full frameworks. Allows to distinguish the framework between different instances. Review: https://reviews.apache.org/r/61110/
46,172
10.08.2017 16:52:17
-7,200
7d672512b1aec359680f0781d8647ac156d48591
Refrained from setting `ExecutorInfo.source` in example frameworks. `Executor.source` is deprecated since Mesos 1.0.
[ { "change_type": "MODIFY", "old_path": "src/examples/long_lived_framework.cpp", "new_path": "src/examples/long_lived_framework.cpp", "diff": "@@ -581,7 +581,6 @@ int main(int argc, char** argv)\nexecutor.mutable_executor_id()->set_value(\"default\");\nexecutor.mutable_resources()->CopyFrom(resources...
C++
Apache License 2.0
apache/mesos
Refrained from setting `ExecutorInfo.source` in example frameworks. `Executor.source` is deprecated since Mesos 1.0.
46,172
10.08.2017 16:58:52
-7,200
4b9a543fae7a5932fc638aafd1502b8d648550fe
Extracted strings into constants in example frameworks. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/balloon_framework.cpp", "new_path": "src/examples/balloon_framework.cpp", "diff": "@@ -63,6 +63,10 @@ const double CPUS_PER_TASK = 0.1;\nconst double CPUS_PER_EXECUTOR = 0.1;\nconst int32_t MEM_PER_EXECUTOR = 64;\n+constexpr char EXECUTOR_BINARY[]...
C++
Apache License 2.0
apache/mesos
Extracted strings into constants in example frameworks. Review: https://reviews.apache.org/r/61111/
46,172
10.08.2017 17:08:32
-7,200
d5a7c2229d2aba23f62599b25c651cd2ca669eb7
Cleaned up style in example frameworks. Review:
[ { "change_type": "MODIFY", "old_path": "src/examples/balloon_framework.cpp", "new_path": "src/examples/balloon_framework.cpp", "diff": "@@ -67,6 +67,7 @@ constexpr char EXECUTOR_BINARY[] = \"balloon-executor\";\nconstexpr char FRAMEWORK_PRINCIPAL[] = \"balloon-framework-cpp\";\nconstexpr char FRAMEW...
C++
Apache License 2.0
apache/mesos
Cleaned up style in example frameworks. Review: https://reviews.apache.org/r/61137/
46,172
10.08.2017 09:38:43
25,200
d04ab2096169513561d20a414c67ed1aaed0ecd7
Linted support/test-upgrade.py. This will allow us to use PyLint on the entire support directory in the future. Review:
[ { "change_type": "MODIFY", "old_path": "support/test-upgrade.py", "new_path": "support/test-upgrade.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 fo...
C++
Apache License 2.0
apache/mesos
Linted support/test-upgrade.py. This will allow us to use PyLint on the entire support directory in the future. Review: https://reviews.apache.org/r/60235/
46,053
10.08.2017 18:52:51
-7,200
4d2afc50c88afff1c197720fa507637def4d2f20
Added logging in docker executor on `docker stop` failure. Review:
[ { "change_type": "MODIFY", "old_path": "src/docker/executor.cpp", "new_path": "src/docker/executor.cpp", "diff": "@@ -411,6 +411,11 @@ private:\n// that we can adjust the grace period in the case of\n// a `KillPolicy` override.\nstop = docker->stop(containerName, gracePeriod);\n+\n+ stop.onFailed(de...
C++
Apache License 2.0
apache/mesos
Added logging in docker executor on `docker stop` failure. Review: https://reviews.apache.org/r/61435/
46,053
10.08.2017 18:53:03
-7,200
06dcbd7b7c876a1f90934a679e2514d012df4d37
Enabled retries for `killTask` in docker executor. Previously, after `docker stop` command failure, docker executor neither allowed a scheduler to retry `killTask` command, nor retried `killTask` when task kill was triggered by a failed health check. Review:
[ { "change_type": "MODIFY", "old_path": "src/docker/executor.cpp", "new_path": "src/docker/executor.cpp", "diff": "#include <mesos/executor.hpp>\n#include <mesos/mesos.hpp>\n+#include <process/delay.hpp>\n#include <process/id.hpp>\n#include <process/owned.hpp>\n#include <process/process.hpp>\n@@ -71,...
C++
Apache License 2.0
apache/mesos
Enabled retries for `killTask` in docker executor. Previously, after `docker stop` command failure, docker executor neither allowed a scheduler to retry `killTask` command, nor retried `killTask` when task kill was triggered by a failed health check. Review: https://reviews.apache.org/r/61530/
46,056
11.08.2017 01:39:42
-7,200
72c1d06723a6d9029f75be13fe90df8bbbc12192
Added to 1.1.3, 1.2.3, 1.3.2 CHANGELOGs.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -48,10 +48,19 @@ Feature Graduations:\n* [MESOS-3567] - Support TCP checks in Mesos.\n-Release Notes - Mesos - Version 1.3.1 (WIP)\n+Release Notes - Mesos - Version 1.3.2 (WIP)\n---------------------------------...
C++
Apache License 2.0
apache/mesos
Added MESOS-6743 to 1.1.3, 1.2.3, 1.3.2 CHANGELOGs.
46,066
11.08.2017 01:42:46
-7,200
b9e27f2360356198019130befba48ce8ad685ae2
Added a 'UNKNOWN' field to the Update.State enumeration. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resource_provider/resource_provider.proto", "new_path": "include/mesos/resource_provider/resource_provider.proto", "diff": "@@ -74,6 +74,12 @@ message Call {\n// Notify the master about the status of an operation.\nmessage Update {\nenum State {\...
C++
Apache License 2.0
apache/mesos
Added a 'UNKNOWN' field to the Update.State enumeration. Review: https://reviews.apache.org/r/59146/
46,139
11.08.2017 02:13:37
-7,200
8127bae344ad77c3d81ae1691f02faf17e280424
Fixed a typo in a test. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/fetcher_cache_tests.cpp", "new_path": "src/tests/fetcher_cache_tests.cpp", "diff": "@@ -374,7 +374,7 @@ void FetcherCacheTest::setupArchiveAsset()\narchivePath = path::join(assetsDirectory, ARCHIVE_NAME);\n// Make the archive file read-only, so we ca...
C++
Apache License 2.0
apache/mesos
Fixed a typo in a test. Review: https://reviews.apache.org/r/61584/
46,068
11.08.2017 15:23:09
-7,200
3dc041d55e099269fd3c72c9cea287699be004a7
Updated website for 1.2.2 release.
[ { "change_type": "MODIFY", "old_path": "site/data/releases.yml", "new_path": "site/data/releases.yml", "diff": "@@ -15,6 +15,9 @@ news:\n## - title: (required)\n## date: (required)\n## blog: (required)\n+ - title: Mesos 1.2.2 is released!\n+ date: August 11, 2017\n+ blog: mesos-1-2-2-released\n- tit...
C++
Apache License 2.0
apache/mesos
Updated website for 1.2.2 release.
46,129
09.08.2017 10:35:46
25,200
6241f7722b85783d6ab7c3db77d6bb92c8dbc21a
Fixed the device number proto 'major' and 'minor' to avoid MACROs. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -3153,8 +3153,8 @@ message FileInfo {\n*/\nmessage Device {\nmessage Number {\n- required uint64 major = 1;\n- required uint64 minor = 2;\n+ required uint64 major_number = 1;\n+ r...
C++
Apache License 2.0
apache/mesos
Fixed the device number proto 'major' and 'minor' to avoid MACROs. Review: https://reviews.apache.org/r/61531
46,055
11.08.2017 15:53:55
25,200
d2e4f02dee21511661c1d273a66e32f211794fda
Created staging dir only when needed. Created staging dir only when needed. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/docker/store.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/docker/store.cpp", "diff": "@@ -274,18 +274,19 @@ Future<Image> StoreProcess::_get(\n}\n}\n+ // If there is already a pulling going on for the g...
C++
Apache License 2.0
apache/mesos
Created staging dir only when needed. Created staging dir only when needed. Review: https://reviews.apache.org/r/61546/
46,139
11.08.2017 17:02:23
25,200
2e95dcb3d0791905b668b8785dc8b9c7a7e456d2
Libprocess: Improved the readability of some assertions/expectations. Prefer checking whether a container is empty instead of checking its size. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/decoder_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/decoder_tests.cpp", "diff": "@@ -189,7 +189,7 @@ TEST(DecoderTest, ResponseWithUnspecifiedLength)\ndeque<http::Response*> responses = decoder.decode(data.data(), data....
C++
Apache License 2.0
apache/mesos
Libprocess: Improved the readability of some assertions/expectations. Prefer checking whether a container is empty instead of checking its size. Review: https://reviews.apache.org/r/61564/
46,139
11.08.2017 17:02:24
25,200
628d6609b6eeb90767e5799d0177bfe4828d71aa
Stout: Improved the readability of some assertions/expectations. Prefer checking whether a container is empty instead of checking its size. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/flags_tests.cpp", "new_path": "3rdparty/stout/tests/flags_tests.cpp", "diff": "@@ -241,7 +241,7 @@ TEST_TEMP_DISABLED_ON_WINDOWS(FlagsTest, LoadFromEnvironment)\nTry<Warnings> load = flags.load(\"FLAGSTEST_\");\nEXPECT_SOME(load);\n- EXPEC...
C++
Apache License 2.0
apache/mesos
Stout: Improved the readability of some assertions/expectations. Prefer checking whether a container is empty instead of checking its size. Review: https://reviews.apache.org/r/61565/
46,139
14.08.2017 13:52:49
25,200
f4348182c1c5b832743166cfdad9b1a84bc2824e
Stout: Made `Duration::parse()` handle durations out of range. Made `Duration:parse()` return an error if the argument is out of the range that a `Duration` can represent. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/duration.hpp", "new_path": "3rdparty/stout/include/stout/duration.hpp", "diff": "@@ -50,28 +50,39 @@ public:\nconst std::string unit = s.substr(index);\n+ int64_t factor;\nif (unit == \"ns\") {\n- return Duration(value.get(), NANOS...
C++
Apache License 2.0
apache/mesos
Stout: Made `Duration::parse()` handle durations out of range. Made `Duration:parse()` return an error if the argument is out of the range that a `Duration` can represent. Review: https://reviews.apache.org/r/60721/
46,139
14.08.2017 13:52:50
25,200
1efe264ebcf998c248cb7eecba57bd65e2060645
Stout: Made boundary checking in Duration consistent. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/duration.hpp", "new_path": "3rdparty/stout/include/stout/duration.hpp", "diff": "@@ -410,8 +410,7 @@ inline std::ostream& operator<<(std::ostream& stream, const Duration& duration_)\ninline Try<Duration> Duration::create(double sec...
C++
Apache License 2.0
apache/mesos
Stout: Made boundary checking in Duration consistent. Review: https://reviews.apache.org/r/61601/
46,139
14.08.2017 13:52:51
25,200
8254fd36b668efdbbbd11239e5a16a28e05e65a3
Prefer leading instead of trailing spaces for allocator log messages. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -2149,9 +2149,10 @@ bool HierarchicalAllocatorProcess::isFiltered(\n// Prevent offers from non-HIERARCHICAL_ROLE agents to be allocated\n// to ...
C++
Apache License 2.0
apache/mesos
Prefer leading instead of trailing spaces for allocator log messages. Review: https://reviews.apache.org/r/60815/
46,139
14.08.2017 13:52:54
25,200
2fe2bb26a425da9aaf1d7cf34019dd347d0cf9a4
Added to the changelog. This patch adds to the changelog and adds a missing period to the existing text. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -32,7 +32,7 @@ Deprecations/Removals:\nof LinuxInfo.effective_capabilities.\n* [MESOS-7477] - The agent `--allowed_capabilities` flag is\n- deprecated in favor of `--effective_capabilities`\n+ deprecated in favo...
C++
Apache License 2.0
apache/mesos
Added MESOS-7660 to the changelog. This patch adds MESOS-7660 to the changelog and adds a missing period to the existing text. Review: https://reviews.apache.org/r/61621/
46,129
13.08.2017 19:51:54
25,200
dc1908a333453dab195307d28404913336bd594e
Added container PID namespace control protobuf field in LinuxInfo. User facing interface for container configurable PID namespace. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2742,6 +2742,14 @@ message LinuxInfo {\n// Represents the set of capabilities that the task will\n// be executed with.\noptional CapabilityInfo effective_capabilities = 3;\n+\n+ ...
C++
Apache License 2.0
apache/mesos
Added container PID namespace control protobuf field in LinuxInfo. User facing interface for container configurable PID namespace. Review: https://reviews.apache.org/r/61270/
46,055
13.08.2017 19:51:56
25,200
03e093f5d09e35a54e4373692d47a46d58fae4d0
Introduced `--disallow_sharing_agent_pid_namespace` agent flag. Introduced `--disallow_sharing_agent_pid_namespace` agent flag. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration.md", "new_path": "docs/configuration.md", "diff": "@@ -2044,6 +2044,20 @@ sandbox is mapped to.\n(default: /mnt/mesos/sandbox)\n</td>\n</tr>\n+<tr>\n+ <td>\n+ --[no-]disallow_sharing_agent_pid_namespace\n+ </td>\n+ <td>\n+If set to <code>tru...
C++
Apache License 2.0
apache/mesos
Introduced `--disallow_sharing_agent_pid_namespace` agent flag. Introduced `--disallow_sharing_agent_pid_namespace` agent flag. Review: https://reviews.apache.org/r/61406/
46,055
13.08.2017 19:51:57
25,200
36f11dd39a389fbe4128bd6ffffe9afb179e4f6c
Added pid ns sharing based on agent flag and protobuf message field. Added pid ns sharing based on agent flag and protobuf message field. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/namespaces/pid.cpp", "new_path": "src/slave/containerizer/mesos/isolators/namespaces/pid.cpp", "diff": "#include \"slave/containerizer/mesos/isolators/namespaces/pid.hpp\"\n+using process::Failure;\nusing process::Future...
C++
Apache License 2.0
apache/mesos
Added pid ns sharing based on agent flag and protobuf message field. Added pid ns sharing based on agent flag and protobuf message field. Review: https://reviews.apache.org/r/61428/
46,055
13.08.2017 19:51:59
25,200
fdc3554d085e2dd70124ffa7b64e0847b46b1a12
Added a test `NamespacesIsolatorTest.ROOT_SharePidNamespace`. Added a test `NamespacesIsolatorTest.ROOT_SharePidNamespace`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/isolator_tests.cpp", "new_path": "src/tests/containerizer/isolator_tests.cpp", "diff": "#include <mesos/mesos.hpp>\n+#include <mesos/slave/containerizer.hpp>\n+\n#ifdef __linux__\n#include \"linux/ns.hpp\"\n#endif\n@@ -105,6 +107,7 @@ T...
C++
Apache License 2.0
apache/mesos
Added a test `NamespacesIsolatorTest.ROOT_SharePidNamespace`. Added a test `NamespacesIsolatorTest.ROOT_SharePidNamespace`. Review: https://reviews.apache.org/r/61464/
46,055
13.08.2017 19:52:00
25,200
829a7a57abdfdc4bba4f2918fc822fb70033202b
Added test `NamespacesIsolatorTest.ROOT_SharePidNamespaceWhenDisallow`. Added test `NamespacesIsolatorTest.ROOT_SharePidNamespaceWhenDisallow`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/isolator_tests.cpp", "new_path": "src/tests/containerizer/isolator_tests.cpp", "diff": "@@ -68,11 +68,18 @@ public:\ncontainerId.set_value(UUID::random().toString());\n}\n- Try<Owned<MesosContainerizer>> createContainerizer(const string...
C++
Apache License 2.0
apache/mesos
Added test `NamespacesIsolatorTest.ROOT_SharePidNamespaceWhenDisallow`. Added test `NamespacesIsolatorTest.ROOT_SharePidNamespaceWhenDisallow`. Review: https://reviews.apache.org/r/61465/
46,055
13.08.2017 19:52:01
25,200
63e848a4817824b5b9e92d6d0150da8a9d7b3a58
Added the test `ROOT_CGROUPS_LaunchNestedSharePidNamespace`. Added the test `ROOT_CGROUPS_LaunchNestedSharePidNamespace`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp", "new_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp", "diff": "@@ -827,6 +827,148 @@ TEST_F(NestedMesosContainerizerTest,\n}\n+// This test verifies that nested container can ...
C++
Apache License 2.0
apache/mesos
Added the test `ROOT_CGROUPS_LaunchNestedSharePidNamespace`. Added the test `ROOT_CGROUPS_LaunchNestedSharePidNamespace`. Review: https://reviews.apache.org/r/61466/
46,055
13.08.2017 19:52:03
25,200
2e3a5b1347e5ff8c3bfa6d80d14c1f9e883887d3
Added a test `DefaultExecutorTest.ROOT_MultiTaskgroupSharePidNamespace`. Added a test `DefaultExecutorTest.ROOT_MultiTaskgroupSharePidNamespace`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -1373,6 +1373,178 @@ TEST_P(DefaultExecutorTest, ReservedResources)\n}\n+#ifdef __linux__\n+// This test verifies that tasks from two different\n+// task gro...
C++
Apache License 2.0
apache/mesos
Added a test `DefaultExecutorTest.ROOT_MultiTaskgroupSharePidNamespace`. Added a test `DefaultExecutorTest.ROOT_MultiTaskgroupSharePidNamespace`. Review: https://reviews.apache.org/r/61493/
46,056
15.08.2017 15:49:13
-7,200
e375b7bdde470755f9c71408568653106cde7c71
Added entry for 1.5.0 to CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "+Release Notes - Mesos - Version 1.5.0 (WIP)\n+-------------------------------------------\n+This release contains the following new features:\n+\n+Deprecations/Removals:\n+\n+Additional API Changes:\n+\n+Unresolve...
C++
Apache License 2.0
apache/mesos
Added entry for 1.5.0 to CHANGELOG.
46,056
15.08.2017 16:01:10
-7,200
e335106aa0406210a5faa10d5657701ca6fbb80c
Moved to the appropriate CHANGELOG section.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -5,6 +5,8 @@ This release contains the following new features:\nDeprecations/Removals:\nAdditional API Changes:\n+ * [MESOS-7660] `Filter::refuse_seconds` is now capped to 31536000\n+ seconds (365 days).\nUnreso...
C++
Apache License 2.0
apache/mesos
Moved MESOS-7660 to the appropriate CHANGELOG section.
46,136
15.08.2017 17:37:49
25,200
093ccde55e68b705fe5ef6e851be1dc2b7e436da
Added the field `signal` to the `KillNestedContainer` call. This would be used later for sending signals (SIGTERM, SIGKILL etc.) to the running container. Previously, SIGKILL was used by default. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/agent/agent.proto", "new_path": "include/mesos/agent/agent.proto", "diff": "@@ -121,9 +121,12 @@ message Call {\nrequired ContainerID container_id = 1;\n}\n- // Kills the nested container. Currently only supports SIGKILL.\n+ // Kills the nested c...
C++
Apache License 2.0
apache/mesos
Added the field `signal` to the `KillNestedContainer` call. This would be used later for sending signals (SIGTERM, SIGKILL etc.) to the running container. Previously, SIGKILL was used by default. Review: https://reviews.apache.org/r/61569/
46,136
15.08.2017 17:37:54
25,200
8b3fd242f4af1e2e6d7af74e865b8f42c29af3be
Added the `kill()` function to the containerizer interface. This would be used by now on for killing a container by sending a signal to it similar to the linux equivalent `kill()` system call. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/containerizer.hpp", "new_path": "src/slave/containerizer/containerizer.hpp", "diff": "@@ -139,6 +139,16 @@ public:\n// so you should always call wait() before destroy().\nvirtual process::Future<bool> destroy(const ContainerID& containe...
C++
Apache License 2.0
apache/mesos
Added the `kill()` function to the containerizer interface. This would be used by now on for killing a container by sending a signal to it similar to the linux equivalent `kill()` system call. Review: https://reviews.apache.org/r/61570/
46,136
15.08.2017 17:38:04
25,200
8c8e2af56457346af586e94f071bfa14a92eb20a
Added `kill()` call to the composing containerizer. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/composing.cpp", "new_path": "src/slave/containerizer/composing.cpp", "diff": "@@ -89,6 +89,8 @@ public:\nFuture<bool> destroy(const ContainerID& containerId);\n+ Future<bool> kill(const ContainerID& containerId, int signal);\n+\nFuture<...
C++
Apache License 2.0
apache/mesos
Added `kill()` call to the composing containerizer. Review: https://reviews.apache.org/r/61571/
46,136
15.08.2017 17:38:08
25,200
8fc0491be86a665bb80a0dd978d8799d6559be1f
Made `killNestedContainer()` use `kill()` on the containerizer. Instead of invoking `destroy()` directly, `killNestedContainer()` would invoke `kill()` to terminate the nested container. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -2497,6 +2497,12 @@ Future<Response> Http::killNestedContainer(\nconst ContainerID& containerId =\ncall.kill_nested_container().container_id();\n+ // SIGKILL is used by default if a signal is n...
C++
Apache License 2.0
apache/mesos
Made `killNestedContainer()` use `kill()` on the containerizer. Instead of invoking `destroy()` directly, `killNestedContainer()` would invoke `kill()` to terminate the nested container. Review: https://reviews.apache.org/r/61572/
46,136
15.08.2017 17:38:14
25,200
d1abe1e9ae4fdd53a97e643df9b55fee969743db
Made the default executor support signal escalation. This modifies the default executor to perform signal escalation via the 'KILL_NESTED_CONTAINER' call i.e., send a SIGTERM followed by a SIGKILL after a constant grace period. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -993,7 +993,34 @@ protected:\ncontainer->healthChecker = None();\n}\n- LOG(INFO) << \"Killing child container \" << container->containerId;\n+ LOG(INFO)\n+ << \"Ki...
C++
Apache License 2.0
apache/mesos
Made the default executor support signal escalation. This modifies the default executor to perform signal escalation via the 'KILL_NESTED_CONTAINER' call i.e., send a SIGTERM followed by a SIGKILL after a constant grace period. Review: https://reviews.apache.org/r/61573/
46,136
15.08.2017 17:38:55
25,200
0eab58a4790f22dfc1cec70367364bdedb6024f8
Added support for kill policies to the default executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -230,7 +230,11 @@ public:\n}\ncase Event::KILL: {\n- killTask(event.kill().task_id());\n+ Option<KillPolicy> killPolicy = event.kill().has_kill_policy()\n+ ? Optio...
C++
Apache License 2.0
apache/mesos
Added support for kill policies to the default executor. Review: https://reviews.apache.org/r/61668/
46,136
15.08.2017 17:41:27
25,200
6a1e4f7c6639ec4897c3a4a40cffea41ce302a94
Added `kill()` support to the test containerizer interface. This is needed to make some tests pass that rely on the test containerizer. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer.cpp", "new_path": "src/tests/containerizer.cpp", "diff": "@@ -303,6 +303,11 @@ public:\nreturn destroy(containerId.get());\n}\n+ Future<bool> kill(const ContainerID& containerId, int /* signal */)\n+ {\n+ return destroy(containerId);\n+...
C++
Apache License 2.0
apache/mesos
Added `kill()` support to the test containerizer interface. This is needed to make some tests pass that rely on the test containerizer. Review: https://reviews.apache.org/r/61574/
46,062
16.08.2017 21:49:18
25,200
972b4ea616adc6e60bef3b788724a8e7ff5d5468
Updated website for 1.3.1 release.
[ { "change_type": "MODIFY", "old_path": "site/data/releases.yml", "new_path": "site/data/releases.yml", "diff": "# `versions` below.\n# * When publishing a new blog post, we need to append an item to `news` below.\nlatest_stable:\n- version: 1.3.0\n- jira_version: 12339183\n+ version: 1.3.1\n+ jira_v...
C++
Apache License 2.0
apache/mesos
Updated website for 1.3.1 release.
46,062
17.08.2017 08:25:06
25,200
bc0c786cfa6d337aeee4b1002a65cfc81123d60f
Corrected the rolling upgrade versions in 1.3.1 release blog post.
[ { "change_type": "MODIFY", "old_path": "site/source/blog/2017-08-15-mesos-1-3-1-released.md", "new_path": "site/source/blog/2017-08-15-mesos-1-3-1-released.md", "diff": "@@ -33,7 +33,7 @@ Full release notes are available in the release [CHANGELOG](https://git-wip-us.a\n### Upgrades\n-Rolling upgrade...
C++
Apache License 2.0
apache/mesos
Corrected the rolling upgrade versions in 1.3.1 release blog post.
46,177
03.08.2017 11:12:13
25,200
debf115c0993e3fda4c78595fa9c4ba7925bad5a
Windows: Disabled two agent recovery tests. The Mesos master on Windows is currently not compiled with support for recovering after failover, so tests that exercise this functionality should be disabled.
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -3602,7 +3602,8 @@ TEST_F(SlaveTest, HealthCheckUnregisterRace)\n// This test verifies that when an unreachable agent reregisters after\n// master failover, the master consults an...
C++
Apache License 2.0
apache/mesos
Windows: Disabled two agent recovery tests. The Mesos master on Windows is currently not compiled with support for recovering after failover, so tests that exercise this functionality should be disabled.
46,178
17.08.2017 19:40:05
14,400
50c8883f916d1f465774a7c26393f82787e42673
Bumped version to 1.5.0.
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -24,7 +24,7 @@ endif ()\nproject(Mesos)\nset(MESOS_MAJOR_VERSION 1)\n-set(MESOS_MINOR_VERSION 4)\n+set(MESOS_MINOR_VERSION 5)\nset(MESOS_PATCH_VERSION 0)\nset(PACKAGE_VERSION\n${MESOS_MAJOR_VERSION}.${...
C++
Apache License 2.0
apache/mesos
Bumped version to 1.5.0.
46,178
17.08.2017 21:28:19
14,400
a284e81cd0855ccd2062104b079dfec82733cc6f
Added secrets docs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/home.md", "new_path": "docs/home.md", "diff": "@@ -35,6 +35,7 @@ layout: documentation\n* [Monitoring](monitoring.md)\n* [Operational Guide](operational-guide.md)\n* [Roles](roles.md)\n+* [Secrets](secrets.md) for managing secrets within Mesos.\n* [SSL](s...
C++
Apache License 2.0
apache/mesos
Added secrets docs. Review: https://reviews.apache.org/r/61725
46,178
18.08.2017 08:32:03
14,400
76c61c2e9933f651f2e9d59eff9a97596b5fca34
Updated configuration.md to reflect new flags. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration.md", "new_path": "docs/configuration.md", "diff": "@@ -210,6 +210,33 @@ the IP address which the master/agent will try to bind to.\nCannot be used in conjunction with <code>--ip</code>.\n</td>\n</tr>\n+<tr>\n+ <td>\n+ --ip6=VALUE\n+ </td>\n+...
C++
Apache License 2.0
apache/mesos
Updated configuration.md to reflect new flags. Review: https://reviews.apache.org/r/61731
46,178
18.08.2017 13:06:45
14,400
58fd8cfb5052a8b8f4698931bff42bcbcd1ea7a8
Fixed capitalization and typos in endpoint helps. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -1498,7 +1498,7 @@ string Master::Http::FRAMEWORKS_HELP()\n\"\",\n\"Query parameters:\",\n\"> framework_id=VALUE The ID of the framework returned \"\n- \"(when no framework ID specified, all ...
C++
Apache License 2.0
apache/mesos
Fixed capitalization and typos in endpoint helps. Review: https://reviews.apache.org/r/61745
46,178
17.08.2017 22:30:17
14,400
4c71ba1bdae7022f6e60edbfbf4118cd3854734e
Updated endpoints help docs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/endpoints/index.md", "new_path": "docs/endpoints/index.md", "diff": "@@ -115,6 +115,7 @@ For example, `http://agent.com:5051/files/browse`.\n### slave(id) ###\n* [/api/v1](slave/api/v1.md)\n* [/api/v1/executor](slave/api/v1/executor.md)\n+* [/api/v1/resou...
C++
Apache License 2.0
apache/mesos
Updated endpoints help docs. Review: https://reviews.apache.org/r/61732
46,066
18.08.2017 09:59:19
25,200
9f39112b4df3d56f905fdd457e7bfdf9e294a911
Added a URL parameter to the resource provider driver. The URL will be used by the resource provider driver to determine the endpoint of the resource provider manager API. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/resource_provider.hpp", "new_path": "include/mesos/v1/resource_provider.hpp", "diff": "#include <functional>\n#include <queue>\n+#include <process/http.hpp>\n#include <process/owned.hpp>\n#include <mesos/http.hpp>\n@@ -50,6 +51,7 @@ public:\n*...
C++
Apache License 2.0
apache/mesos
Added a URL parameter to the resource provider driver. The URL will be used by the resource provider driver to determine the endpoint of the resource provider manager API. Review: https://reviews.apache.org/r/61275/
46,066
18.08.2017 09:59:56
25,200
7ec6d80dda3662ba2d01455aeac8df0b3a6235f3
Added a MockResourceProvider. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "#include <mesos/v1/executor.hpp>\n#include <mesos/v1/resources.hpp>\n+#include <mesos/v1/resource_provider.hpp>\n#include <mesos/v1/scheduler.hpp>\n#include <mesos/v1/executor/executor.hpp>\n#in...
C++
Apache License 2.0
apache/mesos
Added a MockResourceProvider. Review: https://reviews.apache.org/r/61272/
46,103
18.08.2017 10:00:01
25,200
f6d6ef46b9cf67b48b73afbc5c142d74b517395a
Added 'devolve' overload for 'ResourceProviderID'. This commit adds the default overload to 'devolve' 'ResourceProviderID's. Review:
[ { "change_type": "MODIFY", "old_path": "src/internal/devolve.cpp", "new_path": "src/internal/devolve.cpp", "diff": "@@ -117,6 +117,12 @@ Resources devolve(const v1::Resources& resources)\n}\n+ResourceProviderID devolve(const v1::ResourceProviderID& resourceProviderId)\n+{\n+ return devolve<ResourceP...
C++
Apache License 2.0
apache/mesos
Added 'devolve' overload for 'ResourceProviderID'. This commit adds the default overload to 'devolve' 'ResourceProviderID's. Review: https://reviews.apache.org/r/61179/
46,103
18.08.2017 10:00:25
25,200
2c3facbb62cda6ac4d5266a2677b1347c8cf0fd5
Moved and renamed resource provider manager-related tests. This patch moves the existing `resource_provider_http_api_tests` file to a more general name. We also rename the existing HTTP test. This will allow us to collect most resource provider manager-related unit tests in this file in the future. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -2376,7 +2376,7 @@ mesos_tests_SOURCES = \\\ntests/reservation_endpoints_tests.cpp \\\ntests/reservation_tests.cpp \\\ntests/resource_offers_tests.cpp \\\n- tests/resource_provider_http_api_tests.cpp...
C++
Apache License 2.0
apache/mesos
Moved and renamed resource provider manager-related tests. This patch moves the existing `resource_provider_http_api_tests` file to a more general name. We also rename the existing HTTP test. This will allow us to collect most resource provider manager-related unit tests in this file in the future. Review: https://re...
46,109
18.08.2017 14:50:58
25,200
4d0e692e72e56e827d2136b78311db0b72ada6a2
Added a heartbeat event to the operator API. Added the 'HEARTBEAT' event for the operator API and modified related test cases to accept heartbeats. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/master/master.proto", "new_path": "include/mesos/master/master.proto", "diff": "@@ -484,6 +484,15 @@ message Event {\nFRAMEWORK_UPDATED = 7; // See `FrameworkUpdated` below.\nFRAMEWORK_REMOVED = 8; // See `FrameworkRemoved` below.\n+ // Periodic ...
C++
Apache License 2.0
apache/mesos
Added a heartbeat event to the operator API. Added the 'HEARTBEAT' event for the operator API and modified related test cases to accept heartbeats. Review: https://reviews.apache.org/r/61262/
46,109
18.08.2017 22:33:32
25,200
a8d8d1009bc634ad16021d5acc06b81ef711e69e
Updated the docs for the V1 'HEARTBEAT' event. Review:
[ { "change_type": "MODIFY", "old_path": "docs/operator-http-api.md", "new_path": "docs/operator-http-api.md", "diff": "@@ -2366,6 +2366,19 @@ The following events are currently sent by the master. The canonical source of t\nThe first event sent by the master when a client sends a `SUBSCRIBE` request ...
C++
Apache License 2.0
apache/mesos
Updated the docs for the V1 'HEARTBEAT' event. Review: https://reviews.apache.org/r/61759/
46,109
18.08.2017 22:33:41
25,200
ef73c23f878eca9a5667a442284878e61fa91d5d
Added a heartbeat interval to the V1 master operator API. Added the `heartbeat_interval_seconds` field to the V1 master operator API `Subscribed` event. Updated the heartbeat test case to check the heartbeat interval. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/master/master.proto", "new_path": "include/mesos/master/master.proto", "diff": "@@ -501,6 +501,10 @@ message Event {\n// Snapshot of the entire cluster state. Further updates to the\n// cluster state are sent as separate events on the stream.\nop...
C++
Apache License 2.0
apache/mesos
Added a heartbeat interval to the V1 master operator API. Added the `heartbeat_interval_seconds` field to the V1 master operator API `Subscribed` event. Updated the heartbeat test case to check the heartbeat interval. Review: https://reviews.apache.org/r/61763/
46,109
18.08.2017 22:34:39
25,200
d855aecd324bc5b30eca995a0e443a96caa3c2ef
Added the V1 `Teardown` call to teardown a framework. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/master/master.proto", "new_path": "include/mesos/master/master.proto", "diff": "@@ -87,6 +87,8 @@ message Call {\nGET_QUOTA = 28;\nSET_QUOTA = 29; // See 'SetQuota' below.\nREMOVE_QUOTA = 30; // See 'RemoveQuota' below.\n+\n+ TEARDOWN = 31; // Se...
C++
Apache License 2.0
apache/mesos
Added the V1 `Teardown` call to teardown a framework. Review: https://reviews.apache.org/r/61222/
46,109
18.08.2017 22:34:43
25,200
11ee081ee578ea12e85799e00c5fe8b89eb6ea5f
Added a test for the `Teardown` call in V1 operator API. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -3002,6 +3002,198 @@ TEST_P(MasterAPITest, ReadFileInvalidPath)\n}\n+// This test verifies that when the operator API TEARDOWN call is made,\n+// the framework is shutdown and removed...
C++
Apache License 2.0
apache/mesos
Added a test for the `Teardown` call in V1 operator API. Review: https://reviews.apache.org/r/61408/
46,139
21.08.2017 15:28:36
25,200
0a01bc38eba08da8ef8b4ae152c95a57c39d73f3
Included nested command check output in the executor logs. This patch updates the checker and health checker to include the output of COMMAND checks and health checks in its logs by default. This has the effect of including these logs in the executor output for easier debugging. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker_process.cpp", "new_path": "src/checks/checker_process.cpp", "diff": "#include <stout/check.hpp>\n#include <stout/duration.hpp>\n+#include <stout/error.hpp>\n#include <stout/foreach.hpp>\n#include <stout/jsonify.hpp>\n#include <stout/nothing....
C++
Apache License 2.0
apache/mesos
Included nested command check output in the executor logs. This patch updates the checker and health checker to include the output of COMMAND checks and health checks in its logs by default. This has the effect of including these logs in the executor output for easier debugging. Review: https://reviews.apache.org/r/6...
46,139
21.08.2017 15:28:37
25,200
6d778fa45a73723b857db9b2ce92c3d15fb3373f
Made the log output handling of TCP and HTTP checks consistent. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker_process.cpp", "new_path": "src/checks/checker_process.cpp", "diff": "@@ -914,32 +914,35 @@ Future<int> CheckerProcess::_httpCheck(\nint exitCode = status->get();\nif (exitCode != 0) {\n- const Future<string>& error = std::get<2>(t);\n- if (!...
C++
Apache License 2.0
apache/mesos
Made the log output handling of TCP and HTTP checks consistent. Review: https://reviews.apache.org/r/61766/
46,139
21.08.2017 15:28:39
25,200
8347ec09f15989b822f48c000043c6547c25b5f4
Raised the logging level of some check and health check messages. Some users pointed out that always logging the result of checks and health checks makes it easier to debug problems. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker_process.cpp", "new_path": "src/checks/checker_process.cpp", "diff": "@@ -797,7 +797,7 @@ void CheckerProcess::processCommandCheckResult(\n// see MESOS-7242.\nif (future.isReady() && WIFEXITED(future.get())) {\nconst int exitCode = WEXITSTATU...
C++
Apache License 2.0
apache/mesos
Raised the logging level of some check and health check messages. Some users pointed out that always logging the result of checks and health checks makes it easier to debug problems. Review: https://reviews.apache.org/r/61791/
46,128
21.08.2017 15:57:29
25,200
b4a345a3172b02b1eef20c59c60ce6a90967ff31
Fixed an incorrect line break in the checker process.
[ { "change_type": "MODIFY", "old_path": "src/checks/checker_process.cpp", "new_path": "src/checks/checker_process.cpp", "diff": "@@ -645,12 +645,10 @@ void CheckerProcess::___nestedCommandCheck(\ntie(stdoutReceived, stderrReceived) = checkOutput.get();\nLOG(INFO) << \"Output of the \" << name << \" f...
C++
Apache License 2.0
apache/mesos
Fixed an incorrect line break in the checker process.
46,177
21.08.2017 17:09:41
25,200
3b95dc9c054e396cd11a05392cc2c5400714571c
Windows: Fully qualified reference to recordio::Decoder. This reference is ambiguous when using precompiled headers as there is a separate `mesos::internal::recordio` namespace that has higher priority inside this codeblock.
[ { "change_type": "MODIFY", "old_path": "src/checks/checker_process.cpp", "new_path": "src/checks/checker_process.cpp", "diff": "@@ -152,7 +152,7 @@ static Try<tuple<string, string>> decodeProcessIOData(const string& data)\nstring stdoutReceived;\nstring stderrReceived;\n- recordio::Decoder<v1::agent...
C++
Apache License 2.0
apache/mesos
Windows: Fully qualified reference to recordio::Decoder. This reference is ambiguous when using precompiled headers as there is a separate `mesos::internal::recordio` namespace that has higher priority inside this codeblock.
46,177
21.08.2017 10:56:01
25,200
b6549bd4ba061b35227bc28e26e36d7d087e33d5
Renamed CONTAINERS_DIR to EXECUTOR_RUNS_DIR. `CONTAINERS_DIR` will be used more accurately as the variable for "containers", rather than "runs". Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/paths.cpp", "new_path": "src/slave/paths.cpp", "diff": "@@ -69,7 +69,7 @@ const char RESOURCES_TARGET_FILE[] = \"resources.target\";\nconst char SLAVES_DIR[] = \"slaves\";\nconst char FRAMEWORKS_DIR[] = \"frameworks\";\nconst char EXECUTORS_DIR[] = \...
C++
Apache License 2.0
apache/mesos
Renamed CONTAINERS_DIR to EXECUTOR_RUNS_DIR. `CONTAINERS_DIR` will be used more accurately as the variable for "containers", rather than "runs". Review: https://reviews.apache.org/r/61805
46,177
21.08.2017 14:48:36
25,200
6b3e4b72a0b8e67359ce2bbcd890c4e6c96289f4
Updated depiction of runtime directory file structure. This attempts to match the structure of the top level comments in "slave/paths.hpp" and "slave/containerizer/mesos/paths.hpp". The runtime directory tree/drawing now shows all potential entries that can exist in the file structure and the potential nesting of conta...
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/paths.hpp", "new_path": "src/slave/containerizer/mesos/paths.hpp", "diff": "@@ -37,6 +37,32 @@ namespace slave {\nnamespace containerizer {\nnamespace paths {\n+\n+// The containerizer uses the runtime directory to checkpoint thin...
C++
Apache License 2.0
apache/mesos
Updated depiction of runtime directory file structure. This attempts to match the structure of the top level comments in "slave/paths.hpp" and "slave/containerizer/mesos/paths.hpp". The runtime directory tree/drawing now shows all potential entries that can exist in the file structure and the potential nesting of con...
46,056
22.08.2017 10:05:24
-7,200
ba1577c543f03ff3a3f3b0294b2473b2472a93d9
Fixed a typo in the networking doc.
[ { "change_type": "MODIFY", "old_path": "docs/networking.md", "new_path": "docs/networking.md", "diff": "@@ -66,7 +66,7 @@ an IP network.\n### <a name=\"attaching-containers\"></a>Attaching containers to IP networks\n-#### <a name=\"attaching-contianers-mesos\"></a>Mesos containerizer\n+#### <a name=...
C++
Apache License 2.0
apache/mesos
Fixed a typo in the networking doc.
46,056
21.08.2017 23:38:34
-7,200
916ba5a5663a9c20d23e901cdc0c963a8e63f020
Fixed a typo in provisioner.
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/provisioner.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/provisioner.cpp", "diff": "@@ -405,7 +405,7 @@ Future<Nothing> ProvisionerProcess::recover(\n// A successful provisioner recovery depends on:\n//...
C++
Apache License 2.0
apache/mesos
Fixed a typo in provisioner.
46,165
11.08.2017 13:38:08
25,200
ba45457e915331b56b5fb1c76868fa8931bc783f
Improved the reason and message for tasks killed before delivery. Previously, if a task was killed before delivery to a registering executor, we sent REASON_EXECUTOR_UNREGISTERED with a message of "Unregistered executor" in the agent, and the master sent no reason. This introduces a REASON_TASK_KILLED_BEFORE_DELIVERY t...
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2163,7 +2163,7 @@ message TaskStatus {\nREASON_EXECUTOR_REGISTRATION_TIMEOUT = 23;\nREASON_EXECUTOR_REREGISTRATION_TIMEOUT = 24;\nREASON_EXECUTOR_TERMINATED = 1;\n- REASON_EXECUT...
C++
Apache License 2.0
apache/mesos
Improved the reason and message for tasks killed before delivery. Previously, if a task was killed before delivery to a registering executor, we sent REASON_EXECUTOR_UNREGISTERED with a message of "Unregistered executor" in the agent, and the master sent no reason. This introduces a REASON_TASK_KILLED_BEFORE_DELIVERY ...
46,165
04.08.2017 15:46:21
25,200
95aa9e5d2d997b6af9d6e9ef104dde61b7836866
Updated Framework::removePendingTask to take only a TaskID. This allows the function to be used in the kill task path where we do not have the TaskInfo or ExecutorInfo available. With this, we now have all removals going through this function. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -1883,8 +1883,6 @@ void Slave::_run(\nreturn;\n}\n- const ExecutorID& executorId = executorInfo.executor_id();\n-\n// We don't send a status update here because a terminating\n// framework ca...
C++
Apache License 2.0
apache/mesos
Updated Framework::removePendingTask to take only a TaskID. This allows the function to be used in the kill task path where we do not have the TaskInfo or ExecutorInfo available. With this, we now have all removals going through this function. Review: https://reviews.apache.org/r/61641
46,165
04.08.2017 15:51:05
25,200
509147d85f2e60af33434d42a8ebf5d41209604c
Introduced a Framework::idle function in the agent. This ensures the call-sites consistently check idleness of the framework, it also aids readability in that it clarifies that we remove idle frameworks. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -1896,7 +1896,7 @@ void Slave::_run(\nframework->removePendingTask(_task.task_id());\n}\n- if (framework->executors.empty() && framework->pending.empty()) {\n+ if (framework->idle()) {\nremov...
C++
Apache License 2.0
apache/mesos
Introduced a Framework::idle function in the agent. This ensures the call-sites consistently check idleness of the framework, it also aids readability in that it clarifies that we remove idle frameworks. Review: https://reviews.apache.org/r/61642
46,165
04.08.2017 16:56:40
25,200
a6e748c58c6f342b63191440303ac24697636660
Renamed Framework::pending to Framework::pendingTasks in agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -1703,7 +1703,7 @@ mesos::agent::Response::GetTasks Http::_getTasks(\nforeach (const Framework* framework, frameworks) {\n// Pending tasks.\ntypedef hashmap<TaskID, TaskInfo> TaskMap;\n- foreac...
C++
Apache License 2.0
apache/mesos
Renamed Framework::pending to Framework::pendingTasks in agent. Review: https://reviews.apache.org/r/61643
46,165
10.08.2017 18:04:48
25,200
edd9b13af889785eff2c56b09c1ebdae788bf1ce
Introduced a CHECK_NOTNONE. This is similar to glog's CHECK_NOTNULL. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/check.hpp", "new_path": "3rdparty/stout/include/stout/check.hpp", "diff": "CHECK_STATE(CHECK_ERROR, _check_error, expression)\n-// Private structs/functions used for CHECK_*.\n+// A private helper for CHECK_NOTNONE which is similar...
C++
Apache License 2.0
apache/mesos
Introduced a CHECK_NOTNONE. This is similar to glog's CHECK_NOTNULL. Review: https://reviews.apache.org/r/61644
46,165
04.08.2017 19:32:12
25,200
658992cad0174f223d7eaeb30d2eca13845ca6a7
Added a test to verify a fix for This test ensures that the agent does not drop the TASK_KILLED update when all pending tasks from a framework are killed. See for the motivating issue. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "#include <mesos/authentication/http/basic_authenticator_factory.hpp>\n#include <process/clock.hpp>\n+#include <process/collect.hpp>\n#include <process/future.hpp>\n#include <process/...
C++
Apache License 2.0
apache/mesos
Added a test to verify a fix for MESOS-7863. This test ensures that the agent does not drop the TASK_KILLED update when all pending tasks from a framework are killed. See MESOS-7863 for the motivating issue. Review: https://reviews.apache.org/r/61646
46,165
04.08.2017 16:32:03
25,200
12026b8bf2322d4b64bb087bd8c3972972632de2
Marked Framework::hasTask in agent as const. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -7486,10 +7486,10 @@ void Framework::addPendingTaskGroup(\n}\n-bool Framework::hasTask(const TaskID& taskId)\n+bool Framework::hasTask(const TaskID& taskId) const\n{\nforeachkey (const Execut...
C++
Apache License 2.0
apache/mesos
Marked Framework::hasTask in agent as const. Review: https://reviews.apache.org/r/61648
46,165
14.08.2017 14:54:22
25,200
d7c62b8413f9018371e6e1dc30a292a54973d19d
Unschedule directories for GC in parallel in the agent. Previously, when unscheduling directories for garbage collection, a dispatch back to the agent was required between each gc result. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -1596,14 +1596,6 @@ void Slave::doReliableRegistration(Duration maxBackoff)\n}\n-// Helper to unschedule the path.\n-// TODO(vinod): Can we avoid this helper?\n-Future<bool> Slave::unschedule...
C++
Apache License 2.0
apache/mesos
Unschedule directories for GC in parallel in the agent. Previously, when unscheduling directories for garbage collection, a dispatch back to the agent was required between each gc result. Review: https://reviews.apache.org/r/61649
46,165
14.08.2017 22:08:31
25,200
a663be9021e2aabe372db7b47696c31d8b7c5436
Implemented LinkedHashMap copy construction and assignment. The defaults being generated were incorrect. No code is relying on them today, this was discovered when writing new code. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/linkedhashmap.hpp", "new_path": "3rdparty/stout/include/stout/linkedhashmap.hpp", "diff": "@@ -33,6 +33,35 @@ public:\ntypedef std::list<entry> list;\ntypedef hashmap<Key, typename list::iterator> map;\n+ LinkedHashMap() = default;...
C++
Apache License 2.0
apache/mesos
Implemented LinkedHashMap copy construction and assignment. The defaults being generated were incorrect. No code is relying on them today, this was discovered when writing new code. Review: https://reviews.apache.org/r/61638
46,165
11.08.2017 13:37:26
25,200
0ce87cb46bdb53ed58156712770e3a62e7f6092c
Controlled queued task handling with helpers in the agent. With this patch, the enqueueing and dequeueing of tasks in the agent are controlled solely by Executor class member functions, which simplifies the agent code. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -2356,19 +2356,18 @@ void Slave::__run(\nbreak;\n}\ncase Executor::REGISTERING:\n- foreach (const TaskInfo& _task, tasks) {\n- // Checkpoint the task before we do anything else.\nif (executor...
C++
Apache License 2.0
apache/mesos
Controlled queued task handling with helpers in the agent. With this patch, the enqueueing and dequeueing of tasks in the agent are controlled solely by Executor class member functions, which simplifies the agent code. Review: https://reviews.apache.org/r/61650
46,188
23.08.2017 21:14:55
25,200
6352569a9d0c903b4658f28ab115348a1c77e7fc
Added to 1.4.1 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -23,6 +23,7 @@ All Issues:\n** Bug\n* [MESOS-7863] - Agent may drop pending kill task status updates.\n* [MESOS-7865] - Agent may process a kill task and still launch the task.\n+ * [MESOS-7909] - Ordering depen...
C++
Apache License 2.0
apache/mesos
Added MESOS-7909 to 1.4.1 CHANGELOG.
46,132
23.08.2017 21:18:24
25,200
fe03c1d89a8e17d42bab2d2d93f5fb0842533885
Added task env overwriting executor env glog print. When user assign environment by `CommandInfo` environment, it will overwrite the same name environment get by before. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/docker.cpp", "new_path": "src/slave/containerizer/docker.cpp", "diff": "@@ -1422,7 +1422,18 @@ Future<pid_t> DockerContainerizerProcess::launchExecutorProcess(\nforeach (const Environment::Variable& variable,\ncontainer->containerConfig...
C++
Apache License 2.0
apache/mesos
Added task env overwriting executor env glog print. When user assign environment by `CommandInfo` environment, it will overwrite the same name environment get by before. Review: https://reviews.apache.org/r/61808/