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,148 | 20.09.2018 14:55:03 | 25,200 | 961d12219893aae2978d194140d3a71b0379d4ac | Added a test to verify agent authentication retry backoff logic.
This test verifies that the agent backs-off properly when
retrying authentication according to the configured parameters.
Also mocked `Slave::authenticate()` for this test.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.hpp",
"new_path": "src/slave/slave.hpp",
"diff": "@@ -491,7 +491,8 @@ public:\n// not receive a ping.\nvoid pingTimeout(process::Future<Option<MasterInfo>> future);\n- void authenticate(Duration minTimeout, Duration maxTimeout);\n+ // Made virt... | C++ | Apache License 2.0 | apache/mesos | Added a test to verify agent authentication retry backoff logic.
This test verifies that the agent backs-off properly when
retrying authentication according to the configured parameters.
Also mocked `Slave::authenticate()` for this test.
Review: https://reviews.apache.org/r/68354/ |
46,053 | 21.09.2018 14:51:24 | -7,200 | bfa2bd24780b5c49467b3c23260855e3d8b4c948 | Fixed disconnection while sending acknowledgment to IOSwitchboard.
Previously, an HTTP connection to the IOSwitchboard could be garbage
collected before the agent sent an acknowledgment to the IOSwitchboard
via this connection. This patch fixes the issue by keeping a reference
count to the connection in a lambda callba... | [
{
"change_type": "MODIFY",
"old_path": "src/slave/http.cpp",
"new_path": "src/slave/http.cpp",
"diff": "@@ -3140,7 +3140,12 @@ Future<Response> Http::_attachContainerInput(\n// so that the IOSwitchboard process can terminate itself. This is\n// a workaround for the problem with dropping outstanding ... | C++ | Apache License 2.0 | apache/mesos | Fixed disconnection while sending acknowledgment to IOSwitchboard.
Previously, an HTTP connection to the IOSwitchboard could be garbage
collected before the agent sent an acknowledgment to the IOSwitchboard
via this connection. This patch fixes the issue by keeping a reference
count to the connection in a lambda callb... |
46,148 | 21.09.2018 15:01:07 | 25,200 | bb18d0bfdcc39d0855eb60a910f3bd7a5360a3e9 | Fixed flaky test `SlaveAuthenticationRetryBackoff`.
This patch dispatches `unmocked_authenticate()` call to the
slave actor instead of invoking it directly in the test
thread to avoid race conditions.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/authentication_tests.cpp",
"new_path": "src/tests/authentication_tests.cpp",
"diff": "@@ -506,7 +506,9 @@ TEST_F(AuthenticationTest, SlaveAuthenticationRetryBackoff)\nFutureSatisfy(&authenticate)))\n.RetiresOnSaturation();\n+ process::dispatch(slave.... | C++ | Apache License 2.0 | apache/mesos | Fixed flaky test `SlaveAuthenticationRetryBackoff`.
This patch dispatches `unmocked_authenticate()` call to the
slave actor instead of invoking it directly in the test
thread to avoid race conditions.
Review: https://reviews.apache.org/r/68801/ |
46,148 | 21.09.2018 15:15:04 | 25,200 | cacc0556b7d870028c7abd2ffa5b47f6b493da55 | Fixed flaky test `RemoveExecutorUponFailedLaunch`.
The scheduler `statusUpdate` call expectation is not
necessary and may not be satisfied in some cases, leading
to flakiness. Replaced `WillOnce` with `AtMost(1)`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_tests.cpp",
"new_path": "src/tests/slave_tests.cpp",
"diff": "@@ -4584,9 +4584,8 @@ TEST_F(SlaveTest, RemoveExecutorUponFailedLaunch)\nEXPECT_CALL(exec, registered(_, _, _, _))\n.Times(0);\n- Future<TaskStatus> killTaskStatus;\nEXPECT_CALL(sche... | C++ | Apache License 2.0 | apache/mesos | Fixed flaky test `RemoveExecutorUponFailedLaunch`.
The scheduler `statusUpdate` call expectation is not
necessary and may not be satisfied in some cases, leading
to flakiness. Replaced `WillOnce` with `AtMost(1)`.
Review: https://reviews.apache.org/r/68803/ |
46,148 | 21.09.2018 15:54:06 | 25,200 | 3eec39029379abe470ef43b87eca5667053f982b | Fixed couple of typos in the allocator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -952,7 +952,7 @@ void HierarchicalAllocatorProcess::updateAllocation(\nconst Resources updatedFrameworkAllocation =\nframeworkSorter->allocatio... | C++ | Apache License 2.0 | apache/mesos | Fixed couple of typos in the allocator.
Review: https://reviews.apache.org/r/68122/ |
46,062 | 22.09.2018 16:22:57 | 25,200 | 270c4cb62f5680bcf952bfb7ec8dfc10843f21e0 | Added supporting scripts for Mesos LLVM Tools.
Review: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "support/llvm/README.md",
"diff": "+# Mesos LLVM Tools\n+\n+This is an overview of the Mesos-flavored LLVM Tools we maintain.\n+ - MesosFormat: [mesos/clang]\n+ - MesosTidy: [mesos/clang-tools-extra]\n+\n+[mesos/clang]: https://github.com/mesos/c... | C++ | Apache License 2.0 | apache/mesos | Added supporting scripts for Mesos LLVM Tools.
Review: https://reviews.apache.org/r/66114/ |
46,139 | 24.09.2018 14:17:10 | 25,200 | a856a4b24cee9853e4db9a2d8a5d49253176bc24 | Updated website for 1.7.0.
Review: | [
{
"change_type": "MODIFY",
"old_path": "site/data/releases.yml",
"new_path": "site/data/releases.yml",
"diff": "@@ -172,6 +172,8 @@ versions:\n## after we create the ReleaseNote for 0.28.1, we get the link:\n## https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311242&version=1233535... | C++ | Apache License 2.0 | apache/mesos | Updated website for 1.7.0.
Review: https://reviews.apache.org/r/68829 |
46,139 | 24.09.2018 14:08:34 | 25,200 | b02b92a64bd977c0960190d27116be90fec111f4 | Added the Mesos 1.7.0 release blog post.
Review: | [
{
"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.6.1\n- jira_version: 12343270\n+ version: 1.7.0\n+ jira_v... | C++ | Apache License 2.0 | apache/mesos | Added the Mesos 1.7.0 release blog post.
Review: https://reviews.apache.org/r/68830 |
46,103 | 25.09.2018 20:56:11 | -7,200 | 5c1fd4af0950489797c2dd6adc32fbef6096b8e8 | Bumped mesos-tidy to upstream release_70.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/clang-tidy",
"new_path": "support/clang-tidy",
"diff": "@@ -7,6 +7,9 @@ clang-analyzer-*,\\\n-clang-analyzer-core.CallAndMessage,\\\n-clang-analyzer-core.NonNullParamChecker,\\\n-clang-analyzer-core.NullDereference,\\\n+-clang-analyzer-core.UndefinedBi... | C++ | Apache License 2.0 | apache/mesos | Bumped mesos-tidy to upstream release_70.
Review: https://reviews.apache.org/r/68820/ |
46,103 | 25.09.2018 21:00:48 | -7,200 | 501c987c33861add6dca7841502fdc62c0646a8f | Fixed accidental use-after-move.
This code was incorrectly accessing an object after it was moved from.
This patch fixes the typo which lead to that behavior.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/resources_tests.cpp",
"new_path": "src/tests/resources_tests.cpp",
"diff": "@@ -804,7 +804,7 @@ TEST(ResourcesTest, MoveConstruction)\n// Move constructor for `Resources`.\nResources r1 = r;\n- Resources rr1{std::move(r)};\n+ Resources rr1{std::move(... | C++ | Apache License 2.0 | apache/mesos | Fixed accidental use-after-move.
This code was incorrectly accessing an object after it was moved from.
This patch fixes the typo which lead to that behavior.
Review: https://reviews.apache.org/r/68818/ |
46,210 | 26.09.2018 15:22:34 | -7,200 | 0f9448497ddb259063911811ab3ce5784747ca2d | Added version check and bundling of libevent within libprocess.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/Makefile.am",
"new_path": "3rdparty/libprocess/Makefile.am",
"diff": "@@ -62,6 +62,7 @@ GRPC = $(BUNDLED_DIR)/grpc-$(GRPC_VERSION)\nGTEST = $(GOOGLETEST)/googletest\nHTTP_PARSER = $(BUNDLED_DIR)/http-parser-$(HTTP_PARSER_VERSION)\nLIBEV = $... | C++ | Apache License 2.0 | apache/mesos | Added version check and bundling of libevent within libprocess.
Review: https://reviews.apache.org/r/68641/ |
46,103 | 20.09.2018 09:33:33 | -7,200 | 75849ec73d8f596e138a9997e79c6f984eaf1b3f | Prevented leaking files in some stout tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/main.cpp",
"new_path": "3rdparty/stout/tests/main.cpp",
"diff": "#include <stout/fs.hpp>\n#include <stout/os/mkdtemp.hpp>\n+#include <stout/os/rmdir.hpp>\n#include <stout/os/socket.hpp> // For `wsa_*` on Windows.\n#include <stout/os/touch.... | C++ | Apache License 2.0 | apache/mesos | Prevented leaking files in some stout tests.
Review: https://reviews.apache.org/r/68816 |
46,103 | 20.09.2018 10:13:49 | -7,200 | 556880af6481332cc252514db9438082f85b643b | Prevented leaking files in some libprocess tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/tests/io_tests.cpp",
"new_path": "3rdparty/libprocess/src/tests/io_tests.cpp",
"diff": "@@ -349,11 +349,10 @@ TEST_F(IOTest, Redirect)\nAWAIT_EXPECT_FAILED(io::redirect(0, -1));\n// Create a temporary file for redirecting into.\n- Try<s... | C++ | Apache License 2.0 | apache/mesos | Prevented leaking files in some libprocess tests.
Review: https://reviews.apache.org/r/68817 |
46,103 | 21.09.2018 08:47:50 | -7,200 | 16f29ab85a10ef8ba17102b8dd7795e822553b4f | Asserted element exists before accessing it.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/os/sendfile_tests.cpp",
"new_path": "3rdparty/stout/tests/os/sendfile_tests.cpp",
"diff": "@@ -169,8 +169,8 @@ TEST_F(OsSendfileTest, Sendfile)\nTry<ssize_t, SocketError> result =\nos::sendfile(s[0], fd.get(), 0, LOREM_IPSUM.size());\n- in... | C++ | Apache License 2.0 | apache/mesos | Asserted element exists before accessing it.
Review: https://reviews.apache.org/r/68819 |
46,053 | 26.09.2018 23:58:48 | -7,200 | af5af29ce217f63aeec59bed81f2a742d2c5602a | Disabled flaky LaunchNestedContainerSessionsInParallel test.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/api_tests.cpp",
"new_path": "src/tests/api_tests.cpp",
"diff": "@@ -6524,9 +6524,11 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\n// command executor. Each nested container prints a short message to the stdout\n// and then terminates. This test verifies that ... | C++ | Apache License 2.0 | apache/mesos | Disabled flaky LaunchNestedContainerSessionsInParallel test.
Review: https://reviews.apache.org/r/68839/ |
46,210 | 27.09.2018 00:20:17 | -7,200 | 983607e5b814fd6395cc08c7002a132adf4c6bbf | Added missing python egg build extensions for libevent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/python/native_common/ext_modules.py.in",
"new_path": "src/python/native_common/ext_modules.py.in",
"diff": "@@ -114,7 +114,25 @@ def _create_module(module_name):\nEXTRA_OBJECTS.append(libev)\nelse:\nEXTRA_OBJECTS.append('-lev')\n-\n+ else:\n+ libevent_dir ... | C++ | Apache License 2.0 | apache/mesos | Added missing python egg build extensions for libevent.
Review: https://reviews.apache.org/r/68856/ |
46,188 | 26.09.2018 21:38:05 | 25,200 | 832ebc2beddbe8d38427c2ce0e5578bcaee69b35 | Skipped CNI config load if named network is not enabled.
If the operator didn't turn on named CNI network support (i.e., both
agent flags `network_cni_config_dir` and `network_cni_plugins_dir` are
not specified), the CNI should not attempt to load the network configs.
This patch fixed a potential CHECK failure.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp",
"diff": "@@ -1929,6 +1929,10 @@ Try<JSON::Object> NetworkCniIsolatorProcess::getNetworkConfigJSON(\n}\n// Cache-miss.\n+ if... | C++ | Apache License 2.0 | apache/mesos | Skipped CNI config load if named network is not enabled.
If the operator didn't turn on named CNI network support (i.e., both
agent flags `network_cni_config_dir` and `network_cni_plugins_dir` are
not specified), the CNI should not attempt to load the network configs.
This patch fixed a potential CHECK failure.
Revie... |
46,188 | 26.09.2018 21:57:14 | 25,200 | 84b0a51e7174885f45b155ef912772c2593fc398 | Removed unneeded pluginDir field from CNI isolator.
The field member is redundant as it's already included in the flags.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/network/cni/cni.cpp",
"diff": "@@ -289,8 +289,7 @@ Try<Isolator*> NetworkCniIsolatorProcess::create(const Flags& flags)\nnetworkConfigs.get(),\nc... | C++ | Apache License 2.0 | apache/mesos | Removed unneeded pluginDir field from CNI isolator.
The field member is redundant as it's already included in the flags.
Review: https://reviews.apache.org/r/68862 |
46,165 | 27.09.2018 11:57:36 | 25,200 | 4174bc14fd08848602286a718e8a45f12e30f54c | Added a note about allocaiton cycle performance in the 1.7.1 CHANGELOG. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "Release Notes - Mesos - Version 1.7.1 (WIP)\n-------------------------------------\n-* This is a bug fix release.\n+* This is a bug fix release. Also includes performance improvements:\n+\n+ * **Allocator**: Improv... | C++ | Apache License 2.0 | apache/mesos | Added a note about allocaiton cycle performance in the 1.7.1 CHANGELOG. |
46,177 | 28.09.2018 11:09:19 | 25,200 | 698c1498c20585089db9fca98c35bbab8da46c04 | Disabled flaky LongLivedDefaultExecutorRestart test.
This flaky test is tracked here: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/gc_tests.cpp",
"new_path": "src/tests/gc_tests.cpp",
"diff": "@@ -903,7 +903,8 @@ TEST_F(GarbageCollectorIntegrationTest, LongLivedDefaultExecutor)\n// when a task finishes, but the executor is still running. This version of\n// the test restarts the... | C++ | Apache License 2.0 | apache/mesos | Disabled flaky LongLivedDefaultExecutorRestart test.
This flaky test is tracked here:
https://issues.apache.org/jira/browse/MESOS-9217 |
46,055 | 29.09.2018 11:07:46 | -28,800 | d74779eba1ba1d6583c76052c38a98668847eb68 | Updated mininal supported Docker version from 1.0.0 to 1.8.0.
The reason that we need Docker 1.8.0+ is, for `docker inspect` command,
we need to specify the option `--type=container` which was added to the
`docker inspect` command starting from Docker 1.8.0.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/docker-containerizer.md",
"new_path": "docs/docker-containerizer.md",
"diff": "@@ -22,7 +22,7 @@ the agent with \"docker\" as one of the containerizers option.\nExample: `mesos-agent --containerizers=docker,mesos`\nEach agent that has the Docker container... | C++ | Apache License 2.0 | apache/mesos | Updated mininal supported Docker version from 1.0.0 to 1.8.0.
The reason that we need Docker 1.8.0+ is, for `docker inspect` command,
we need to specify the option `--type=container` which was added to the
`docker inspect` command starting from Docker 1.8.0.
Review: https://reviews.apache.org/r/68882 |
46,055 | 26.09.2018 08:32:51 | -28,800 | f1ca2dbbbebe11bf6a222d95efa3fd73da760e6a | Specified `--type=container` for `docker inspect` command.
Without `--type` option, `docker inspect` is generic and will match
against any object types. However in our case, we only care about
Docker container rather than any other object types, so we need to
add `--type=container` so that `docker inspect` will only ma... | [
{
"change_type": "MODIFY",
"old_path": "src/docker/docker.cpp",
"new_path": "src/docker/docker.cpp",
"diff": "@@ -1322,7 +1322,9 @@ Future<Docker::Container> Docker::inspect(\n// discarded, and a mutex to control access to the callback.\nauto callback = std::make_shared<pair<lambda::function<void()>... | C++ | Apache License 2.0 | apache/mesos | Specified `--type=container` for `docker inspect` command.
Without `--type` option, `docker inspect` is generic and will match
against any object types. However in our case, we only care about
Docker container rather than any other object types, so we need to
add `--type=container` so that `docker inspect` will only m... |
46,055 | 30.09.2018 09:55:12 | -28,800 | 7aaef1979a10de5e11548123d1985474b143854b | Added in CHANGELOG and updated upgrades.md.
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -10,6 +10,7 @@ Release Notes - Mesos - Version 1.7.1 (WIP)\n* [MESOS-8545] - AgentAPIStreamingTest.AttachInputToNestedContainerSession is flaky.\n* [MESOS-9131] - Health checks launching nested containers while ... | C++ | Apache License 2.0 | apache/mesos | Added MESOS-9231 in CHANGELOG and updated upgrades.md.
Review: https://reviews.apache.org/r/68887 |
46,108 | 02.10.2018 11:40:52 | -7,200 | 716bb9f65974e4479d9ad794c145aa8293cea203 | Added the ability to launch tasks with a TTY attached to mesos-execute.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/cli/execute.cpp",
"new_path": "src/cli/execute.cpp",
"diff": "@@ -356,6 +356,11 @@ public:\n\"and 'protobuf' are valid choices.\",\n\"protobuf\");\n+ add(&Flags::tty,\n+ \"tty\",\n+ \"Attach a TTY to the task being launched\",\n+ false);\n+\nadd(&Flags::pa... | C++ | Apache License 2.0 | apache/mesos | Added the ability to launch tasks with a TTY attached to mesos-execute.
Review: https://reviews.apache.org/r/68724/ |
46,172 | 02.10.2018 10:09:54 | 14,400 | 051a138d08ba3b9e28fd6ec4e4f707cbd4bb1563 | Refactored new CLI.
This adds a new file called `mesos.py` to the CLI library that abstracts
calling various Mesos APIs. The functions added here in this commit are
then used in the 'task' and 'agent' plugins to simplify them.
Review: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/python/cli_new/lib/cli/mesos.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 ... | C++ | Apache License 2.0 | apache/mesos | Refactored new CLI.
This adds a new file called `mesos.py` to the CLI library that abstracts
calling various Mesos APIs. The functions added here in this commit are
then used in the 'task' and 'agent' plugins to simplify them.
Review: https://reviews.apache.org/r/68734/ |
46,143 | 03.10.2018 09:51:53 | 18,000 | a1ec6e37104af82cef83597498e0ba54044d86e2 | Added a log line to `MesosContainerizer::kill()`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/containerizer.cpp",
"new_path": "src/slave/containerizer/mesos/containerizer.cpp",
"diff": "@@ -2828,6 +2828,10 @@ Future<bool> MesosContainerizerProcess::kill(\nconst Owned<Container>& container = containers_.at(containerId);\n+ ... | C++ | Apache License 2.0 | apache/mesos | Added a log line to `MesosContainerizer::kill()`.
Review: https://reviews.apache.org/r/68912 |
46,210 | 03.10.2018 23:15:36 | -7,200 | 26ea70963c8a2ea265d26ea16900469a3a5aae78 | Added monitoring paragraph to high-availability.md.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/high-availability.md",
"new_path": "docs/high-availability.md",
"diff": "@@ -54,6 +54,10 @@ When a network partition disconnects an agent from the leader:\n* Deactivated agents may not reregister with the leader and are told to shut down upon any post-dea... | C++ | Apache License 2.0 | apache/mesos | Added monitoring paragraph to high-availability.md.
Review: https://reviews.apache.org/r/67748/ |
46,210 | 04.10.2018 15:40:30 | -7,200 | d396478018567022b28b8a82e8808d85bb7a8846 | Removed version check from libevent dependency tracking.
Review: | [
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -1490,14 +1490,7 @@ if test \"x$enable_libevent\" = \"xyes\"; then\n# linking.\nif test \"x$without_bundled_libevent\" = \"xyes\" || \\\ntest \"x$enable_bundled\" != \"xyes\"; then\n- MESOS_HAVE_LIBEVENT([... | C++ | Apache License 2.0 | apache/mesos | Removed version check from libevent dependency tracking.
Review: https://reviews.apache.org/r/68904/ |
46,210 | 04.10.2018 15:40:38 | -7,200 | 53976ee21282fcafe93e20bc33dbf31dab23cfcf | Removed version check from libevent dependency tracking from libprocess.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/configure.ac",
"new_path": "3rdparty/libprocess/configure.ac",
"diff": "@@ -803,14 +803,7 @@ if test \"x$enable_libevent\" = \"xyes\"; then\n# linking.\nif test \"x$without_bundled_libevent\" = \"xyes\" || \\\ntest \"x$enable_bundled\" != \... | C++ | Apache License 2.0 | apache/mesos | Removed version check from libevent dependency tracking from libprocess.
Review: https://reviews.apache.org/r/68905/ |
46,210 | 04.10.2018 15:41:19 | -7,200 | 2ccc37e97f420e4378985f06673295305a4e60d0 | Updated libevent linkage to adhere to best practices.
libevent is a combination of libevent_core and libevent_extra. Mesos
and libprocess do not make use of any libevent_extra functionality.
Additionally, linking against libevent is against best practices.
Replaces use of libevent with libevent_core in both libevent.m4... | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/Makefile.am",
"new_path": "3rdparty/libprocess/Makefile.am",
"diff": "@@ -158,8 +158,7 @@ endif\nelse\nif WITH_BUNDLED_LIBEVENT\nLIB_EVENT_INCLUDE_FLAGS = -I$(LIBEVENT)\n-LIB_EVENT = $(LIBEVENT)/libevent_core.la $(LIBEVENT)/libevent_pthread... | C++ | Apache License 2.0 | apache/mesos | Updated libevent linkage to adhere to best practices.
libevent is a combination of libevent_core and libevent_extra. Mesos
and libprocess do not make use of any libevent_extra functionality.
Additionally, linking against libevent is against best practices.
Replaces use of libevent with libevent_core in both libevent... |
46,210 | 04.10.2018 15:45:06 | -7,200 | bfbb9e0ad12594c2d2b60567779b7542a0515589 | Removed unbundling by default for libevent on macOS when using CMake.
Review: | [
{
"change_type": "MODIFY",
"old_path": "cmake/CompilationConfigure.cmake",
"new_path": "cmake/CompilationConfigure.cmake",
"diff": "@@ -80,17 +80,10 @@ option(\nFALSE)\nif (ENABLE_LIBEVENT)\n- # TODO(tillt): Consider adding Ubuntu 17 to this check. See MESOS-7076.\n- if (NOT APPLE)\n- set(DEFAULT_UN... | C++ | Apache License 2.0 | apache/mesos | Removed unbundling by default for libevent on macOS when using CMake.
Review: https://reviews.apache.org/r/68919/ |
46,128 | 04.10.2018 16:43:57 | 25,200 | 6654b26918b464764ae0329cba3669b4566a8d60 | Updated Docker library to avoid 'os::killtree()' when discarding.
This patch updates the Docker library to consistently use the
overload of `subprocess()` which runs its binary via `execvp()`
rather than through a shell. This makes it safe to use
`os::kill()` rather than `os::killtree()` when discarding
these commands,... | [
{
"change_type": "MODIFY",
"old_path": "src/docker/docker.cpp",
"new_path": "src/docker/docker.cpp",
"diff": "@@ -162,7 +162,7 @@ void commandDiscarded(const Subprocess& s, const string& cmd)\n{\nif (s.status().isPending()) {\nVLOG(1) << \"'\" << cmd << \"' is being discarded\";\n- os::killtree(s.pi... | C++ | Apache License 2.0 | apache/mesos | Updated Docker library to avoid 'os::killtree()' when discarding.
This patch updates the Docker library to consistently use the
overload of `subprocess()` which runs its binary via `execvp()`
rather than through a shell. This makes it safe to use
`os::kill()` rather than `os::killtree()` when discarding
these commands... |
46,056 | 27.09.2018 15:20:01 | -7,200 | 8f400c3e5abe0fa1810a6efd56bc3fecabf1bbd3 | Put `TerminateEvent` at the end of the queue in the Mesos library.
This is to ensure all pending dispatches are processed. However
multistage events, e.g., `Call`, might still be dropped, because
a continuation (stage) of such event can be dispatched after the
termination event.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/scheduler/scheduler.cpp",
"new_path": "src/scheduler/scheduler.cpp",
"diff": "@@ -1038,7 +1038,12 @@ void Mesos::reconnect()\nvoid Mesos::stop()\n{\nif (process != nullptr) {\n- terminate(process);\n+ // We pass 'false' here to add the termination event at... | C++ | Apache License 2.0 | apache/mesos | Put `TerminateEvent` at the end of the queue in the Mesos library.
This is to ensure all pending dispatches are processed. However
multistage events, e.g., `Call`, might still be dropped, because
a continuation (stage) of such event can be dispatched after the
termination event.
Review: https://reviews.apache.org/r/6... |
46,066 | 05.10.2018 12:47:10 | -7,200 | f72d7705b2e67f5443141a656e4ad90cb394af6f | Fixed unbundled libevent linkage for CMake builds.
Using CMake with an unbundled libevent resulted in a configuration
error, because the libevent target wasn't defined.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -587,6 +587,7 @@ if (ENABLE_LIBEVENT)\nURL_HASH ${LIBEVENT_HASH})\nelse ()\nfind_package(LIBEVENT REQUIRED)\n+ add_library(libevent INTERFACE)\nforeach (lib ${LIBEVENT_LIBS})\nget_fil... | C++ | Apache License 2.0 | apache/mesos | Fixed unbundled libevent linkage for CMake builds.
Using CMake with an unbundled libevent resulted in a configuration
error, because the libevent target wasn't defined.
Review: https://reviews.apache.org/r/68936/ |
46,172 | 05.10.2018 20:00:14 | -7,200 | b290cbab66b466a3a529a4f9404cf137a9285da3 | Removed output in mesos-style.py when linting goes well.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/mesos-style.py",
"new_path": "support/mesos-style.py",
"diff": "@@ -221,12 +221,12 @@ class LinterBase():\nlint_errors = self.run_lint(list(filtered_candidates_set))\ntotal_errors = license_errors + encoding_errors + lint_errors\n+ if total_errors > 0:... | C++ | Apache License 2.0 | apache/mesos | Removed output in mesos-style.py when linting goes well.
Review: https://reviews.apache.org/r/68937/ |
46,172 | 05.10.2018 20:00:24 | -7,200 | c0f8f56d5a93f3fb870e448fedfd22f1491356ca | Updated cpplint.py to be less verbose when there is no linting issue.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/cpplint.patch",
"new_path": "support/cpplint.patch",
"diff": "diff --git a/support/cpplint.py b/support/cpplint.py\n-index 6d44d3165..5089d50a9 100644\n+index 6d44d3165..b8b3b1a14 100644\n--- a/support/cpplint.py\n+++ b/support/cpplint.py\n-@@ -28,6 +2... | C++ | Apache License 2.0 | apache/mesos | Updated cpplint.py to be less verbose when there is no linting issue.
Review: https://reviews.apache.org/r/68939/ |
46,056 | 07.10.2018 14:20:25 | -7,200 | 349a2a02a28490603693e2c229e0b0d77529a1e7 | Unified the body of `MethodNotAllowed` response.
Both c-tors of `MethodNotAllowed` now print
"405 Method Not Allowed." in the response body. | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/http.hpp",
"new_path": "3rdparty/libprocess/include/process/http.hpp",
"diff": "@@ -775,8 +775,9 @@ private:\nconst std::initializer_list<std::string>& allowedMethods,\nconst std::string& requestMethod)\n{\n- return \"Expect... | C++ | Apache License 2.0 | apache/mesos | Unified the body of `MethodNotAllowed` response.
Both c-tors of `MethodNotAllowed` now print
"405 Method Not Allowed." in the response body. |
46,056 | 07.10.2018 14:20:54 | -7,200 | 5632c77c11957f9e29aba0a28dbc40406c4a2287 | Fixed formatting in "process/http.hpp.
Our style guide does not dictate how c-tor declaration shall be
formatted. However, we strive for local consistency to improve
readability. In "process/http.hpp" a common denominator will be:
```
Type(arg0, ...)
: field0(arg0), ... {}
```
or
```
Type(arg0, ...)
: BaseType(arg0, ..... | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/http.hpp",
"new_path": "3rdparty/libprocess/include/process/http.hpp",
"diff": "@@ -331,7 +331,8 @@ public:\nCLOSED,\n};\n- explicit Reader(const std::shared_ptr<Data>& _data) : data(_data) {}\n+ explicit Reader(const std::s... | C++ | Apache License 2.0 | apache/mesos | Fixed formatting in "process/http.hpp.
Our style guide does not dictate how c-tor declaration shall be
formatted. However, we strive for local consistency to improve
readability. In "process/http.hpp" a common denominator will be:
```
Type(arg0, ...)
: field0(arg0), ... {}
```
or
```
Type(arg0, ...)
: BaseType(ar... |
46,172 | 08.10.2018 09:29:16 | 14,400 | fee4803635776b8401a6deea3fd9b3d4133d30bc | Removed unused `lib/cli/tasks.py` for new CLI.
This file was introduced accidentally as part of
Review: | [
{
"change_type": "DELETE",
"old_path": "src/python/cli_new/lib/cli/tasks.py",
"new_path": null,
"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-# regardi... | C++ | Apache License 2.0 | apache/mesos | Removed unused `lib/cli/tasks.py` for new CLI.
This file was introduced accidentally as part of
051a138d08ba3b9e28fd6ec4e4f707cbd4bb1563
Review: https://reviews.apache.org/r/68949/ |
46,172 | 08.10.2018 09:33:07 | 14,400 | aa98a4918eab5c46383d352aee16e0b8ed4e2b13 | Moved `get_agent_address` from `util.py` to `mesos.py` in new CLI.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/python/cli_new/lib/cli/mesos.py",
"new_path": "src/python/cli_new/lib/cli/mesos.py",
"diff": "@@ -22,6 +22,24 @@ from cli import http\nfrom cli.exceptions import CLIException\n+def get_agent_address(agent_id, master):\n+ \"\"\"\n+ Given a master and an age... | C++ | Apache License 2.0 | apache/mesos | Moved `get_agent_address` from `util.py` to `mesos.py` in new CLI.
Review: https://reviews.apache.org/r/68950/ |
46,056 | 07.10.2018 15:55:13 | -7,200 | 4bf72d9851e924589ae769c9706eae0e82f2a254 | Used delegating constructors in `Response` types.
For clarity and brevity, use delegating constructors (available
since C++11) in descendants of the `Response` class.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/http.hpp",
"new_path": "3rdparty/libprocess/include/process/http.hpp",
"diff": "@@ -702,7 +702,7 @@ struct TemporaryRedirect : Response\nstruct BadRequest : Response\n{\nBadRequest()\n- : Response(\"400 Bad Request.\", Statu... | C++ | Apache License 2.0 | apache/mesos | Used delegating constructors in `Response` types.
For clarity and brevity, use delegating constructors (available
since C++11) in descendants of the `Response` class.
Review: https://reviews.apache.org/r/68944 |
46,056 | 07.10.2018 16:31:56 | -7,200 | 17c1d7d41a5489cc865f787deeeb2b91865b8fe1 | Fused constructors of `MethodNotAllowed` into one.
There is no good reason to provide two c-tors for `MethodNotAllowed`,
with one taking `requestMethod` and one not. Instead, an `Option<>`
can be used. This also removes the need for copy-paste in the c-tor
body.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/http.hpp",
"new_path": "3rdparty/libprocess/include/process/http.hpp",
"diff": "@@ -753,16 +753,9 @@ struct MethodNotAllowed : Response\n// According to RFC 2616, \"An Allow header field MUST be present in a\n// 405 (Method ... | C++ | Apache License 2.0 | apache/mesos | Fused constructors of `MethodNotAllowed` into one.
There is no good reason to provide two c-tors for `MethodNotAllowed`,
with one taking `requestMethod` and one not. Instead, an `Option<>`
can be used. This also removes the need for copy-paste in the c-tor
body.
Review: https://reviews.apache.org/r/68945 |
46,129 | 05.10.2018 12:19:01 | 25,200 | 36a64c869cb04704047b86d3f8d11f1399aa8a8c | Added an unit test for agent recovery with new cgroup subsystems.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"diff": "@@ -1904,6 +1904,153 @@ TEST_F(CgroupsIsolatorTest, ROOT_CGROUPS_AutoLoadSubsystems)\n}\n+// This test verifies that after the agent... | C++ | Apache License 2.0 | apache/mesos | Added an unit test for agent recovery with new cgroup subsystems.
Review: https://reviews.apache.org/r/68941 |
46,165 | 05.10.2018 15:56:08 | 25,200 | d0a4a08a3510722a17233d06661acbb063493db9 | Added a 1.7.0 performance improvements blog post.
Review: | [
{
"change_type": "ADD",
"old_path": "site/source/assets/img/blog/1.7-performance-improvements-allocation-cycle.png",
"new_path": "site/source/assets/img/blog/1.7-performance-improvements-allocation-cycle.png",
"diff": "Binary files /dev/null and b/site/source/assets/img/blog/1.7-performance-improvem... | C++ | Apache License 2.0 | apache/mesos | Added a 1.7.0 performance improvements blog post.
Review: https://reviews.apache.org/r/68940 |
46,165 | 28.02.2018 15:01:12 | 28,800 | 23332f61468d7a107717cbede2fa30c3a5edbbe6 | Updated createQuotaInfo helper to handle quota limit.
Note that this has no effect on the existing code paths since the
limit will be empty.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/quota.cpp",
"new_path": "src/master/quota.cpp",
"diff": "@@ -85,24 +85,30 @@ Try<bool> RemoveQuota::perform(\n}\n-Try<QuotaInfo> createQuotaInfo(const QuotaRequest& request)\n-{\n- return createQuotaInfo(request.role(), request.guarantee());\n-}\n+n... | C++ | Apache License 2.0 | apache/mesos | Updated createQuotaInfo helper to handle quota limit.
Note that this has no effect on the existing code paths since the
limit will be empty.
Review: https://reviews.apache.org/r/65853 |
46,165 | 28.02.2018 18:27:51 | 28,800 | 8eb366335b0381897c536522ad607b8292514ce2 | Disallow limit in /quota requests and SET_QUOTA calls.
This ensures that after the protobuf changes to introduce limit
are committed, users cannot set limit in the existing API.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/quota.cpp",
"new_path": "src/master/quota.cpp",
"diff": "@@ -169,6 +169,20 @@ Option<Error> quotaInfo(const QuotaInfo& quotaInfo)\nnames.insert(resource.name());\n}\n+ // TODO(bmahler): We ensure the limit is not set here to enforce\n+ // that the v... | C++ | Apache License 2.0 | apache/mesos | Disallow limit in /quota requests and SET_QUOTA calls.
This ensures that after the protobuf changes to introduce limit
are committed, users cannot set limit in the existing API.
Review: https://reviews.apache.org/r/65851 |
46,165 | 28.02.2018 18:28:08 | 28,800 | fe5c9695eb4f7e0440cebfaf0bae1904b4a4dd56 | Added a test to ensure /quota and SET_QUOTA disallow limit.
We will only allow limit to be set using UPDATE_QUOTA, this
tests that users cannot specify a limit in the old APIs.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_quota_tests.cpp",
"new_path": "src/tests/master_quota_tests.cpp",
"diff": "@@ -266,6 +266,55 @@ TEST_F(MasterQuotaTest, InvalidSetRequest)\n}\n+// v0 /quota requests and SET_QUOTA calls cannot specify a limit.\n+TEST_F(MasterQuotaTest, V0WithL... | C++ | Apache License 2.0 | apache/mesos | Added a test to ensure /quota and SET_QUOTA disallow limit.
We will only allow limit to be set using UPDATE_QUOTA, this
tests that users cannot specify a limit in the old APIs.
Review: https://reviews.apache.org/r/65852 |
46,165 | 01.02.2018 18:48:15 | 28,800 | fbf49d234682e13fc6e9529425be49dca86029f0 | Removed an unnecessary argument from master::Call validation.
The principal is not needed by the validation function.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -250,7 +250,7 @@ Future<Response> Master::Http::api(\nmesos::master::Call call = devolve(v1Call);\n- Option<Error> error = validation::master::call::validate(call, principal);\n+ Option<Error... | C++ | Apache License 2.0 | apache/mesos | Removed an unnecessary argument from master::Call validation.
The principal is not needed by the validation function.
Review: https://reviews.apache.org/r/65780 |
46,165 | 01.02.2018 18:53:37 | 28,800 | 61c5a54f6b1eec29c64bbd554ee8fafccf670643 | Added a TODO to clean up master::Call validation.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/validation.hpp",
"new_path": "src/master/validation.hpp",
"diff": "@@ -50,6 +50,12 @@ namespace master {\nnamespace call {\n// Validates that a master:Call is well-formed.\n+//\n+// TODO(bmahler): Note that this does not validate the fields within\n... | C++ | Apache License 2.0 | apache/mesos | Added a TODO to clean up master::Call validation.
Review: https://reviews.apache.org/r/65781 |
46,188 | 12.10.2018 13:23:45 | 25,200 | 00e2b6ce9d9e88635e9f8ecb01386c7d398fcf06 | Moved to 1.4.2 CHANGELOG. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -1378,6 +1378,7 @@ Release Notes - Mesos - Version 1.4.3 (WIP)\n* [MESOS-9151] - Container stuck at ISOLATING due to FD leak.\n* [MESOS-9170] - Zookeeper doesn't compile with newer gcc due to format error.\n* [M... | C++ | Apache License 2.0 | apache/mesos | Moved MESOS-9279 to 1.4.2 CHANGELOG. |
46,172 | 15.10.2018 07:37:36 | 14,400 | c2ceb8d83447ad00a62e77d978d63d69b4da6567 | Removed variable printing in error strings in new CLI.
By convention, the caller should print variables passed in as arguments
to other functions. In these cases the callee was printing them,
resulting in the variables being printed twice, redundantly.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/python/cli_new/lib/cli/mesos.py",
"new_path": "src/python/cli_new/lib/cli/mesos.py",
"diff": "@@ -51,8 +51,8 @@ def get_agents(master):\ndata = http.get_json(master, endpoint)\nexcept Exception as exception:\nraise CLIException(\n- \"Could not open '/{endp... | C++ | Apache License 2.0 | apache/mesos | Removed variable printing in error strings in new CLI.
By convention, the caller should print variables passed in as arguments
to other functions. In these cases the callee was printing them,
resulting in the variables being printed twice, redundantly.
Review: https://reviews.apache.org/r/68965/ |
46,172 | 15.10.2018 07:36:27 | 14,400 | 3b8be5a17ad9ce9e981ddc2c0789c37af1700de0 | Added try/catch statements when using Mesos util functions in new CLI.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/python/cli_new/lib/cli/plugins/agent/main.py",
"new_path": "src/python/cli_new/lib/cli/plugins/agent/main.py",
"diff": "@@ -57,7 +57,13 @@ class Agent(PluginBase):\nraise CLIException(\"Unable to get leading master address: {error}\"\n.format(error=excepti... | C++ | Apache License 2.0 | apache/mesos | Added try/catch statements when using Mesos util functions in new CLI.
Review: https://reviews.apache.org/r/68965/ |
46,165 | 01.02.2018 18:55:18 | 28,800 | ecd1f18e1fde4496bb34ffe62ef04279e0ce7862 | Implemented master::Call validation for UPDATE_QUOTA.
Note that this function does not currently validate the nested
messages, so this adheres to this for consistency.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/validation.cpp",
"new_path": "src/master/validation.cpp",
"diff": "@@ -242,7 +242,10 @@ Option<Error> validate(const mesos::master::Call& call)\nreturn None();\ncase mesos::master::Call::UPDATE_QUOTA:\n- return Error(\"Not implemented\");\n+ if (!ca... | C++ | Apache License 2.0 | apache/mesos | Implemented master::Call validation for UPDATE_QUOTA.
Note that this function does not currently validate the nested
messages, so this adheres to this for consistency.
Review: https://reviews.apache.org/r/65782 |
46,165 | 01.02.2018 19:04:01 | 28,800 | 04cedd2e301afd11d2e5dd282d0af0c015b9a7b9 | Added a test for validation of UPDATE_QUOTA master::Call.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_validation_tests.cpp",
"new_path": "src/tests/master_validation_tests.cpp",
"diff": "@@ -82,6 +82,24 @@ namespace internal {\nnamespace tests {\n+TEST(MasterCallValidationTest, UpdateQuota)\n+{\n+ Option<Error> error;\n+\n+ mesos::master::Call... | C++ | Apache License 2.0 | apache/mesos | Added a test for validation of UPDATE_QUOTA master::Call.
Review: https://reviews.apache.org/r/65783 |
46,165 | 05.02.2018 18:56:43 | 28,800 | 4189143ab0ea778bf59b85fc883ec1cda7482e95 | Added validation of QuotaRequest.
This obviates the need for the old-style validation of quotaInfo,
but leaves the latter in order to keep the v0 code path untouched.
A TODO has been added to remove the old validation and replace it
with the one in this patch.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/quota.cpp",
"new_path": "src/master/quota.cpp",
"diff": "#include <mesos/mesos.hpp>\n#include <mesos/resources.hpp>\n#include <mesos/roles.hpp>\n+#include <mesos/values.hpp>\n#include <stout/error.hpp>\n#include <stout/option.hpp>\n+#include <stout/... | C++ | Apache License 2.0 | apache/mesos | Added validation of QuotaRequest.
This obviates the need for the old-style validation of quotaInfo,
but leaves the latter in order to keep the v0 code path untouched.
A TODO has been added to remove the old validation and replace it
with the one in this patch.
Review: https://reviews.apache.org/r/65784 |
46,165 | 05.02.2018 18:58:46 | 28,800 | 69f3744f3b2f8e2a8116f023020696950af573ad | Added a test for QuotaRequest validation.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_validation_tests.cpp",
"new_path": "src/tests/master_validation_tests.cpp",
"diff": "#include <stout/uuid.hpp>\n#include \"master/master.hpp\"\n+#include \"master/quota.hpp\"\n#include \"master/validation.hpp\"\n#include \"master/detector/stan... | C++ | Apache License 2.0 | apache/mesos | Added a test for QuotaRequest validation.
Review: https://reviews.apache.org/r/65785 |
46,056 | 06.07.2018 10:08:08 | -7,200 | c3a85e52777255e3dfb3fe4bd8878a133859b200 | Renamed committer checklist into committer guidelines.
Review: | [
{
"change_type": "RENAME",
"old_path": "docs/committer-candidate-checklist.md",
"new_path": "docs/committer-candidate-guidelines.md",
"diff": "---\n-title: Apache Mesos - Committer Candidate Checklist\n+title: Apache Mesos - Committer Candidate Guidelines\nlayout: documentation\n---\n-# Apache Mesos... | C++ | Apache License 2.0 | apache/mesos | Renamed committer checklist into committer guidelines.
Review: https://reviews.apache.org/r/67840 |
46,056 | 06.07.2018 10:27:37 | -7,200 | 07ab5abb1db91fda3fa118083dc15065f314a3fd | Updated committer candidate guidelines.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/committer-candidate-guidelines.md",
"new_path": "docs/committer-candidate-guidelines.md",
"diff": "@@ -5,79 +5,46 @@ layout: documentation\n# Apache Mesos Committer Candidate Guidelines\n-This document contains categories of contributions and behaviors re... | C++ | Apache License 2.0 | apache/mesos | Updated committer candidate guidelines.
Review: https://reviews.apache.org/r/67841 |
46,056 | 16.10.2018 12:09:22 | -7,200 | 10748f877343608366a8b2279b954a4caed52eb2 | Referenced committer candidate template in guidelines. | [
{
"change_type": "MODIFY",
"old_path": "docs/committer-candidate-guidelines.md",
"new_path": "docs/committer-candidate-guidelines.md",
"diff": "@@ -13,6 +13,10 @@ diverse committer profiles. But some categories are always crucial to have\ncovered, e.g., writing high quality source code and performin... | C++ | Apache License 2.0 | apache/mesos | Referenced committer candidate template in guidelines. |
46,056 | 13.08.2018 20:05:26 | -7,200 | 6ab80da5b2770a96802f7893ac092d6c8a92a824 | Added 'received' timestamp into `process::Request`.
This allows us to note when a request comes in and
hence calculate request processing time.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/http.hpp",
"new_path": "3rdparty/libprocess/include/process/http.hpp",
"diff": "#include <boost/functional/hash.hpp>\n#include <process/address.hpp>\n+#include <process/clock.hpp>\n#include <process/future.hpp>\n#include <pr... | C++ | Apache License 2.0 | apache/mesos | Added 'received' timestamp into `process::Request`.
This allows us to note when a request comes in and
hence calculate request processing time.
Review: https://reviews.apache.org/r/68992 |
46,172 | 16.10.2018 08:26:51 | 14,400 | e5532167c91ebabaa3add336a787f8192af59ec3 | Added Record-IO encoder and decoder to Python library.
This code was pulled directly from:
7fd55421939a7782c237e2b8719c0fe2f543acd7/
python/lib/dcos/dcos/recordio.py
7fd55421939a7782c237e2b8719c0fe2f543acd7/
python/lib/dcos/tests/test_recordio.py
It will be used by the new CLI for commands such as `task exec`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/python/lib/mesos/__init__.py",
"new_path": "src/python/lib/mesos/__init__.py",
"diff": "@@ -20,6 +20,7 @@ Client library for the Mesos HTTP ReST API\n__version__ = '0.0.0.dev'\n-__all__ = ['exceptions', 'http']\n+__all__ = ['exceptions', 'http', 'recordio'... | C++ | Apache License 2.0 | apache/mesos | Added Record-IO encoder and decoder to Python library.
This code was pulled directly from:
https://github.com/dcos/dcos-core-cli/blob/
7fd55421939a7782c237e2b8719c0fe2f543acd7/
python/lib/dcos/dcos/recordio.py
https://github.com/dcos/dcos-core-cli/blob/
7fd55421939a7782c237e2b8719c0fe2f543acd7/
... |
46,165 | 16.10.2018 11:53:53 | 25,200 | 6c9801e924708f213f8ea3d509206cc54e1eca4e | Added a test to ensure UUID size, variant, version.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/uuid_tests.cpp",
"new_path": "3rdparty/stout/tests/uuid_tests.cpp",
"diff": "@@ -57,6 +57,16 @@ TEST(UUIDTest, Test)\n}\n+TEST(UUIDTest, Metadata)\n+{\n+ UUID uuid = UUID::random();\n+\n+ EXPECT_EQ(16u, uuid.size());\n+ EXPECT_EQ(UUID::var... | C++ | Apache License 2.0 | apache/mesos | Added a test to ensure UUID size, variant, version.
Review: https://reviews.apache.org/r/69052 |
46,165 | 16.10.2018 11:54:25 | 25,200 | 5b8f632e75d3c20be172c1678c04f77ae18cda1a | Documented that UUID is a 128 bits (or 16 bytes).
This came up when James DeFelice was asking about the number
of bytes in this message. We should document it.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -2285,7 +2285,7 @@ message TaskResourceLimitation {\n/**\n- * Describes a UUID.\n+ * A 128 bit (16 byte) UUID, see RFC 4122.\n*/\nmessage UUID {\nrequired bytes value = 1;\n"
},... | C++ | Apache License 2.0 | apache/mesos | Documented that UUID is a 128 bits (or 16 bytes).
This came up when James DeFelice was asking about the number
of bytes in this message. We should document it.
Review: https://reviews.apache.org/r/69053 |
46,172 | 17.10.2018 07:07:59 | 14,400 | e9dc09516f2becad5e746c2410997ba9658eca70 | Added `get_container_id` to util functions for the new CLI.
In a future commit, this function will be used by the `TaskIO` object to
know which container to use in order to run `task attach` and `task
exec.`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/python/cli_new/lib/cli/mesos.py",
"new_path": "src/python/cli_new/lib/cli/mesos.py",
"diff": "@@ -63,6 +63,35 @@ def get_agents(master):\nreturn data[key]\n+def get_container_id(task):\n+ \"\"\"\n+ Get the container ID of a task.\n+ \"\"\"\n+\n+ if 'status... | C++ | Apache License 2.0 | apache/mesos | Added `get_container_id` to util functions for the new CLI.
In a future commit, this function will be used by the `TaskIO` object to
know which container to use in order to run `task attach` and `task
exec.`.
Review: https://reviews.apache.org/r/69007/ |
46,129 | 17.10.2018 00:58:55 | 25,200 | f9627b90521292add41432d15b4c12e036f94ca7 | Fixed the FreeBSD MACRO as '__FreeBSD__' in posix/pipe.hpp.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/posix/pipe.hpp",
"new_path": "3rdparty/stout/include/stout/os/posix/pipe.hpp",
"diff": "@@ -35,7 +35,7 @@ inline Try<std::array<int, 2>> pipe()\nstd::array<int, 2> result;\n// The pipe2() function appeared in FreeBSD 10.0.\n-#if... | C++ | Apache License 2.0 | apache/mesos | Fixed the FreeBSD MACRO as '__FreeBSD__' in posix/pipe.hpp.
Review: https://reviews.apache.org/r/69059 |
46,148 | 17.10.2018 18:37:22 | 25,200 | 138f7ed25a08fa1602763e01616c3d29439912c4 | Pulled out nested `Framework` and `Slave` classes in the allocator.
This makes clearer logic division with the allocator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -132,7 +132,7 @@ private:\n};\n-HierarchicalAllocatorProcess::Framework::Framework(\n+Framework::Framework(\nconst FrameworkInfo& frameworkInfo... | C++ | Apache License 2.0 | apache/mesos | Pulled out nested `Framework` and `Slave` classes in the allocator.
This makes clearer logic division with the allocator.
Review: https://reviews.apache.org/r/68507/ |
46,055 | 19.10.2018 10:06:16 | -28,800 | 9df18f03a105403ee8744b173372809471da9edd | Added to the 1.4.3 CHANGELOG and updated upgrades.md. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -1380,6 +1380,7 @@ Release Notes - Mesos - Version 1.4.3 (WIP)\n* [MESOS-9151] - Container stuck at ISOLATING due to FD leak.\n* [MESOS-9170] - Zookeeper doesn't compile with newer gcc due to format error.\n* [M... | C++ | Apache License 2.0 | apache/mesos | Added MESOS-9231 to the 1.4.3 CHANGELOG and updated upgrades.md. |
46,057 | 17.10.2018 22:46:54 | -7,200 | e8c5a6cc9ff34b1cced2e12416ceff0a499f89e3 | Disabled warnings-as-errors for cares build.
Attempting to build Mesos with default flags using gcc 8
failed because the third-party dependency `cares`, which
is bundled with `grpc`, was adding `-Werror` to its default
compiler flags, which triggered on two new warning that
gcc gained.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/Makefile.am",
"new_path": "3rdparty/Makefile.am",
"diff": "@@ -447,6 +447,9 @@ $(LIB_GRPC): $(GRPC)-build-stamp\n# flags, which will be overwritten by the command line. See:\n# https://www.gnu.org/software/make/manual/html_node/Target_002dspecific.htm... | C++ | Apache License 2.0 | apache/mesos | Disabled warnings-as-errors for cares build.
Attempting to build Mesos with default flags using gcc 8
failed because the third-party dependency `cares`, which
is bundled with `grpc`, was adding `-Werror` to its default
compiler flags, which triggered on two new warning that
gcc gained.
Review: https://reviews.apache.... |
46,103 | 18.10.2018 09:33:35 | -7,200 | 341593dd3fd242310e7f48975d22607d706bfc76 | Relaxed `Promise` constructor and assignment operator requirements.
This patch enables construction and assignment from rvalues for
`Promise` values.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/future.hpp",
"new_path": "3rdparty/libprocess/include/process/future.hpp",
"diff": "@@ -707,7 +707,12 @@ public:\nexplicit Promise(const T& t);\nvirtual ~Promise();\n- Promise(Promise<T>&& that);\n+ // Not copyable, not assi... | C++ | Apache License 2.0 | apache/mesos | Relaxed `Promise` constructor and assignment operator requirements.
This patch enables construction and assignment from rvalues for
`Promise` values.
Review: https://reviews.apache.org/r/69041/ |
46,103 | 18.10.2018 09:33:39 | -7,200 | 790a04abc6521f003b07ee4882100ede1eec14d2 | Enabled more constructors for master `RegistryOperation`.
Since this class was explicitly declaring a constructor, no other
constructors such as copy or move constructors were generated.
This patch removes the custom constructor so all default constructors
are generated automatically. This e.g., enables move constructi... | [
{
"change_type": "MODIFY",
"old_path": "src/master/registrar.hpp",
"new_path": "src/master/registrar.hpp",
"diff": "@@ -45,9 +45,6 @@ class RegistrarProcess;\nclass RegistryOperation : public process::Promise<bool>\n{\npublic:\n- RegistryOperation() : success(false) {}\n- ~RegistryOperation() overri... | C++ | Apache License 2.0 | apache/mesos | Enabled more constructors for master `RegistryOperation`.
Since this class was explicitly declaring a constructor, no other
constructors such as copy or move constructors were generated.
This patch removes the custom constructor so all default constructors
are generated automatically. This e.g., enables move construc... |
46,103 | 19.10.2018 09:29:45 | -7,200 | ba3c1596cf1e95b4f3aa2f8b16d5c461b0936ac1 | Reordered method declarations. | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/future.hpp",
"new_path": "3rdparty/libprocess/include/process/future.hpp",
"diff": "@@ -704,15 +704,16 @@ class Promise\n{\npublic:\nPromise();\n- explicit Promise(const T& t);\nvirtual ~Promise();\n- // Not copyable, not as... | C++ | Apache License 2.0 | apache/mesos | Reordered method declarations. |
46,148 | 19.10.2018 16:40:07 | 25,200 | 3bc6cfa5188ec527922e9324958722ff75b11166 | Optimized resources filter operation.
Currently, `Resources::filter()` operation uses `add()` which
scans the resources vector, a O(n) operation. This is not
necessary. `filter()` operation should only remove `Resource`
entries. This patch optimizes the performance by directly
`push_back` the resource to the vector wit... | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources.cpp",
"new_path": "src/common/resources.cpp",
"diff": "@@ -1548,13 +1548,16 @@ Resources Resources::filter(\nconst lambda::function<bool(const Resource&)>& predicate) const\n{\nResources result;\n+ result.resourcesNoMutationWithoutExclusiv... | C++ | Apache License 2.0 | apache/mesos | Optimized resources filter operation.
Currently, `Resources::filter()` operation uses `add()` which
scans the resources vector, a O(n) operation. This is not
necessary. `filter()` operation should only remove `Resource`
entries. This patch optimizes the performance by directly
`push_back` the resource to the vector wi... |
46,129 | 19.10.2018 16:46:33 | 25,200 | ab4715e3fafbfe20597f7bbecfd757b9d826751b | Prepared 1.5.2 release CHANGELOG. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -794,7 +794,7 @@ All Resolved Issues:\n* [MESOS-8291] - Add documentation about fault domains\n-Release Notes - Mesos - Version 1.5.2 (WIP)\n+Release Notes - Mesos - Version 1.5.2\n------------------------------... | C++ | Apache License 2.0 | apache/mesos | Prepared 1.5.2 release CHANGELOG. |
46,108 | 20.10.2018 05:27:31 | 14,400 | 28bff37977f18976e75786fad987faf11b96f91a | Fixed formatting in subcommand help in the new CLI.
Previously, there was some weird formatting with extra newlines when
providing multi-line 'long_help' strings or extra flags to the
subcommands. This commit fixes that.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/python/cli_new/lib/cli/util.py",
"new_path": "src/python/cli_new/lib/cli/util.py",
"diff": "@@ -143,7 +143,7 @@ def format_subcommands_help(cmd):\narguments = \" \".join(cmd[\"arguments\"])\nshort_help = cmd[\"short_help\"]\nlong_help = textwrap.dedent(cmd... | C++ | Apache License 2.0 | apache/mesos | Fixed formatting in subcommand help in the new CLI.
Previously, there was some weird formatting with extra newlines when
providing multi-line 'long_help' strings or extra flags to the
subcommands. This commit fixes that.
Review: https://reviews.apache.org/r/69104 |
46,172 | 22.10.2018 10:13:33 | 14,400 | 4624823deb37df5469e1d1e548945985b59a8a73 | Added new CLI constants 'TEST_DIRECTORY' and 'TEST_DATA_DIRECTORY'.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/python/cli_new/lib/cli/tests/constants.py",
"new_path": "src/python/cli_new/lib/cli/tests/constants.py",
"diff": "A collection of constants useful for the CLI unit tests.\n\"\"\"\n+import os\n+\n+\nTEST_MASTER_IP = \"127.0.0.1\"\nTEST_MASTER_PORT = \"9090\... | C++ | Apache License 2.0 | apache/mesos | Added new CLI constants 'TEST_DIRECTORY' and 'TEST_DATA_DIRECTORY'.
Review: https://reviews.apache.org/r/69119/ |
46,172 | 22.10.2018 10:18:29 | 14,400 | 06e5a3abe0f6241a06ca89ac6071b58556a9f07b | Added non-interactive test for 'task exec'.
Review: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/python/cli_new/lib/cli/tests/data/lorem-ipsum.txt",
"diff": "+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque\n+sodales, mauris vitae fringilla facilisis, ligula libero fringilla\n+ligula, a ornare sem metus at est. Sed... | C++ | Apache License 2.0 | apache/mesos | Added non-interactive test for 'task exec'.
Review: https://reviews.apache.org/r/69049/ |
46,074 | 25.10.2018 07:58:31 | 25,200 | 91f45ee495aedb86a838f0b77efbc5c6150eb04f | Refactor allocator configuration into a struct.
There has been a proliferation of configuration passed into
the allocator. This commit collects that configuration into
an `Options` struct. Test fixes have been added as well.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/allocator/allocator.hpp",
"new_path": "include/mesos/allocator/allocator.hpp",
"diff": "namespace mesos {\nnamespace allocator {\n+/**\n+ * Pass in configuration to the allocator.\n+ */\n+struct Options\n+{\n+ Duration allocationInterval = Second... | C++ | Apache License 2.0 | apache/mesos | Refactor allocator configuration into a struct.
There has been a proliferation of configuration passed into
the allocator. This commit collects that configuration into
an `Options` struct. Test fixes have been added as well.
Review: https://reviews.apache.org/r/68953/ |
46,074 | 25.10.2018 08:00:44 | 25,200 | 5a0a36fbd8ba16aa14915cd2273efb1eb96fba7f | Add documentation for per-framework metrics flag.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration/master.md",
"new_path": "docs/configuration/master.md",
"diff": "@@ -465,6 +465,17 @@ If not set, offers do not timeout.\n</td>\n</tr>\n+<tr id=\"publish_per_framework_metrics\">\n+ <td>\n+ --[no-]publish_per_framework_metrics\n+ </td>\n+ <t... | C++ | Apache License 2.0 | apache/mesos | Add documentation for per-framework metrics flag.
Review: https://reviews.apache.org/r/68957/ |
46,125 | 25.10.2018 08:58:04 | 25,200 | 686d7b704132b0113ba4320d246a7e743cd0347f | Fixed some spelling in the libprocess documentation.
Fix "Disarding a Future" -> "Discarding a Future".
This closes | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/README.md",
"new_path": "3rdparty/libprocess/README.md",
"diff": "@@ -103,7 +103,7 @@ The following table is meant to capture these transitions:\nWe use the macros `CHECK_PENDING()`, `CHECK_READY()`, `CHECK_FAILED()`, `CHECK_DISCARDED()` th... | C++ | Apache License 2.0 | apache/mesos | Fixed some spelling in the libprocess documentation.
Fix "Disarding a Future" -> "Discarding a Future".
This closes #315. |
46,210 | 26.10.2018 22:54:20 | -7,200 | e012f308cd8feff9b24fba19fab0886f0154b16d | Added example framework for inverse-offers.
Adds an example framework displaying how to handle inverse offers.
This example is based on the original review request
by Joseph Wu.
Some changes were applied adding framework authentication
capabilites, updated PullGauge metrics and other minor adaptations
following the oth... | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -2275,6 +2275,11 @@ balloon_executor_SOURCES = examples/balloon_executor.cpp\nballoon_executor_CPPFLAGS = $(MESOS_CPPFLAGS)\nballoon_executor_LDADD = libmesos.la $(LDADD)\n+check_PROGRAMS += inverse-... | C++ | Apache License 2.0 | apache/mesos | Added example framework for inverse-offers.
Adds an example framework displaying how to handle inverse offers.
This example is based on the original review request
https://reviews.apache.org/r/50010/ by Joseph Wu.
Some changes were applied adding framework authentication
capabilites, updated PullGauge metrics and othe... |
46,148 | 26.10.2018 15:19:27 | 25,200 | 15b78fa5f4bd0968ecf168c32e8b6bbb0e822688 | Fixed flaky test `SchedulerHttpApiTest.UpdatePidToHttpScheduler`.
The test was flaky due to a race between scheduler driver stopping
during test teardown and the scheduler `error()` invocation.
Adding the missing synchronization for the expectation should
eliminate the race.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/scheduler_http_api_tests.cpp",
"new_path": "src/tests/scheduler_http_api_tests.cpp",
"diff": "@@ -501,7 +501,9 @@ TEST_P(SchedulerHttpApiTest, UpdatePidToHttpScheduler)\nFuture<FrameworkErrorMessage> errorMessage =\nFUTURE_PROTOBUF(FrameworkErrorMess... | C++ | Apache License 2.0 | apache/mesos | Fixed flaky test `SchedulerHttpApiTest.UpdatePidToHttpScheduler`.
The test was flaky due to a race between scheduler driver stopping
during test teardown and the scheduler `error()` invocation.
Adding the missing synchronization for the expectation should
eliminate the race.
Review: https://reviews.apache.org/r/69176... |
46,148 | 26.10.2018 16:32:04 | 25,200 | c7bd85ae62824c77697ecaf55c8de5cf16788e3e | Fixed test `MasterTestPrePostReservationRefinement.LaunchGroup`.
Added a missing scheduler acknowledgment call so that both
expected task status updates can be delivered (instead of just one).
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_tests.cpp",
"new_path": "src/tests/master_tests.cpp",
"diff": "@@ -9559,10 +9559,26 @@ TEST_P(MasterTestPrePostReservationRefinement, LaunchGroup)\nv1::TaskGroupInfo taskGroup;\ntaskGroup.add_tasks()->CopyFrom(taskInfo);\n+ testing::Sequence u... | C++ | Apache License 2.0 | apache/mesos | Fixed test `MasterTestPrePostReservationRefinement.LaunchGroup`.
Added a missing scheduler acknowledgment call so that both
expected task status updates can be delivered (instead of just one).
Review: https://reviews.apache.org/r/69178/ |
46,188 | 27.10.2018 11:47:06 | 25,200 | 20ed47b839b2713912b02770a381a9e000b52ea8 | Updated Mesos-mini scripts.
This patch fixed some issues in the Mesos-mini build scripts and adapted
to the new centos Docker build workflow. | [
{
"change_type": "MODIFY",
"old_path": "support/mesos-mini/Dockerfile",
"new_path": "support/mesos-mini/Dockerfile",
"diff": "-FROM mesos/mesos-centos\n+ARG BASE_IMAGE_NAME\n+\n+FROM $BASE_IMAGE_NAME\nRUN yum install -y java-1.8.0-openjdk iptables\n"
},
{
"change_type": "MODIFY",
"old_pa... | C++ | Apache License 2.0 | apache/mesos | Updated Mesos-mini scripts.
This patch fixed some issues in the Mesos-mini build scripts and adapted
to the new centos Docker build workflow. |
46,188 | 27.10.2018 11:48:08 | 25,200 | e8602b6a2c816aac2853ea10e28fcf5e36879076 | Updated Jenkins Docker Centos script.
To adapt to the new Docker Centos build pipeline. | [
{
"change_type": "MODIFY",
"old_path": "support/jenkins/docker-centos.sh",
"new_path": "support/jenkins/docker-centos.sh",
"diff": "@@ -8,26 +8,32 @@ set -o errexit -o nounset -o pipefail -o verbose\nCURRENT_DIR=\"$(cd \"$(dirname \"$0\")\"; pwd -P)\"\nSUPPORT_DIR=\"${CURRENT_DIR}/..\"\n-: ${USERNAM... | C++ | Apache License 2.0 | apache/mesos | Updated Jenkins Docker Centos script.
To adapt to the new Docker Centos build pipeline. |
46,188 | 27.10.2018 13:03:41 | 25,200 | 8583c5e44536dacc60225d5662ac63151466f6d7 | Updated Jenkins Mesos mini script.
To adapt to the new Docker Centos build pipeline. | [
{
"change_type": "MODIFY",
"old_path": "support/jenkins/mini.sh",
"new_path": "support/jenkins/mini.sh",
"diff": "@@ -5,41 +5,34 @@ set -o errexit -o nounset -o pipefail -o verbose\nCURRENT_DIR=\"$(cd \"$(dirname \"$0\")\"; pwd -P)\"\nSUPPORT_DIR=\"${CURRENT_DIR}/..\"\n-: ${USERNAME:?\"Environment v... | C++ | Apache License 2.0 | apache/mesos | Updated Jenkins Mesos mini script.
To adapt to the new Docker Centos build pipeline. |
46,188 | 27.10.2018 19:39:53 | 25,200 | 3fc568e2592a5623722563a9d6dba37f94390b7a | Added Jenkinsfile for docker centos. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "support/jenkins/Jenkinsfile-docker-centos",
"diff": "+#!groovy\n+\n+if (env.NODE_LABELS == null) {\n+ env.NODE_LABELS = \"(ubuntu)&&(!ubuntu-us1)&&(!ubuntu-eu2)&&(!qnode3)&&(!H23)\"\n+}\n+\n+node(env.NODE_LABELS) {\n+ checkout scm\n+\n+ withCred... | C++ | Apache License 2.0 | apache/mesos | Added Jenkinsfile for docker centos. |
46,188 | 27.10.2018 19:53:53 | 25,200 | 1ef77b767a0fed8a7d63c524167bd23311ef2601 | Fixed a typo in Docker centos Jenkinsfile. | [
{
"change_type": "MODIFY",
"old_path": "support/jenkins/Jenkinsfile-docker-centos",
"new_path": "support/jenkins/Jenkinsfile-docker-centos",
"diff": "@@ -9,7 +9,7 @@ node(env.NODE_LABELS) {\nwithCredentials([[\n$class: 'UsernamePasswordMultiBinding',\n- credentialsId: 'mesos-docker-bot'\n+ credentia... | C++ | Apache License 2.0 | apache/mesos | Fixed a typo in Docker centos Jenkinsfile. |
46,188 | 27.10.2018 20:20:45 | 25,200 | 4e4e6b93e0df5aa19e166fd107b6e01db999e4f5 | Added Jenkinsfile for Mesos mini. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "support/jenkins/Jenkinsfile-mini",
"diff": "+#!groovy\n+\n+if (env.NODE_LABELS == null) {\n+ env.NODE_LABELS = \"(ubuntu)&&(!ubuntu-us1)&&(!ubuntu-eu2)&&(!qnode3)&&(!H23)\"\n+}\n+\n+node(env.NODE_LABELS) {\n+ checkout scm\n+\n+ withCredentials([... | C++ | Apache License 2.0 | apache/mesos | Added Jenkinsfile for Mesos mini. |
46,188 | 27.10.2018 21:00:16 | 25,200 | 2a27b473b996a28eebda639f2f4dc3e00c15a4bb | Added Jenkinsfile for building RPMs. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "support/jenkins/Jenkinsfile-packaging-centos",
"diff": "+#!groovy\n+\n+if (env.NODE_LABELS == null) {\n+ env.NODE_LABELS = \"(ubuntu)&&(!ubuntu-us1)&&(!ubuntu-eu2)&&(!qnode3)&&(!H23)\"\n+}\n+\n+parallel(\n+ centos7: {\n+ node(env.NODE_LABELS) {\... | C++ | Apache License 2.0 | apache/mesos | Added Jenkinsfile for building RPMs. |
46,107 | 27.10.2018 21:12:21 | 25,200 | e3dc53946d999d212f305ddc6bbcc08cd27bd0b6 | Created cgroup recursively when calling prepare on containers.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/cgroups/cgroups.cpp",
"diff": "@@ -438,7 +438,8 @@ Future<Option<ContainerLaunchInfo>> CgroupsIsolatorProcess::prepare(\nTry<Nothing> create = cg... | C++ | Apache License 2.0 | apache/mesos | Created cgroup recursively when calling prepare on containers.
Review: https://reviews.apache.org/r/68986/ |
46,188 | 27.10.2018 22:19:32 | 25,200 | dd87797e88763677e45f4b7ad5f52438cd81cc83 | Used a better default for RPM builder docker image name. | [
{
"change_type": "MODIFY",
"old_path": "support/packaging/centos/build-docker-rpmbuild.sh",
"new_path": "support/packaging/centos/build-docker-rpmbuild.sh",
"diff": "@@ -8,7 +8,7 @@ set -o errexit -o nounset -o pipefail -o verbose\nCENTOS_DIR=\"$(cd \"$(dirname \"$0\")\"; pwd -P)\"\nCENTOS_DISTRO=${... | C++ | Apache License 2.0 | apache/mesos | Used a better default for RPM builder docker image name. |
46,188 | 27.10.2018 22:20:15 | 25,200 | 8d7c7c9ffef65c01182a4370fd4a1f32ac3ada3d | Removed CentOS6 build from Jenkins pipeline.
Due to the deprecation of devtoolset-3-gcc:
This does not build anymore. Disable it from the pipeline for the moment
while we're figuring out if we want to continue support it or not. | [
{
"change_type": "MODIFY",
"old_path": "support/jenkins/Jenkinsfile-packaging-centos",
"new_path": "support/jenkins/Jenkinsfile-packaging-centos",
"diff": "@@ -11,15 +11,6 @@ parallel(\nsh(\"CENTOS_DISTRO=7 support/packaging/centos/build-rpm-docker.sh\")\n- archiveArtifacts(artifacts: '**/*.rpm', fi... | C++ | Apache License 2.0 | apache/mesos | Removed CentOS6 build from Jenkins pipeline.
Due to the deprecation of devtoolset-3-gcc:
https://www.centos.org/forums/viewtopic.php?f=14&t=67978
This does not build anymore. Disable it from the pipeline for the moment
while we're figuring out if we want to continue support it or not. |
46,188 | 28.10.2018 21:10:12 | 25,200 | 6bd17fa7020f9b0fb7846fbb4df9866bd2c3b610 | Fixed RPM build issue for CentOS 6.
Switched to use devtoolset-7 because devtoolset-3 has been deprecated
and the metadata has been removed from the repository. | [
{
"change_type": "MODIFY",
"old_path": "support/packaging/centos/build_rpm.sh",
"new_path": "support/packaging/centos/build_rpm.sh",
"diff": "@@ -16,7 +16,7 @@ cp ${PACKAGING_DIR}/common/* $HOME/rpmbuild/SOURCES\ncp ${PACKAGING_DIR}/centos/mesos.spec $HOME/rpmbuild/SPECS\nif [ \"$CENTOS_VERSION\" = ... | C++ | Apache License 2.0 | apache/mesos | Fixed RPM build issue for CentOS 6.
Switched to use devtoolset-7 because devtoolset-3 has been deprecated
and the metadata has been removed from the repository. |
46,188 | 28.10.2018 21:11:29 | 25,200 | 48e316d0e9dff01124f292814a4eec5fb1b1568d | Added centos6 RPM build to Jenkins pipeline. | [
{
"change_type": "MODIFY",
"old_path": "support/jenkins/Jenkinsfile-packaging-centos",
"new_path": "support/jenkins/Jenkinsfile-packaging-centos",
"diff": "@@ -11,6 +11,15 @@ parallel(\nsh(\"CENTOS_DISTRO=7 support/packaging/centos/build-rpm-docker.sh\")\n+ archiveArtifacts(artifacts: '**/*.rpm', fi... | C++ | Apache License 2.0 | apache/mesos | Added centos6 RPM build to Jenkins pipeline. |
46,128 | 29.10.2018 10:59:25 | 25,200 | d8466a8a0a7d84d997f4c20b5631fadee7110b94 | Added task health check definitions to master API responses.
The `Task` protobuf message is updated to include the health check
definition of a task when it is specified. Associated helpers are
also updated along with tests which verify that this field is
reflected in master API responses.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -2165,8 +2165,8 @@ message TaskGroupInfo {\n* 1) we need additional IDs, such as a specific\n* framework, executor, or agent; or\n* 2) we do not need the additional data, such as ... | C++ | Apache License 2.0 | apache/mesos | Added task health check definitions to master API responses.
The `Task` protobuf message is updated to include the health check
definition of a task when it is specified. Associated helpers are
also updated along with tests which verify that this field is
reflected in master API responses.
Review: https://reviews.apa... |
46,177 | 29.10.2018 13:16:18 | 25,200 | ab91b1c34e3e3c079d8fb0ce62e913c010e6c066 | Marked some functions with 'override'.
These functions are marked by the mesos-tidy rule
'modernize-use-override'. | [
{
"change_type": "MODIFY",
"old_path": "src/examples/inverse_offer_framework.cpp",
"new_path": "src/examples/inverse_offer_framework.cpp",
"diff": "@@ -107,10 +107,10 @@ public:\nstart_time = Clock::now();\n}\n- ~InverseOfferScheduler() {}\n+ ~InverseOfferScheduler() override {}\nprotected:\n- virtu... | C++ | Apache License 2.0 | apache/mesos | Marked some functions with 'override'.
These functions are marked by the mesos-tidy rule
'modernize-use-override'. |
46,148 | 29.10.2018 14:02:41 | 25,200 | 8b3d0bd25b5d120d5fce5b0aed39be03df26bc63 | Added Meng Zhu to the committer list.
See summary. | [
{
"change_type": "MODIFY",
"old_path": "docs/committers.md",
"new_path": "docs/committers.md",
"diff": "@@ -352,6 +352,13 @@ canonical list is located on\n<td></td>\n<td>qianzhang@apache.org</td>\n</tr>\n+ <tr>\n+ <td>-8</td>\n+ <td>Meng Zhu</td>\n+ <td>Mesosphere</td>\n+ <td></td>\n+ <td>mzhu@apach... | C++ | Apache License 2.0 | apache/mesos | Added Meng Zhu to the committer list.
See summary. |
46,148 | 26.10.2018 10:26:26 | 25,200 | 90dd6c3f3bbe705d4f843c563f292bf8808af93e | Added filters info to the `DECLINE` call log message.
This helps to investigate allocator allocation decisions
without verbose logging.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -5870,7 +5870,8 @@ void Master::decline(\nCHECK_NOTNULL(framework);\nLOG(INFO) << \"Processing DECLINE call for offers: \" << decline.offer_ids()\n- << \" for framework \" << *framework;\... | C++ | Apache License 2.0 | apache/mesos | Added filters info to the `DECLINE` call log message.
This helps to investigate allocator allocation decisions
without verbose logging.
Review: https://reviews.apache.org/r/69193 |
46,148 | 12.10.2018 17:37:00 | 25,200 | dc8f085cf85431cb3c5b52e04f19713d0f7b48b5 | Fixed a typo in the allocator benchmark. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/hierarchical_allocator_benchmarks.cpp",
"new_path": "src/tests/hierarchical_allocator_benchmarks.cpp",
"diff": "@@ -67,7 +67,7 @@ namespace mesos {\nnamespace internal {\nnamespace tests {\n-// TODO(kapil): Add support for per-framework-profile cofig... | C++ | Apache License 2.0 | apache/mesos | Fixed a typo in the allocator benchmark. |
46,148 | 21.09.2018 16:11:52 | 25,200 | 81564b81fce7efd422c142166e2f27ccc168516c | Fixed a typo in `slave.cpp`.
See summary.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -1292,7 +1292,7 @@ void Slave::detected(const Future<Option<MasterInfo>>& _master)\n// Wait for a random amount of time before authentication or\n// registration.\n//\n- // TODO(mzhu): Specia... | C++ | Apache License 2.0 | apache/mesos | Fixed a typo in `slave.cpp`.
See summary.
Review: https://reviews.apache.org/r/68809 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.