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,056
27.04.2017 22:40:47
-7,200
47086942d76308c893617541c3e192bb6978ed1f
Added a test that verifies a task and its check share the work dir. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/check_tests.cpp", "new_path": "src/tests/check_tests.cpp", "diff": "@@ -609,6 +609,128 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(\n}\n+// Verifies that a task and its command check has the same working directory.\n+TEST_F_TEMP_DISABLED_ON_WINDOWS(\n+ Comman...
C++
Apache License 2.0
apache/mesos
Added a test that verifies a task and its check share the work dir. Review: https://reviews.apache.org/r/58821
46,056
10.05.2017 16:12:08
-7,200
62e0f726198e90d63e9e88156432d833ca88476c
Used a helper to create ExecutorInfo in some nested container tests. 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": "@@ -465,10 +465,7 @@ TEST_F(NestedMesosContainerizerTest,\ncommand.add_arguments(\n\"echo $MESOS_SANDBOX >&\" + ...
C++
Apache License 2.0
apache/mesos
Used a helper to create ExecutorInfo in some nested container tests. Review: https://reviews.apache.org/r/59145
46,181
11.05.2017 10:05:38
25,200
fe7dd24558ccb22164266a73f38da0156cc55eeb
Adjusted test expectation for change to stout's Version. Prerelease labels are now considered for equality between versions, per SemVer spec. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_tests.cpp", "new_path": "src/tests/containerizer/docker_tests.cpp", "diff": "@@ -344,7 +344,7 @@ TEST_F(DockerTest, ROOT_DOCKER_Version)\nfalse);\nASSERT_SOME(docker);\n- AWAIT_EXPECT_EQ(Version(1, 7, 1), docker.get()->version())...
C++
Apache License 2.0
apache/mesos
Adjusted test expectation for change to stout's Version. Prerelease labels are now considered for equality between versions, per SemVer spec. Review: https://reviews.apache.org/r/59190
46,181
11.05.2017 10:12:36
25,200
28f974e6fe68bc4e9d049fcf78e3fab91049993b
Added another test case for Docker version parsing. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_tests.cpp", "new_path": "src/tests/containerizer/docker_tests.cpp", "diff": "@@ -345,6 +345,14 @@ TEST_F(DockerTest, ROOT_DOCKER_Version)\nASSERT_SOME(docker);\nAWAIT_EXPECT_EQ(Version(1, 7, 1, {\"fc22\"}), docker.get()->version(...
C++
Apache License 2.0
apache/mesos
Added another test case for Docker version parsing. Review: https://reviews.apache.org/r/59191
46,181
11.05.2017 11:46:25
25,200
b043cd868f927b2e9426e8e426b7358503e9534f
Documented that Mesos 1.3.0, 1.2.1 don't allow old agents to register. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -48,6 +48,12 @@ This release contains the following new features:\n(e.g. new employees join, new teams are formed, employees leave, teams\nare disbanded, etc).\n+**NOTE**: In Mesos 1.3.0, the master will no long...
C++
Apache License 2.0
apache/mesos
Documented that Mesos 1.3.0, 1.2.1 don't allow old agents to register. Review: https://reviews.apache.org/r/59198
46,078
20.04.2017 02:27:58
25,200
b45603000d45076fb80d74cff4e2f9184edf2a53
Clarified comments about resource operations through operator API. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -4874,9 +4874,13 @@ Future<Response> Master::Http::_operation(\ntotalRecovered += recovered;\nrequired -= recovered;\n- // We explicitly pass 'Filters()' which has a default 'refuse_sec'\n- /...
C++
Apache License 2.0
apache/mesos
Clarified comments about resource operations through operator API. Review: https://reviews.apache.org/r/58587
46,056
12.05.2017 16:08:42
25,200
c98f96522bf8da1540c4117d03c296dff8748114
Fixed a fd-related build on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/check_tests.cpp", "new_path": "src/tests/check_tests.cpp", "diff": "@@ -1887,10 +1887,10 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(\n// Default executor delegates launching both the task and its check to the\n// agent. To avoid a race, we explicitly synchro...
C++
Apache License 2.0
apache/mesos
Fixed a fd-related build on Windows. Review: https://reviews.apache.org/r/59248
46,181
12.05.2017 13:42:41
25,200
8ca6e6f04fa4d5f488fd3e7afbb2c046c6e91d5e
Added missing `constexpr` to Days constructors in stout. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/duration.hpp", "new_path": "3rdparty/stout/include/stout/duration.hpp", "diff": "@@ -285,10 +285,10 @@ public:\nclass Days : public Duration\n{\npublic:\n- explicit Days(int64_t days)\n+ explicit constexpr Days(int64_t days)\n: Dur...
C++
Apache License 2.0
apache/mesos
Added missing `constexpr` to Days constructors in stout. Review: https://reviews.apache.org/r/59243
46,083
08.05.2017 18:21:43
25,200
877f24bbeb06f8ce25b7e2e7279e542f492fdb76
Windows: Removed deprecated flag parsing behavior. On Posix, you can load a file into a flag by specifying prefixing the flag value with a forward slash. This behavior has been deprecated since 0.22. Therefore, on Windows, we choose to omit the deprecated code instead of porting it. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/flags/parse.hpp", "new_path": "3rdparty/stout/include/stout/flags/parse.hpp", "diff": "@@ -87,12 +87,15 @@ inline Try<net::IP> parse(const std::string& value)\ntemplate <>\ninline Try<JSON::Object> parse(const std::string& value)\n...
C++
Apache License 2.0
apache/mesos
Windows: Removed deprecated flag parsing behavior. On Posix, you can load a file into a flag by specifying prefixing the flag value with a forward slash. This behavior has been deprecated since 0.22. Therefore, on Windows, we choose to omit the deprecated code instead of porting it. Review: https://reviews.apache.o...
46,114
10.05.2017 14:08:06
25,200
4ce689c8e2be386d0086acce63ce5b8bbab6c34b
CMake: Use `list(APPEND x ...)` over `set(x ${x} ...)`. This removes a CMake anti-pattern where `set` was used to append to a variable, instead of the more explicit `list(APPEND)` or `string(APPEND)` alternatives. Review:
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -41,7 +41,6 @@ if (ENABLE_PRECOMPILED_HEADERS)\n# a single source file to reduce the number of files that need to be opened\n# and read. We disable \"unity\" builds ...
C++
Apache License 2.0
apache/mesos
CMake: Use `list(APPEND x ...)` over `set(x ${x} ...)`. This removes a CMake anti-pattern where `set` was used to append to a variable, instead of the more explicit `list(APPEND)` or `string(APPEND)` alternatives. Review: https://reviews.apache.org/r/59156/
46,177
15.05.2017 10:50:43
25,200
47562d9bbbb25a715eb174ad9738d6d188dd6bfe
CMake: Reverts usage of `string(APPEND ...)`. This partially reverts commit `string(APPEND ...)` was added in CMake 3.4, but the earliest required version of CMake is 2.8.12. `list(APPEND ...)` exists in 2.8.12, so that pattern will not be reverted.
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -206,7 +206,7 @@ if (NOT WIN32)\n\"flag. Please use a different C++ compiler.\")\nendif (NOT COMPILER_SUPPORTS_CXX11)\n- string(APPEND CMAKE_CXX_FLAGS \" -std=c++11\...
C++
Apache License 2.0
apache/mesos
CMake: Reverts usage of `string(APPEND ...)`. This partially reverts commit 4ce689c8e2be386d0086acce63ce5b8bbab6c34b. `string(APPEND ...)` was added in CMake 3.4, but the earliest required version of CMake is 2.8.12. `list(APPEND ...)` exists in 2.8.12, so that pattern will not be reverted.
46,143
12.05.2017 16:05:58
25,200
7ba21774bd4ac12453993185b00f272c5a39cbc5
Updated website for 1.0.2, 1.0.3 and 1.0.4. Added download links and blog posts.
[ { "change_type": "MODIFY", "old_path": "site/data/releases.yml", "new_path": "site/data/releases.yml", "diff": "@@ -31,6 +31,18 @@ news:\ndate: November 10, 2016\nblog: mesos-1-1-0-released\ntarget_version: 1.1.0\n+ - title: Mesos 1.0.4 is released!\n+ date: May 3, 2017\n+ blog: mesos-1-0-4-released...
C++
Apache License 2.0
apache/mesos
Updated website for 1.0.2, 1.0.3 and 1.0.4. Added download links and blog posts.
46,181
15.05.2017 11:16:31
25,200
e0d8cc7c4ef7a0905044159ca47f64b0923e9788
Disabled support for hierarchical roles. The previous plan was to include support for hierarchical roles in Mesos 1.3.0 but to mark it as experimental. Upon reflection, it seems safer to disable hierarchical roles in Mesos 1.3.0, and address the open issues during the 1.4 development process. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/roles.cpp", "new_path": "src/common/roles.cpp", "diff": "@@ -68,6 +68,11 @@ Option<Error> validate(const string& role)\nreturn None();\n}\n+ // TODO(neilc): Remove this restriction when MESOS-7505 is fixed.\n+ if (role.find_first_of('/') != string::...
C++
Apache License 2.0
apache/mesos
Disabled support for hierarchical roles. The previous plan was to include support for hierarchical roles in Mesos 1.3.0 but to mark it as experimental. Upon reflection, it seems safer to disable hierarchical roles in Mesos 1.3.0, and address the open issues during the 1.4 development process. Review: https://reviews....
46,181
15.05.2017 12:11:03
25,200
91bd4d9232e9881f9adecd5eb42457ed97b81f59
Updated Mesos 1.3.0 CHANGELOG for removal of hierarchical roles. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -31,16 +31,6 @@ This release contains the following new features:\ncontainer. See 'docs/authorization.md' for more information on these\nimplicit authorization rules.\n- * [MESOS-6375] - **Experimental** Support...
C++
Apache License 2.0
apache/mesos
Updated Mesos 1.3.0 CHANGELOG for removal of hierarchical roles. Review: https://reviews.apache.org/r/59286
46,078
30.09.2016 11:23:21
25,200
302bb9aff020e41c82a43745779f418250dd2ddb
Refactored log Metrics into separate files. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -337,6 +337,7 @@ set(LOG_SRC\nlog/leveldb.cpp\nlog/log.cpp\nlog/main.cpp\n+ log/metrics.cpp\nlog/recover.cpp\nlog/replica.cpp\nlog/tool/benchmark.cpp\n" }, { "change_type": "MODIFY", ...
C++
Apache License 2.0
apache/mesos
Refactored log Metrics into separate files. Review: https://reviews.apache.org/r/59289
46,078
30.09.2016 15:55:22
25,200
c881e17e696bf07cca8478776041eab75d574c4f
Added 'registrar/log/ensemble_size' metric. Review:
[ { "change_type": "MODIFY", "old_path": "src/log/log.hpp", "new_path": "src/log/log.hpp", "diff": "@@ -103,6 +103,16 @@ private:\nfriend Metrics;\nMetrics metrics;\n+\n+ // The size of the network. We use \"ensemble\" because it as a metric\n+ // name more intuitively means the \"replica set\".\n+ pr...
C++
Apache License 2.0
apache/mesos
Added 'registrar/log/ensemble_size' metric. Review: https://reviews.apache.org/r/59290
46,078
15.05.2017 16:07:00
25,200
382618b1f78b4e2db507c94c85be977a51669d0b
Updated documentation for `registrar/log/ensemble_size`. Review:
[ { "change_type": "MODIFY", "old_path": "docs/monitoring.md", "new_path": "docs/monitoring.md", "diff": "@@ -945,6 +945,19 @@ the registrar, which is the persistent store for masters.\n</td>\n<td>Gauge</td>\n</tr>\n+<tr>\n+ <td>\n+ <code>registrar/log/ensemble_size</code>\n+ </td>\n+ <td>\n+ The numb...
C++
Apache License 2.0
apache/mesos
Updated documentation for `registrar/log/ensemble_size`. Review: https://reviews.apache.org/r/59300
46,066
17.05.2017 10:21:50
25,200
82f3ab1a0da9e85e5354d8feeb88bf4a8f1ec6f8
Introduced a filter for test cases that need thread-safety. Instead of using asserts that would fail a test at runtime when thread-safety of the test environment isn't given, these tests are now filtered out before running the tests. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/future_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/future_tests.cpp", "diff": "@@ -493,11 +493,8 @@ TEST(FutureTest, Discard3)\n}\n-// GTEST_IS_THREADSAFE is not defined on Windows. See MESOS-5903.\n-TEST_TEMP_DISABLED_...
C++
Apache License 2.0
apache/mesos
Introduced a filter for test cases that need thread-safety. Instead of using asserts that would fail a test at runtime when thread-safety of the test environment isn't given, these tests are now filtered out before running the tests. Review: https://reviews.apache.org/r/58347/
46,066
17.05.2017 10:21:52
25,200
d4fcff0e9a0ac41211d5e92fde30d932ce0a6fc0
Fixed use of 'GTEST_IS_THREADSAFE'. Fixed use of 'GTEST_IS_THREADSAFE'. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/environment.cpp", "new_path": "src/tests/environment.cpp", "diff": "@@ -80,6 +80,7 @@ using process::Owned;\nusing stout::internal::tests::TestFilter;\n+\nnamespace mesos {\nnamespace internal {\nnamespace tests {\n@@ -716,16 +717,9 @@ void Environme...
C++
Apache License 2.0
apache/mesos
Fixed use of 'GTEST_IS_THREADSAFE'. Fixed use of 'GTEST_IS_THREADSAFE'. Review: https://reviews.apache.org/r/58348/
46,066
17.05.2017 10:21:56
25,200
e6cdf2a6090310de017c5004865bd69fa9e4050a
Updated GMock/GTest in stout. This will fix various issues that occured with version 1.7.0. As GTest is now using 'std::tuple' instead of 'std::tr1::tuple', some test cases have been updated accordingly. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/3rdparty/Makefile.am", "new_path": "3rdparty/stout/3rdparty/Makefile.am", "diff": "@@ -31,15 +31,16 @@ include ../../versions.am\nBOOST = boost-$(BOOST_VERSION)\nGLOG = glog-$(GLOG_VERSION)\n-GMOCK = gmock-$(GMOCK_VERSION)\n-GTEST = $(GMOCK)/gte...
C++
Apache License 2.0
apache/mesos
Updated GMock/GTest in stout. This will fix various issues that occured with version 1.7.0. As GTest is now using 'std::tuple' instead of 'std::tr1::tuple', some test cases have been updated accordingly. Review: https://reviews.apache.org/r/58350/
46,066
17.05.2017 10:21:57
25,200
b01ed401ad3fbee9777b4bf7388a6ddb0a11a0a1
Updated GMock/GTest in libprocess. This will fix various issues that occured with version 1.7.0. As GTest is now using 'std::tuple' instead of 'std::tr1::tuple', some test cases have been updated accordingly. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/3rdparty/Makefile.am", "new_path": "3rdparty/libprocess/3rdparty/Makefile.am", "diff": "@@ -31,9 +31,10 @@ include ../../versions.am\nBOOST = boost-$(BOOST_VERSION)\nGLOG = glog-$(GLOG_VERSION)\n-GMOCK = gmock-$(GMOCK_VERSION)\n+GOOGLETEST ...
C++
Apache License 2.0
apache/mesos
Updated GMock/GTest in libprocess. This will fix various issues that occured with version 1.7.0. As GTest is now using 'std::tuple' instead of 'std::tr1::tuple', some test cases have been updated accordingly. Review: https://reviews.apache.org/r/58351/
46,181
17.05.2017 10:46:42
25,200
0672c27c9192d38aae6496e18acf1b9806d3a26c
Fixed Makefile.am variable syntax.
[ { "change_type": "MODIFY", "old_path": "3rdparty/Makefile.am", "new_path": "3rdparty/Makefile.am", "diff": "@@ -45,7 +45,7 @@ include versions.am\nBOOST = boost-$(BOOST_VERSION)\nELFIO = elfio-$(ELFIO_VERSION)\nGLOG = glog-$(GLOG_VERSION)\n-GOOGLETEST = googletest-release-${GOOGLETEST_VERSION}\n+GOO...
C++
Apache License 2.0
apache/mesos
Fixed Makefile.am variable syntax.
46,181
17.05.2017 13:59:17
25,200
8c564db51961dcc016f0206bded1c7b7b648d824
Copy-edited versioning doc.
[ { "change_type": "MODIFY", "old_path": "docs/versioning.md", "new_path": "docs/versioning.md", "diff": "@@ -9,14 +9,14 @@ The Mesos versioning and release policy gives operators and developers clear gui\n* Making modifications to the existing APIs without affecting backward compatibility.\n* How lon...
C++
Apache License 2.0
apache/mesos
Copy-edited versioning doc.
46,179
17.05.2017 14:47:59
25,200
20dee4190838b5bc7eb9cb524af413e3fe3fe082
Updated the outdated network isolator configure flag. This patch updated the outdated network isolator configure flag to more descriptive port mapping isolator. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -187,6 +187,11 @@ AC_ARG_ENABLE([debug],\noption won't change them]),\n[], [enable_debug=no])\n+AC_ARG_ENABLE([port-mapping-isolator],\n+ AS_HELP_STRING([--enable-port-mapping-isolator],\n+ [enable port ma...
C++
Apache License 2.0
apache/mesos
Updated the outdated network isolator configure flag. This patch updated the outdated network isolator configure flag to more descriptive port mapping isolator. Review: https://reviews.apache.org/r/59193/
46,178
18.05.2017 13:20:50
14,400
2aafd7d60dd1a91de22d185cc73d8df95206f57b
Disable port-mapping isolator by default. The corresponding flag (--enable-port-mapping-isolator) was accidentally enabled by-default in (https://reviews.apache.org/r/59193/). Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -189,8 +189,8 @@ AC_ARG_ENABLE([debug],\nAC_ARG_ENABLE([port-mapping-isolator],\nAS_HELP_STRING([--enable-port-mapping-isolator],\n- [enable port mapping isolator]),\n- [], [enable_port_mapping_isolator=ye...
C++
Apache License 2.0
apache/mesos
Disable port-mapping isolator by default. The corresponding flag (--enable-port-mapping-isolator) was accidentally enabled by-default in 20dee4190838b5bc7eb9cb524af413e3fe3fe082 (https://reviews.apache.org/r/59193/). Review: https://reviews.apache.org/r/59372
46,114
18.05.2017 12:56:42
25,200
7acec00b6aefa43b89bee3fa66579b2eded56af4
Windows: Fixed apply-reviews.py to retain line feeds. Write using 'wb' instead of 'w' for binary mode. This writes the downloaded patch file exactly as it came, instead of treating as text and changing line endings. This resolves a bug where `git apply` doesn't always work with CRLF endings in patch files. Review:
[ { "change_type": "MODIFY", "old_path": "support/apply-reviews.py", "new_path": "support/apply-reviews.py", "diff": "@@ -153,7 +153,7 @@ def fetch_patch():\nif platform.system() == 'Windows':\nr = urllib2.urlopen(patch_url(), context=ssl_create_default_context())\n- with open('%s.patch' % patch_id(),...
C++
Apache License 2.0
apache/mesos
Windows: Fixed apply-reviews.py to retain line feeds. Write using 'wb' instead of 'w' for binary mode. This writes the downloaded patch file exactly as it came, instead of treating as text and changing line endings. This resolves a bug where `git apply` doesn't always work with CRLF endings in patch files. Review: ht...
46,056
16.05.2017 01:02:35
-7,200
436d7ef68cf1c361599b255108759e6238faeb1c
Fixed the fd type in tests for consistency. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/io_switchboard_tests.cpp", "new_path": "src/tests/containerizer/io_switchboard_tests.cpp", "diff": "@@ -167,15 +167,15 @@ TEST_F(IOSwitchboardServerTest, RedirectLog)\nTry<int> nullFd = os::open(os::DEV_NULL, O_RDWR);\nASSERT_SOME(nullF...
C++
Apache License 2.0
apache/mesos
Fixed the fd type in tests for consistency. Review: https://reviews.apache.org/r/59314
46,056
19.05.2017 14:42:16
-7,200
0edb2ee96f477e1b2ab18d8f8a3e1c91e6c71a98
Prepared for Mesos 1.1.3 release.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -765,6 +765,14 @@ 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.3 (WIP)\n+-------------------------------------...
C++
Apache License 2.0
apache/mesos
Prepared for Mesos 1.1.3 release.
46,078
21.05.2017 22:20:56
25,200
2daa8231489a684bb2c830d0190c636448dde9f6
Cleaned up master log lines for better consistency.
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -5475,6 +5475,7 @@ void Master::_registerSlave(\nif (authorizationError.isSome()) {\nLOG(WARNING) << \"Refusing registration of agent at \" << pid\n+ << \" (\" << slaveInfo.hostname() << ...
C++
Apache License 2.0
apache/mesos
Cleaned up master log lines for better consistency.
46,053
22.05.2017 10:17:40
-7,200
16948c248f701b069770dc8d2d01fbc98bb3eb76
Added REASON_TASK_HEALTH_CHECK_STATUS_UPDATED task reason. This gives clear indication about the reason of task status updates caused by task health update. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1867,6 +1867,7 @@ message TaskStatus {\nREASON_SLAVE_RESTARTED = 12;\nREASON_SLAVE_UNKNOWN = 13;\nREASON_TASK_CHECK_STATUS_UPDATED = 28;\n+ REASON_TASK_HEALTH_CHECK_STATUS_UPDATE...
C++
Apache License 2.0
apache/mesos
Added REASON_TASK_HEALTH_CHECK_STATUS_UPDATED task reason. This gives clear indication about the reason of task status updates caused by task health update. Review: https://reviews.apache.org/r/59375/
46,178
26.04.2017 10:55:57
14,400
9430a3b33b3d5d9955c3a2aed459e66106307bcb
Introduced SecretResolver module interface. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/module.hpp", "new_path": "include/mesos/module.hpp", "diff": "@@ -99,6 +99,20 @@ struct Module;\ntemplate <typename T>\nconst char* kind();\n+// Each module \"kind\" specialization extends ModuleBase to provide a `create()`\n+// method that retur...
C++
Apache License 2.0
apache/mesos
Introduced SecretResolver module interface. Review: https://reviews.apache.org/r/58759
46,178
26.04.2017 10:59:01
14,400
d284a9ed561ec4f8967114953febd5dd84c92006
Added default secret resolver module. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -400,6 +400,10 @@ set(SCHEDULER_SRC\nscheduler/scheduler.cpp\n)\n+set(SECRET_SRC\n+ secret/resolver.cpp\n+ )\n+\nset(STATE_SRC\n${STATE_SRC}\nstate/in_memory.cpp\n@@ -480,6 +484,7 @@ set(MESOS_...
C++
Apache License 2.0
apache/mesos
Added default secret resolver module. Review: https://reviews.apache.org/r/58760
46,178
01.05.2017 18:23:51
14,400
5a630d82c1f59fc0156ffbe5356c3f1b3ac87489
Added --secret_resolver flag to agent. Updated Containerizer to accept SecretResolver. Review:
[ { "change_type": "MODIFY", "old_path": "src/local/local.cpp", "new_path": "src/local/local.cpp", "diff": "#include <mesos/module/authorizer.hpp>\n#include <mesos/module/contender.hpp>\n#include <mesos/module/detector.hpp>\n+#include <mesos/module/secret_resolver.hpp>\n+\n+#include <mesos/secret/reso...
C++
Apache License 2.0
apache/mesos
Added --secret_resolver flag to agent. Updated Containerizer to accept SecretResolver. Review: https://reviews.apache.org/r/58999
46,178
01.05.2017 18:51:22
14,400
e9e9e739d4d120c7c7dc9f366b0b1f7d2f1d3154
Added environment secret isolator. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -197,6 +197,7 @@ set(AGENT_SRC\nif (NOT WIN32)\nset(AGENT_SRC\n${AGENT_SRC}\n+ slave/containerizer/mesos/isolators/environment_secret.cpp\nslave/containerizer/mesos/isolators/docker/volume/driv...
C++
Apache License 2.0
apache/mesos
Added environment secret isolator. Review: https://reviews.apache.org/r/59000
46,178
03.05.2017 03:05:17
14,400
1c7ffbeb505b3f5ab759202195f0b946a20cb803
Added volume secret isolator. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -321,6 +321,7 @@ set(LINUX_SRC\nslave/containerizer/mesos/isolators/namespaces/pid.cpp\nslave/containerizer/mesos/isolators/network/cni/cni.cpp\nslave/containerizer/mesos/isolators/volume/image...
C++
Apache License 2.0
apache/mesos
Added volume secret isolator. Review: https://reviews.apache.org/r/59001
46,181
22.05.2017 16:41:35
25,200
98ce8aba87f665aa2c4f17dab545db6be8f8313d
Disabled ProcessTest.THREADSAFE_Http2 on Windows. This test was enabled implicitly when we adopted a version of GMock that is thread-safe on Windows, but it doesn't work yet -- disable it for now.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "diff": "@@ -1330,7 +1330,9 @@ TEST(ProcessTest, THREADSAFE_Http1)\n// Like 'http1' but uses the 'Libprocess-From' header. We can\n// also use http...
C++
Apache License 2.0
apache/mesos
Disabled ProcessTest.THREADSAFE_Http2 on Windows. This test was enabled implicitly when we adopted a version of GMock that is thread-safe on Windows, but it doesn't work yet -- disable it for now.
46,178
12.05.2017 16:32:39
14,400
bfd7fff91ef31a6932462003b8d331a1ebb23912
Replace some EXPECTs with ASSERTs in master_tests to avoid segfaults. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -153,7 +153,7 @@ TEST_F(MasterTest, TaskRunning)\ndriver.start();\nAWAIT_READY(offers);\n- EXPECT_NE(0u, offers->size());\n+ ASSERT_NE(0u, offers->size());\n// Ensure the hostna...
C++
Apache License 2.0
apache/mesos
Replace some EXPECTs with ASSERTs in master_tests to avoid segfaults. Review: https://reviews.apache.org/r/59318
46,078
23.05.2017 00:58:44
25,200
6ebb98f9b3816a7bd707052ee06e2e9575dd51f2
Removed an obsolete using declaration.
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -135,7 +135,6 @@ using mesos::slave::ContainerClass;\nusing mesos::slave::ContainerConfig;\nusing mesos::slave::ContainerLaunchInfo;\nu...
C++
Apache License 2.0
apache/mesos
Removed an obsolete using declaration.
46,128
23.05.2017 15:36:36
25,200
4a5c262063af7c69724ee0a78901746580d807cb
Added new agent flag 'executor_reregistration_timeout'. This patch adds a new agent flag, 'executor_reregistration_timeout', which allows operators to configure the time which an executor has to reregister with the agent before it will be considered gone and terminated. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration.md", "new_path": "docs/configuration.md", "diff": "@@ -1449,6 +1449,17 @@ to register with the agent before considering it hung and\nshutting it down (e.g., 60secs, 3mins, etc) (default: 1mins)\n</td>\n</tr>\n+<tr>\n+ <td>\n+ --executor_rere...
C++
Apache License 2.0
apache/mesos
Added new agent flag 'executor_reregistration_timeout'. This patch adds a new agent flag, 'executor_reregistration_timeout', which allows operators to configure the time which an executor has to reregister with the agent before it will be considered gone and terminated. Review: https://reviews.apache.org/r/59460/
46,128
23.05.2017 15:37:34
25,200
044196ff6d088675ee1773fca7800af89f743051
Added 'executor_reregister_timeout' agent flag to the tests. This patch updates the tests to make use of the new 'executor_reregister_timeout' agent flag. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/port_mapping_tests.cpp", "new_path": "src/tests/containerizer/port_mapping_tests.cpp", "diff": "@@ -1962,7 +1962,7 @@ TEST_F(PortMappingMesosTest, CGROUPS_ROOT_RecoverMixedContainers)\nAWAIT_READY(_recover1);\nClock::settle(); // Wait f...
C++
Apache License 2.0
apache/mesos
Added 'executor_reregister_timeout' agent flag to the tests. This patch updates the tests to make use of the new 'executor_reregister_timeout' agent flag. Review: https://reviews.apache.org/r/59461/
46,181
23.05.2017 14:32:26
25,200
e40318975f63ddea6ac1d59afa17d8f4fe61ae1e
Fixed a few variable names in tests.
[ { "change_type": "MODIFY", "old_path": "src/tests/master_allocator_tests.cpp", "new_path": "src/tests/master_allocator_tests.cpp", "diff": "@@ -218,16 +218,16 @@ TYPED_TEST(MasterAllocatorTest, ResourcesUnused)\nMockExecutor exec(DEFAULT_EXECUTOR_ID);\nTestContainerizer containerizer(&exec);\n- slav...
C++
Apache License 2.0
apache/mesos
Fixed a few variable names in tests.
46,089
23.05.2017 10:14:08
25,200
21caae3bdf72dec3962691da6e6ccbabbbe928d4
Metric in the allocator to track latency in running allocations. Added a metric 'allocator/mesos/allocation_run_latency_ms' which tracks the latency due to the batching of allocation requests. Review:
[ { "change_type": "MODIFY", "old_path": "docs/monitoring.md", "new_path": "docs/monitoring.md", "diff": "@@ -973,70 +973,70 @@ and resource allocations in the allocator.\n<td>\n<code>allocator/mesos/allocation_run_ms</code>\n</td>\n- <td>Allocation algorithm latency in ms</td>\n+ <td>Time spent in al...
C++
Apache License 2.0
apache/mesos
Metric in the allocator to track latency in running allocations. Added a metric 'allocator/mesos/allocation_run_latency_ms' which tracks the latency due to the batching of allocation requests. Review: https://reviews.apache.org/r/53840/
46,078
21.05.2017 22:23:35
25,200
2c2796a81fca3b5ad3a68ffda6a960ff6397587e
Added a few master log lines. On the agent (re)-registration code paths. Could be helpful for triaging performance issues. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -5486,6 +5486,9 @@ void Master::_registerSlave(\nreturn;\n}\n+ VLOG(1) << \"Authorized registration of agent at \" << pid\n+ << \" (\" << slaveInfo.hostname() << \")\";\n+\nMachineID mach...
C++
Apache License 2.0
apache/mesos
Added a few master log lines. - On the agent (re)-registration code paths. - Could be helpful for triaging performance issues. Review: https://reviews.apache.org/r/59434
46,129
24.05.2017 23:58:24
-28,800
fe7ca914d6c5a645baf60ea481fafdb4bf6394cc
Added Gilbert Song to the list of committers.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -222,6 +222,13 @@ We'd like to thank the following committers to the Apache Mesos project who have\n<td>joris</td>\n<td>joris@apache.org</td>\n</tr>\n+ <tr>\n+ <td>-8</td>\n+ <td>Gilbert Song</...
C++
Apache License 2.0
apache/mesos
Added Gilbert Song to the list of committers.
46,068
24.05.2017 09:24:20
25,200
d225d4d4122e773e2416ba0d0eee653da8ced352
Renamed RegisterAgent.agent to RegisterAgent.agents in acls.proto. Renames the field `RegisterAgent.agent` to `RegisterAgent.agents` in order to come make it consistent with other ACLs. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/acls.proto", "new_path": "include/mesos/authorizer/acls.proto", "diff": "@@ -351,7 +351,7 @@ message ACL {\n// Objects: Given implicitly. Use Entity type ANY or NONE to allow or deny\n// access.\n- required Entity agent = 2;\n+ require...
C++
Apache License 2.0
apache/mesos
Renamed RegisterAgent.agent to RegisterAgent.agents in acls.proto. Renames the field `RegisterAgent.agent` to `RegisterAgent.agents` in order to come make it consistent with other ACLs. Review: https://reviews.apache.org/r/59453/
46,129
04.05.2017 16:12:09
25,200
903854890b86288fab88b77c6264ea6e2abb17ee
Updated protobuf comments for Image::Secret. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2150,16 +2150,14 @@ message Image {\n// NOTE: This is not encrypted, therefore framework and operators\n// should enable SSL when passing this information.\n//\n- // This is fiel...
C++
Apache License 2.0
apache/mesos
Updated protobuf comments for Image::Secret. Review: https://reviews.apache.org/r/59010
46,129
01.05.2017 16:42:46
25,200
32dc11abd74c96a02c52e71448823d93207817f9
Fixed docker/appc store 'using' format. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/appc/spec.hpp", "new_path": "include/mesos/appc/spec.hpp", "diff": "#include <stout/error.hpp>\n#include <stout/option.hpp>\n+#include <stout/try.hpp>\n#include <mesos/appc/spec.pb.h>\n" }, { "change_type": "MODIFY", "old_path": "src/...
C++
Apache License 2.0
apache/mesos
Fixed docker/appc store 'using' format. Review: https://reviews.apache.org/r/59011
46,129
01.05.2017 16:37:55
25,200
6b83541735deda4356bd4cb2773b2557495d8813
Implemented passing the secret resolver to registry puller. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -258,7 +258,9 @@ Try<MesosContainerizer*> MesosContainerizer::create(\nreturn Error(\"Failed to create launcher: \" + launcher.error())...
C++
Apache License 2.0
apache/mesos
Implemented passing the secret resolver to registry puller. Review: https://reviews.apache.org/r/59012
46,129
03.05.2017 14:14:31
25,200
7ca46e24b3339ba27e88b99ea95362c956ef03c1
Implemented passing Image::Secret Puller::pull(). Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/docker/local_puller.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/docker/local_puller.cpp", "diff": "@@ -122,7 +122,8 @@ LocalPuller::~LocalPuller()\nFuture<vector<string>> LocalPuller::pull(\nconst spec...
C++
Apache License 2.0
apache/mesos
Implemented passing Image::Secret Puller::pull(). Review: https://reviews.apache.org/r/59013
46,129
03.05.2017 15:46:59
25,200
429eca054aed720b14ace059de1df3c7bcc774cf
Implemented resolving an image secret in registry puller. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/docker/registry_puller.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/docker/registry_puller.cpp", "diff": "@@ -77,9 +77,15 @@ private:\nFuture<vector<string>> _pull(\nconst spec::ImageReference& referenc...
C++
Apache License 2.0
apache/mesos
Implemented resolving an image secret in registry puller. Review: https://reviews.apache.org/r/59014
46,129
03.05.2017 16:40:09
25,200
618a101ca8d6d3211a280c9d0ebb062835296ff0
Implemented passing docker config depended methods. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/docker/registry_puller.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/docker/registry_puller.cpp", "diff": "@@ -83,7 +83,8 @@ private:\nFuture<vector<string>> __pull(\nconst spec::ImageReference& referenc...
C++
Apache License 2.0
apache/mesos
Implemented passing docker config depended methods. Review: https://reviews.apache.org/r/59015
46,129
10.05.2017 04:45:53
25,200
92f16fc22b78abc2f407d1730e901e6890d31bf5
Added new parameter 'data' to the URI fetcher interface. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/uri/fetcher.hpp", "new_path": "include/mesos/uri/fetcher.hpp", "diff": "#include <string>\n#include <vector>\n+#include <mesos/mesos.hpp>\n+\n#include <process/future.hpp>\n#include <process/owned.hpp>\n#include <process/shared.hpp>\n@@ -69,10 +7...
C++
Apache License 2.0
apache/mesos
Added new parameter 'data' to the URI fetcher interface. Review: https://reviews.apache.org/r/59141
46,129
03.05.2017 16:45:57
25,200
efbd436f3ede3bf5ec9e544c40a7a3d3f8151c3c
Fixed the comment style issue in docker/spec.hpp. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/docker/spec.hpp", "new_path": "include/mesos/docker/spec.hpp", "diff": "@@ -42,75 +42,58 @@ constexpr char WHITEOUT_PREFIX[] = \".wh.\";\nconstexpr char WHITEOUT_OPAQUE_PREFIX[] = \".wh..wh..opq\";\n-/**\n- * Parse the docker image reference. Doc...
C++
Apache License 2.0
apache/mesos
Fixed the comment style issue in docker/spec.hpp. Review: https://reviews.apache.org/r/59016
46,129
03.05.2017 17:40:20
25,200
4932045ba723debb2573eda76160d9abaadd7534
Added support for docker spec helper 'parseAuthConfig()'. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/docker/spec.hpp", "new_path": "include/mesos/docker/spec.hpp", "diff": "@@ -73,11 +73,16 @@ std::string getRegistryHost(const std::string& registry);\n// Returns the hashmap<registry_URL, spec::DockerConfigAuth> by\n-// parsing the docker config ...
C++
Apache License 2.0
apache/mesos
Added support for docker spec helper 'parseAuthConfig()'. Review: https://reviews.apache.org/r/59017
46,129
22.05.2017 20:48:26
-28,800
4faca73e9608664a5fcf46cc95951c318a64861f
Supported Image::Secret in docker URI fetcher plugin. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetchers/docker.cpp", "new_path": "src/uri/fetchers/docker.cpp", "diff": "@@ -499,13 +499,15 @@ Future<Nothing> DockerFetcherPlugin::fetch(\nprocess.get(),\n&DockerFetcherPluginProcess::fetch,\nuri,\n- directory);\n+ directory,\n+ data);\n}\nFuture<Not...
C++
Apache License 2.0
apache/mesos
Supported Image::Secret in docker URI fetcher plugin. Review: https://reviews.apache.org/r/59018
46,181
23.05.2017 10:36:12
25,200
7533901a3fd699adba7070e31d291026366e6431
Added sorter test for allocation queries about inactive clients. This behavior has not changed, but was not covered by the existing tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/sorter_tests.cpp", "new_path": "src/tests/sorter_tests.cpp", "diff": "@@ -989,6 +989,43 @@ TEST(SorterTest, UpdateAllocationNestedClient)\n}\n+// This test checks that the sorter correctly reports allocation\n+// information about inactive clients.\n...
C++
Apache License 2.0
apache/mesos
Added sorter test for allocation queries about inactive clients. This behavior has not changed, but was not covered by the existing tests. Review: https://reviews.apache.org/r/59481/
46,181
23.05.2017 10:36:13
25,200
89e7bf548c87c53a3e49fb6d930ed0d49d08affc
Added a new sorter test case, `HierarchicalIterationOrder`. This behavior is covered by existing test cases to an extent, but some additional test coverage seems warranted. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/sorter_tests.cpp", "new_path": "src/tests/sorter_tests.cpp", "diff": "@@ -605,6 +605,54 @@ TEST(SorterTest, HierarchicalAllocation)\n}\n+// This test checks that the sorted list of clients returned by the\n+// sorter iterates over the client tree in ...
C++
Apache License 2.0
apache/mesos
Added a new sorter test case, `HierarchicalIterationOrder`. This behavior is covered by existing test cases to an extent, but some additional test coverage seems warranted. Review: https://reviews.apache.org/r/59482/
46,181
23.05.2017 10:36:14
25,200
b7f33e478793730d2334dbc92cff5c8ce558cfc7
Added benchmark for allocator perf with many suppressed frameworks. This covers the case where the vast majority (99%) of frameworks have suppressed offers. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -5501,6 +5501,156 @@ TEST_P(HierarchicalAllocator_BENCHMARK_Test, SuppressOffers)\n}\n+// This benchmark measures allocator performance when almo...
C++
Apache License 2.0
apache/mesos
Added benchmark for allocator perf with many suppressed frameworks. This covers the case where the vast majority (99%) of frameworks have suppressed offers. Review: https://reviews.apache.org/r/59383/
46,181
24.05.2017 13:19:55
25,200
8139ec0bd5c7daead3b7e4d05806898a48a6f62d
Cleaned up allocator benchmark tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -4971,9 +4971,9 @@ TEST_P(HierarchicalAllocator_BENCHMARK_Test, AddAndUpdateSlave)\n// Add the slaves, use round-robin to choose which framework\...
C++
Apache License 2.0
apache/mesos
Cleaned up allocator benchmark tests. Review: https://reviews.apache.org/r/59538
46,181
23.05.2017 10:36:17
25,200
fd58fa149fad807232eb68fed2a4fc22c8a08f54
Introduced `DRFSorter::Node::isLeaf()`. This helps clarify code that wants to distinguish between leaves and internal nodes in the sorter. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.cpp", "new_path": "src/master/allocator/sorter/drf/sorter.cpp", "diff": "@@ -99,13 +99,7 @@ void DRFSorter::add(const string& clientPath)\n// leaf node into an internal node, we need to create an\n// additional child node...
C++
Apache License 2.0
apache/mesos
Introduced `DRFSorter::Node::isLeaf()`. This helps clarify code that wants to distinguish between leaves and internal nodes in the sorter. Review: https://reviews.apache.org/r/59484/
46,181
25.05.2017 10:01:52
25,200
b048934cd040e44a35567b098587dd078a58a807
Replaced `.get().` with `->` for access to `Master::leader`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -2781,7 +2781,7 @@ Future<Response> Master::Http::state(\n// TODO(haosdent): Deprecated this in favor of `leader_info` below.\nif (master->leader.isSome()) {\n- writer->field(\"leader\", mast...
C++
Apache License 2.0
apache/mesos
Replaced `.get().` with `->` for access to `Master::leader`. Review: https://reviews.apache.org/r/59558/
46,181
25.05.2017 10:01:56
25,200
4a5ec22a7a32ea1761afbd4b5abc0005df772006
Replaced `.get().` with `->` in the agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/flags.cpp", "new_path": "src/slave/flags.cpp", "diff": "@@ -315,7 +315,7 @@ mesos::internal::slave::Flags::Flags()\n\"}\",\n[](const Option<JSON::Object>& object) -> Option<Error> {\nif (object.isSome()) {\n- foreachvalue (const JSON::Value& value, o...
C++
Apache License 2.0
apache/mesos
Replaced `.get().` with `->` in the agent. Review: https://reviews.apache.org/r/59559/
46,181
25.05.2017 10:01:59
25,200
008607498d529a1b2dccaf37eb18ddd953470bee
Replaced "!(x == y)" with "x != y" when comparing SlaveIDs. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -5060,7 +5060,7 @@ void Master::kill(Framework* framework, const scheduler::Call::Kill& kill)\nreturn;\n}\n- if (slaveId.isSome() && !(slaveId.get() == task->slave_id())) {\n+ if (slaveId...
C++
Apache License 2.0
apache/mesos
Replaced "!(x == y)" with "x != y" when comparing SlaveIDs. Review: https://reviews.apache.org/r/59560/
46,181
23.05.2017 19:54:43
25,200
299f6aa0b5b3909cd590c701a12030f52c0852e3
Fixed flakiness in MasterAllocatorTest.FrameworkExited. This test did not pause the clock; hence, batch allocations could occur at unpredictable times and cause the test to fail. Fix this by pausing the clock and explicitly advancing it as needed to trigger batch allocations or other events. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_allocator_tests.cpp", "new_path": "src/tests/master_allocator_tests.cpp", "diff": "@@ -569,15 +569,18 @@ TYPED_TEST(MasterAllocatorTest, SchedulerFailover)\n// Checks that if a framework launches a task and then the framework\n-// is killed, t...
C++
Apache License 2.0
apache/mesos
Fixed flakiness in MasterAllocatorTest.FrameworkExited. This test did not pause the clock; hence, batch allocations could occur at unpredictable times and cause the test to fail. Fix this by pausing the clock and explicitly advancing it as needed to trigger batch allocations or other events. Review: https://reviews....
46,114
25.05.2017 13:37:42
25,200
171ba9449b6f3470bda77194e84acbe2d2d24cca
Windows: Updated build documentation. This (long overdue) documentation update bumps the dependencies to the correct versions and updates the associated build commands. Some of the limitations of the Windows work have also been addressed. Review:
[ { "change_type": "MODIFY", "old_path": "docs/windows.md", "new_path": "docs/windows.md", "diff": "@@ -13,74 +13,81 @@ Mesos 1.0.0 introduced experimental support for Windows.\n### System Requirements\n-1. Install the latest version of [Visual Studio Community 2015](https://www.visualstudio.com/post-...
C++
Apache License 2.0
apache/mesos
Windows: Updated build documentation. This (long overdue) documentation update bumps the dependencies to the correct versions and updates the associated build commands. Some of the limitations of the Windows work have also been addressed. Review: https://reviews.apache.org/r/59556/
46,114
25.05.2017 14:23:37
25,200
172498032918d131cbb18f40223900851301275b
CMake: Added SHA256 hashes for 3rdparty downloads. The `ExternalProject_Add` uses this hash to verify the tarballs automatically. This removes the following warning: File will not be verified since no URL_HASH specified Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -159,6 +159,7 @@ ExternalProject_Add(\nBUILD_COMMAND ${CMAKE_NOOP}\nINSTALL_COMMAND ${CMAKE_NOOP}\nURL ${BOOST_URL}\n+ URL_HASH ${BOOST_HASH}\n)\nExternalProject_Add(\n@@ -168,6 +169,...
C++
Apache License 2.0
apache/mesos
CMake: Added SHA256 hashes for 3rdparty downloads. The `ExternalProject_Add` uses this hash to verify the tarballs automatically. This removes the following warning: File will not be verified since no URL_HASH specified Review: https://reviews.apache.org/r/59536/
46,062
04.05.2017 13:08:00
25,200
7c38f297f11b2462bea87f8a24758bd7d63c41dd
Removed `const` in implicit conversion to `RepeatedPtrField<Resource>`.
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -525,7 +525,7 @@ public:\n// a protocol buffer field.\n// Note that the google::protobuf::RepeatedPtrField<Resource> is\n// generated at runtime.\n- operator const google::pro...
C++
Apache License 2.0
apache/mesos
Removed `const` in implicit conversion to `RepeatedPtrField<Resource>`.
46,177
15.05.2017 14:41:35
25,200
a6a7a38107d6f6b429d8564e91564b901e35eaf4
Added some comments to ContainerConfig protobuf. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/containerizer.proto", "new_path": "include/mesos/slave/containerizer.proto", "diff": "@@ -105,18 +105,32 @@ message ContainerRecoverInfo {\n*/\nmessage ContainerConfig {\n// The executor associated with this container.\n+ // This field is b...
C++
Apache License 2.0
apache/mesos
Added some comments to ContainerConfig protobuf. Review: https://reviews.apache.org/r/59420
46,177
10.04.2017 16:04:55
25,200
af21bb71655053d223eec1595a0384fe9e26f8c7
Changed containerizer->launch callsites to new interface. As part of combining the two `containerizer->launch` code paths, callers now need to construct the `ContainerConfig` (instead of passing some fields that are then copied into a `ContainerConfig`). Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "// limitations under the License.\n#include <list>\n+#include <map>\n#include <memory>\n#include <sstream>\n#include <string>\n@@ -78,6 +79,7 @@ using mesos::authorization::createSubject;\nusing m...
C++
Apache License 2.0
apache/mesos
Changed containerizer->launch callsites to new interface. As part of combining the two `containerizer->launch` code paths, callers now need to construct the `ContainerConfig` (instead of passing some fields that are then copied into a `ContainerConfig`). Review: https://reviews.apache.org/r/58902
46,177
10.04.2017 18:17:27
25,200
7015097559189b4497d3888d53f2f4ad825f2ea8
Combined launch paths in ComposingContainerizer. This eliminates one of the entrypoints for launching a container in the `ComposingContainerizer`. Nested and non-nested containers are still launched the same way, where nested containers get launched using their root container's containerizer. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/composing.cpp", "new_path": "src/slave/containerizer/composing.cpp", "diff": "@@ -43,6 +43,7 @@ using std::string;\nusing std::vector;\nusing mesos::slave::ContainerClass;\n+using mesos::slave::ContainerConfig;\nusing mesos::slave::Cont...
C++
Apache License 2.0
apache/mesos
Combined launch paths in ComposingContainerizer. This eliminates one of the entrypoints for launching a container in the `ComposingContainerizer`. Nested and non-nested containers are still launched the same way, where nested containers get launched using their root container's containerizer. Review: https://reviews...
46,177
01.05.2017 17:12:14
25,200
012e6a26b2d4debe8bd32fb8337d86005217e24b
Added test helpers to tranlate to ContainerConfig. This adds a helper that emulates the logic in the Agent's launch path. Now that the Containerizer takes a ContainerConfig instead of a TaskInfo/ExecutorInfo/Directory/SlaveID/User, tests that call the containerizer directly will need to translate to ContainerConfig. Re...
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -1083,6 +1083,67 @@ inline CommandInfo createCommandInfo(\n}\n+// Almost a direct snippet of code at the bottom of `Slave::launchExecutor`.\n+inline mesos::slave::ContainerConfig createContai...
C++
Apache License 2.0
apache/mesos
Added test helpers to tranlate to ContainerConfig. This adds a helper that emulates the logic in the Agent's launch path. Now that the Containerizer takes a ContainerConfig instead of a TaskInfo/ExecutorInfo/Directory/SlaveID/User, tests that call the containerizer directly will need to translate to ContainerConfig. ...
46,128
26.05.2017 11:14:42
14,400
efb774cd99711f8bcc38c79fcc3b487ca7a01d80
Made the executor driver drop some messages when not connected. This patch updates the executor driver to drop RunTaskMessages, FrameworkMessages, and StatusUpdateAcknowledgements when it is not connected to the agent. This facilitates executor reconnect retry logic which is being added to the agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/exec/exec.cpp", "new_path": "src/exec/exec.cpp", "diff": "@@ -317,6 +317,12 @@ protected:\nreturn;\n}\n+ if (!connected) {\n+ VLOG(1) << \"Ignoring run task message for task \" << task.task_id()\n+ << \" because the driver is disconnected!\";\n+ return;\n+...
C++
Apache License 2.0
apache/mesos
Made the executor driver drop some messages when not connected. This patch updates the executor driver to drop RunTaskMessages, FrameworkMessages, and StatusUpdateAcknowledgements when it is not connected to the agent. This facilitates executor reconnect retry logic which is being added to the agent. Review: https://...
46,111
26.05.2017 09:39:25
25,200
f680ff2c7c2e2a20965c7fab9f1a5aa784f57bf0
Remove unnecessary patch after protobuf upgrade to 3.3.0. The patch should already be included in protobuf 3.0.0+, so this is not necessary anymore. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -310,7 +310,6 @@ elseif (WIN32)\nendif (NOT WIN32)\nif (NOT WIN32)\n- PATCH_CMD(${MESOS_3RDPARTY_SRC}/protobuf-${PROTOBUF_VERSION}.patch PROTOBUF_PATCH_CMD)\nset(PROTOBUF_CONFIG_CMD $...
C++
Apache License 2.0
apache/mesos
Remove unnecessary patch after protobuf upgrade to 3.3.0. The patch should already be included in protobuf 3.0.0+, so this is not necessary anymore. Review: https://reviews.apache.org/r/58513/
46,111
26.05.2017 09:59:08
25,200
edbdb030312097110f3c7a278bdf596a41a2c38b
Update 3rdparty build to support protobuf 3.3.0. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/cmake/Versions.cmake", "new_path": "3rdparty/cmake/Versions.cmake", "diff": "@@ -28,8 +28,8 @@ set(ZLIB_HASH \"SHA256=36658CB768A54C1D4DEC43C3116C27ED893E88B02ECFCB44\nif (NOT WIN32)\nset(GLOG_VERSION \"0.3.3\")\nset(GLOG_HASH \"SHA256=FBF90C2285BA056...
C++
Apache License 2.0
apache/mesos
Update 3rdparty build to support protobuf 3.3.0. Review: https://reviews.apache.org/r/58515/
46,111
26.05.2017 10:00:04
25,200
34519334dd88b802cb6a7c6a664fa9280f93d828
Updated Mesos build library to use protobuf 3.3.0. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -1458,7 +1458,7 @@ correct if youre already doing this.\nfi\nelse\nwith_bundled_protobuf=yes\n- PROTOBUF_JAR=\"\\${MESOS_BUILD_DIR}/src/java/target/protobuf-java-2.6.1.jar\"\n+ PROTOBUF_JAR=\"\\${MESOS_BUI...
C++
Apache License 2.0
apache/mesos
Updated Mesos build library to use protobuf 3.3.0. Review: https://reviews.apache.org/r/58359/
46,111
26.05.2017 10:00:33
25,200
a03c22a067af55e4c9dfd0d471b020690a575b39
Added a test for evolving large protobuf message. Before protobuf 3.2.0, this test would fail because the 64MB limit imposed by older versions of protobuf. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/protobuf_utils_tests.cpp", "new_path": "src/tests/protobuf_utils_tests.cpp", "diff": "@@ -285,6 +285,31 @@ TEST(ProtobufUtilTest, AgentCapabilities)\nASSERT_TRUE(capabilities.multiRole);\n}\n+\n+// Test large message evolve.\n+// Before protobuf 3.3....
C++
Apache License 2.0
apache/mesos
Added a test for evolving large protobuf message. Before protobuf 3.2.0, this test would fail because the 64MB limit imposed by older versions of protobuf. Review: https://reviews.apache.org/r/58360/
46,111
26.05.2017 10:02:07
25,200
7b9863faf21ffa882b857d76c900fd76e36693ca
Updated LICENSE information for protobuf 3.3.0. Content copied from: Review:
[ { "change_type": "MODIFY", "old_path": "LICENSE", "new_path": "LICENSE", "diff": "@@ -461,12 +461,21 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n======================================================================\n-For protobuf-2.6.1\n-(3rdparty/protobuf-2.6.1.tar.gz)...
C++
Apache License 2.0
apache/mesos
Updated LICENSE information for protobuf 3.3.0. Content copied from: https://github.com/google/protobuf/blob/v3.3.0/LICENSE. Review: https://reviews.apache.org/r/58361/
46,181
25.05.2017 10:37:30
25,200
e611b5478fd8638323f2ff4824861fdb18ba5c68
Fixed flakiness in MasterTest.EndpointsForHalfRemovedSlave. The test had a race between setting up an expectation and dispatching an asynchronous operation that would satisfy the expectation (the former needs to happen first). Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -623,16 +623,18 @@ TEST_F(MasterTest, EndpointsForHalfRemovedSlave)\n// Drop all the PONGs to simulate slave partition.\nDROP_PROTOBUFS(PongSlaveMessage(), _, _);\n+ Clock::paus...
C++
Apache License 2.0
apache/mesos
Fixed flakiness in MasterTest.EndpointsForHalfRemovedSlave. The test had a race between setting up an expectation and dispatching an asynchronous operation that would satisfy the expectation (the former needs to happen first). Review: https://reviews.apache.org/r/59579
46,165
25.05.2017 15:23:30
25,200
0d0af7a5ebb35e3b50126a2adcdde3b0ee5b7dcc
Don't crash when re-registering executor from an unknown framework. Rather than crashing the agent, the agent will tell the executor to shut down. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -3997,11 +3997,14 @@ void Slave::reregisterExecutor(\nreturn;\n}\n- LOG(INFO) << \"Re-registering executor '\" << executorId\n- << \"' of framework \" << frameworkId;\n+ if (!frameworks.conta...
C++
Apache License 2.0
apache/mesos
Don't crash when re-registering executor from an unknown framework. Rather than crashing the agent, the agent will tell the executor to shut down. Review: https://reviews.apache.org/r/59589
46,165
25.05.2017 16:44:24
25,200
3f029d04d163c1a793e1cb8337b051f031b7a89f
Don't crash the agent when an unknown executor re-registers. Rather than crashing the agent, the agent will tell the executor to shut down. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -4022,7 +4022,14 @@ void Slave::reregisterExecutor(\n}\nExecutor* executor = framework->getExecutor(executorId);\n- CHECK_NOTNULL(executor);\n+\n+ if (executor == nullptr) {\n+ LOG(WARNING) <...
C++
Apache License 2.0
apache/mesos
Don't crash the agent when an unknown executor re-registers. Rather than crashing the agent, the agent will tell the executor to shut down. Review: https://reviews.apache.org/r/59590
46,165
25.05.2017 15:25:42
25,200
b6b23443a393bb31ab7730f43f6bcd017ffc8c51
Removed a use of the 'default' switch case. For enums, we instead rely on the compiler to warn us when we miss a switch case. With the presence of the 'default' case, this doesn't occur. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -4149,10 +4149,6 @@ void Slave::reregisterExecutor(\n// should be shutdown if it hasn't received any tasks.\nbreak;\n}\n- default:\n- LOG(FATAL) << \"Executor \" << *executor << \" is in unex...
C++
Apache License 2.0
apache/mesos
Removed a use of the 'default' switch case. For enums, we instead rely on the compiler to warn us when we miss a switch case. With the presence of the 'default' case, this doesn't occur. Review: https://reviews.apache.org/r/59591
46,165
25.05.2017 16:49:22
25,200
610321a86a182719ca4234e79f2cb09a08884643
Added logging of executor re-registration messages. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -3988,6 +3988,10 @@ void Slave::reregisterExecutor(\nstate == RUNNING || state == TERMINATING)\n<< state;\n+ LOG(INFO) << \"Received re-registration message from\"\n+ << \" executor '\" << ex...
C++
Apache License 2.0
apache/mesos
Added logging of executor re-registration messages. Review: https://reviews.apache.org/r/59592
46,165
25.05.2017 16:52:29
25,200
5c178b34fb15871779c7c1f6e093ef133f1a8d2a
Avoided use of [] operator for read only map access. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -4010,7 +4010,7 @@ void Slave::reregisterExecutor(\nreturn;\n}\n- Framework* framework = frameworks[frameworkId];\n+ Framework* framework = frameworks.at(frameworkId);\nCHECK(framework->state...
C++
Apache License 2.0
apache/mesos
Avoided use of [] operator for read only map access. Review: https://reviews.apache.org/r/59593
46,165
25.05.2017 16:53:08
25,200
5ba175f5ef51d55c4b510c8e5d406bda0ff631ec
Minor logging cleanup to put open/close quotes on the same line. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -4017,9 +4017,9 @@ void Slave::reregisterExecutor(\n<< framework->state;\nif (framework->state == Framework::TERMINATING) {\n- LOG(WARNING) << \"Shutting down executor '\" << executorId\n- <<...
C++
Apache License 2.0
apache/mesos
Minor logging cleanup to put open/close quotes on the same line. Review: https://reviews.apache.org/r/59594
46,165
25.05.2017 14:35:42
25,200
94780733b3004e8b3005b220d09d0d23e1327a78
Added a test for the optional executor reconnect retry in the agent. This tests that the retries occur if the agent does not receive a re-registration from the executor within the timeout interval. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_recovery_tests.cpp", "new_path": "src/tests/slave_recovery_tests.cpp", "diff": "@@ -803,6 +803,116 @@ TYPED_TEST(SlaveRecoveryTest, ReconnectExecutor)\n}\n+// This ensures that when the executor reconnect retry is enabled,\n+// the agent will r...
C++
Apache License 2.0
apache/mesos
Added a test for the optional executor reconnect retry in the agent. This tests that the retries occur if the agent does not receive a re-registration from the executor within the timeout interval. Review: https://reviews.apache.org/r/59585
46,165
25.05.2017 14:38:12
25,200
6a970072e91f7574511c50434baea39734f71dbc
Added a test for shutting down executors that re-register. When already (re-)registered executors attempt to re-register, and the agent does not have the optional reconnect retry enabled, the agent will shut down the executor. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -7004,6 +7004,106 @@ TEST_F(SlaveTest, MaxCompletedExecutorsPerFrameworkFlag)\n}\n}\n+\n+// This ensures that if the executor reconnect retry is disabled,\n+// PID-based V0 execut...
C++
Apache License 2.0
apache/mesos
Added a test for shutting down executors that re-register. When already (re-)registered executors attempt to re-register, and the agent does not have the optional reconnect retry enabled, the agent will shut down the executor. Review: https://reviews.apache.org/r/59586
46,165
25.05.2017 14:40:15
25,200
e45dd39c759c3f0535cbcb5b2473d4bb9542d8ee
Added a test for ignoring executor re-registrations. When the executor reconnect retry is enabled, the agent will ignore any subsequent executor re-registrations since the agent cannot correctly handle these in the steady state case. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -7104,6 +7104,112 @@ TEST_F(SlaveTest, ShutdownV0ExecutorIfItReregistersWithoutReconnect)\ndriver.join();\n}\n+\n+// This ensures that if the executor reconnect retry is enabled,\...
C++
Apache License 2.0
apache/mesos
Added a test for ignoring executor re-registrations. When the executor reconnect retry is enabled, the agent will ignore any subsequent executor re-registrations since the agent cannot correctly handle these in the steady state case. Review: https://reviews.apache.org/r/59587
46,181
25.05.2017 10:52:35
25,200
0303b8d23b8b305fc9403f206f88237b62611b85
Made MasterTest.MaxCompletedTasksPerFrameworkFlag less fragile. Rather than depending on batch allocations to eventually occur, pause the clock and explicitly advance it when we want to trigger a batch allocation. This improves both test robustness and speed. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -5634,6 +5634,8 @@ TEST_F(MasterTest, MaxCompletedTasksPerFrameworkFlag)\nconst size_t totalTasksPerFramework = 2;\nconst size_t maxTasksPerFrameworkArray[] = {0, 1, 2};\n+ Cloc...
C++
Apache License 2.0
apache/mesos
Made MasterTest.MaxCompletedTasksPerFrameworkFlag less fragile. Rather than depending on batch allocations to eventually occur, pause the clock and explicitly advance it when we want to trigger a batch allocation. This improves both test robustness and speed. Review: https://reviews.apache.org/r/59578
46,108
29.05.2017 05:28:27
25,200
f6c2ee0df8a3170d6cd211211c5ab2e50802efde
Moved 'current_word' calculation for autocomplete in the new Mesos CLI.
[ { "change_type": "MODIFY", "old_path": "src/cli_new/bin/main.py", "new_path": "src/cli_new/bin/main.py", "diff": "@@ -49,7 +49,7 @@ See 'mesos help <command>' for more information on a specific command.\n\"\"\"\n-def autocomplete(cmds, plugins, current_word, argv):\n+def autocomplete(cmds, plugins, ...
C++
Apache License 2.0
apache/mesos
Moved 'current_word' calculation for autocomplete in the new Mesos CLI.
46,172
29.05.2017 05:57:42
25,200
bf9715a9bdd688cfddcf9ad72b528ff6f7bdb6ef
Added HTTP utility functions to the new Mesos CLI. These will be used by future plugins and tests. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "src/cli_new/lib/cli/http.py", "diff": "+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distributed with this work for additional information\n+# regarding copyrigh...
C++
Apache License 2.0
apache/mesos
Added HTTP utility functions to the new Mesos CLI. These will be used by future plugins and tests. Review: https://reviews.apache.org/r/58719/
46,108
29.05.2017 12:04:23
25,200
8ea46990999b61d7d79a23b582b5eb7d586bd164
Added 'python-six' to the list of build dependencies. Review:
[ { "change_type": "MODIFY", "old_path": "docs/getting-started.md", "new_path": "docs/getting-started.md", "diff": "@@ -47,7 +47,7 @@ Following are the instructions for stock Ubuntu 14.04. If you are using a differ\n$ sudo apt-get install -y autoconf libtool\n# Install other Mesos dependencies.\n- $ s...
C++
Apache License 2.0
apache/mesos
Added 'python-six' to the list of build dependencies. Review: https://reviews.apache.org/r/59632
46,172
29.05.2017 14:54:52
25,200
2dada1832081bf3c72c52d92a3537bb7ef72e077
Added 'mesos config show' command to the new Mesos CLI. This command displays the contents of the user-defined config.toml file. Review:
[ { "change_type": "MODIFY", "old_path": "src/cli_new/lib/cli/plugins/config/main.py", "new_path": "src/cli_new/lib/cli/plugins/config/main.py", "diff": "The config plugin.\n\"\"\"\n+import os\nimport sys\nimport cli\n+from cli.exceptions import CLIException\nfrom cli.plugins import PluginBase\nfrom c...
C++
Apache License 2.0
apache/mesos
Added 'mesos config show' command to the new Mesos CLI. This command displays the contents of the user-defined config.toml file. Review: https://reviews.apache.org/r/58137/
46,108
29.05.2017 15:50:42
25,200
ccc95d942be283d1cc6cebb4170e5cb6bc11108c
Updated comment in 'config.py' of the new Mesos CLI to be more accurate.
[ { "change_type": "MODIFY", "old_path": "src/cli_new/lib/cli/config.py", "new_path": "src/cli_new/lib/cli/config.py", "diff": "@@ -47,9 +47,7 @@ class Config(object):\ndef plugins(self):\n\"\"\"\n- Parse and load the builtin plugins and the ones in the configuration\n- file. If this method is called ...
C++
Apache License 2.0
apache/mesos
Updated comment in 'config.py' of the new Mesos CLI to be more accurate.
46,139
30.05.2017 13:50:06
25,200
55e7ea5ed788acb0e4f810dd4575a5a4479520d1
Fixed a bug in 'ComposingContainerizerProcess::wait()'. Fixed a bug in the Composing Containerizer that would make it always immediately return 'None' when trying to wait on a nested container that had already been terminated and whose exit status was checkpointed. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/composing.cpp", "new_path": "src/slave/containerizer/composing.cpp", "diff": "@@ -543,11 +543,19 @@ Future<ContainerStatus> ComposingContainerizerProcess::status(\nFuture<Option<ContainerTermination>> ComposingContainerizerProcess::wait...
C++
Apache License 2.0
apache/mesos
Fixed a bug in 'ComposingContainerizerProcess::wait()'. Fixed a bug in the Composing Containerizer that would make it always immediately return 'None' when trying to wait on a nested container that had already been terminated and whose exit status was checkpointed. Review: https://reviews.apache.org/r/59537/
46,078
11.05.2017 03:14:35
25,200
ad100c322ae1f5b53b0100d1c074054a9ebf3bca
Used loop to implement allocator interval-based allocation. This also gets rid of the old "batch" allocation concept because we now use the term to describe the batching of pending allocation candidates. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "#include <mesos/resources.hpp>\n#include <mesos/type_utils.hpp>\n+#include <process/after.hpp>\n#include <process/delay.hpp>\n#include <process/di...
C++
Apache License 2.0
apache/mesos
Used loop to implement allocator interval-based allocation. This also gets rid of the old "batch" allocation concept because we now use the term to describe the batching of pending allocation candidates. Review: https://reviews.apache.org/r/59254
46,139
30.05.2017 16:25:52
25,200
c61e592d7b773e3d939fb1165480f735d14bb18d
Resolved a TODO that depended on a newer version of gtest. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -101,19 +101,15 @@ protected:\n// These tests are parameterized by the containerizers enabled on the agent.\n-//\n-// TODO(gkleiman): The version of gtest cu...
C++
Apache License 2.0
apache/mesos
Resolved a TODO that depended on a newer version of gtest. Review: https://reviews.apache.org/r/59581/
46,114
30.05.2017 16:37:53
25,200
5e86f8f4d8b15de1e409bbe17b0c71ee7ed62035
Windows: Updated Protobuf to 3.3.0. This reconciles the Linux and Windows builds to use the same version of Protobuf. Previously, Windows was using a 3.0.0-beta-2 while Linux was stuck on 2.6.1. Now they both use 3.3.0. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -293,13 +293,7 @@ include(StoutConfigure)\ninclude(StoutTestsConfigure)\nset(GOOGLETEST_URL ${FETCH_URL}/googletest-release-${GOOGLETEST_VERSION}.tar.gz)\n-# NOTE: The Windows version...
C++
Apache License 2.0
apache/mesos
Windows: Updated Protobuf to 3.3.0. This reconciles the Linux and Windows builds to use the same version of Protobuf. Previously, Windows was using a 3.0.0-beta-2 while Linux was stuck on 2.6.1. Now they both use 3.3.0. Review: https://reviews.apache.org/r/59658/
46,181
11.05.2017 15:51:36
25,200
3ec2d1fcc115ece66a43eec8b659e61744e9ab16
Removed orphaned tasks from webui. Now that 0.x agents are not allowed to register with the master, orphan tasks should no longer be possible. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/home.html", "new_path": "src/webui/master/static/home.html", "diff": "<td>Lost</td>\n<td class=\"text-right\">{{lost_tasks | number}}</td>\n</tr>\n- <tr>\n- <td>Orphan</td>\n- <!-- TODO(janisz) Use metrics when MESOS-5648 gets resolved ...
C++
Apache License 2.0
apache/mesos
Removed orphaned tasks from webui. Now that 0.x agents are not allowed to register with the master, orphan tasks should no longer be possible. Review: https://reviews.apache.org/r/59215
46,181
11.05.2017 16:01:52
25,200
549190e40f412cf5d234bf32905240a8684bf3f5
Fixed some inaccurate comments. Orphan tasks/executors are still possible in Mesos 1.2.0; they are not possible with Mesos 1.2.1 or Mesos >= 1.3.0. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/master/master.proto", "new_path": "include/mesos/master/master.proto", "diff": "@@ -359,8 +359,7 @@ message Response {\n// frameworks are now reported in the `frameworks` list with the\n// `recovered` field set to true.\n//\n- // TODO(neilc): Rem...
C++
Apache License 2.0
apache/mesos
Fixed some inaccurate comments. Orphan tasks/executors are still possible in Mesos 1.2.0; they are not possible with Mesos 1.2.1 or Mesos >= 1.3.0. Review: https://reviews.apache.org/r/59216
46,181
11.05.2017 16:02:33
25,200
9efbc39cfcb0e8173e8545767a033118e9b9c8ef
Removed outdated comments. 0.x agents are no longer supported. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -6208,8 +6208,6 @@ void Master::___reregisterSlave(\nrecoverFramework(frameworkInfo);\n}\n- // NOTE: Here we always send the message. Slaves whose version are\n- // less than 0.22.0 will ...
C++
Apache License 2.0
apache/mesos
Removed outdated comments. 0.x agents are no longer supported. Review: https://reviews.apache.org/r/59217