author
int64
658
755k
date
stringlengths
19
19
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
list
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
46,055
18.06.2018 23:23:29
25,200
f4729e3ebe9e5ad51a500ef348d9e1ea584eb424
Added `windows/cpu` and `windows/mem` isolators into `agent.md`. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -1027,13 +1027,14 @@ containers running on the host network.\n--isolation=VALUE\n</td>\n<td>\n-Isolation mechanisms to use, e.g., <code>posix/cpu,posix/mem</code>, or\n+Isolat...
C++
Apache License 2.0
apache/mesos
Added `windows/cpu` and `windows/mem` isolators into `agent.md`. Review: https://reviews.apache.org/r/67335/
46,055
18.06.2018 23:23:37
25,200
bb670f161e4c022988b6d00ea3bd11b10aa28236
Added `cgroups/all` into the agent flag `--isolation`. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -1032,9 +1032,12 @@ Isolation mechanisms to use, e.g., <code>posix/cpu,posix/mem</code> (or\n<code>cgroups/cpu,cgroups/mem</code>, or <code>network/port_mapping</code>\n(confi...
C++
Apache License 2.0
apache/mesos
Added `cgroups/all` into the agent flag `--isolation`. Review: https://reviews.apache.org/r/67342/
46,055
18.06.2018 23:23:47
25,200
b8a1c083083994743d224c33155761cc82a20f8b
Automatically loaded all the local enabled cgroups subsystems. When `cgroups/all` is specified in the agent flag `--isolation`, we will automatically load all the local enabled cgroups subsystems in the cgroups isolator. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -382,6 +382,7 @@ Try<MesosContainerizer*> MesosContainerizer::create(\n#endif // __WINDOWS__\n#ifdef __linux__\n+ {\"cgroups/all\", &Cg...
C++
Apache License 2.0
apache/mesos
Automatically loaded all the local enabled cgroups subsystems. When `cgroups/all` is specified in the agent flag `--isolation`, we will automatically load all the local enabled cgroups subsystems in the cgroups isolator. Review: https://reviews.apache.org/r/67343/
46,055
18.06.2018 23:23:52
25,200
3150de7069dbb82d8a5b3e9dc993e11aa9cd2c29
Added a test `CgroupsIsolatorTest.ROOT_CGROUPS_AutoLoadSubsystems`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "diff": "using mesos::internal::master::Master;\n+using mesos::internal::slave::CGROUP_SUBSYSTEM_BLKIO_NAME;\nusing mesos::internal::slave::C...
C++
Apache License 2.0
apache/mesos
Added a test `CgroupsIsolatorTest.ROOT_CGROUPS_AutoLoadSubsystems`. Review: https://reviews.apache.org/r/67358/
46,055
18.06.2018 23:23:56
25,200
00ce78bd7074c343df52a212ff77baf31d20b4c1
Added `cgroups/all` into CHANGELOG and upgrades.md. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -2,6 +2,12 @@ Release Notes - Mesos - Version 1.7.0 (WIP)\n-------------------------------------------\nThis release contains the following new features:\n+ * [MESOS-7691] - Added a new option `cgroups/all` to t...
C++
Apache License 2.0
apache/mesos
Added `cgroups/all` into CHANGELOG and upgrades.md. Review: https://reviews.apache.org/r/67381/
46,131
18.06.2018 23:55:26
25,200
c11918fbf9fea92bd5fec0ecf8d8dcefd2376894
Added Cai ShuHua to the contributor list. Review:
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: bmerry\nreviewboard_user: bmerry\n+- name: Cai ShuHua\n+ affiliations:\n+ - {organization: asiainfo}\n+ emails:\n+ - caishuhua916@163.com\n+ jira_user: caishuhua916\n+ reviewboa...
C++
Apache License 2.0
apache/mesos
Added Cai ShuHua to the contributor list. Review: https://reviews.apache.org/r/67558/
46,127
19.06.2018 00:01:27
25,200
d46bd330f8c17b2dc0305432a2a2134b425811a0
Fixed a potential unsafe access to Container struct. This patch adds guard to the Container struct in docker containerizer. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/docker.cpp", "new_path": "src/slave/containerizer/docker.cpp", "diff": "@@ -1380,6 +1380,11 @@ Future<Docker::Container> DockerContainerizerProcess::launchExecutorContainer(\nreturn Failure(\"Container is already destroyed\");\n}\n+ if ...
C++
Apache License 2.0
apache/mesos
Fixed a potential unsafe access to Container struct. This patch adds guard to the Container struct in docker containerizer. Review: https://reviews.apache.org/r/67585/
46,129
19.06.2018 11:36:12
25,200
bc3944c511a3727a976efed47b9d5cb1a0ca6610
Removed some debugging codes that were committed by mistake. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetcher.cpp", "new_path": "src/uri/fetcher.cpp", "diff": "@@ -108,9 +108,6 @@ Future<Nothing> Fetcher::fetch(\nconst string& directory,\nconst Option<string>& data) const\n{\n- foreachkey (const string& key, pluginsByScheme) {\n- std::cout << \"!!!: \"...
C++
Apache License 2.0
apache/mesos
Removed some debugging codes that were committed by mistake. Review: https://reviews.apache.org/r/67655
46,114
19.06.2018 14:15:23
25,200
4ea9c7f964e38af789b75edbc8dc8d86116cb8d9
Fixed Autotools `cd 3rdparty/stout && make tests` build. Building `stout-tests` without having first built the default targets was broken for two reasons: it was lacking the dependency required to build the bundled `libarchive`, and it was lacking the dependency required to generate the test `protobuf` sources. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/Makefile.am", "new_path": "3rdparty/stout/Makefile.am", "diff": "@@ -101,6 +101,8 @@ PICOJSON_INCLUDE_FLAGS = \\\nif WITH_BUNDLED_LIBARCHIVE\nLIBARCHIVE_INCLUDE_FLAGS = -I$(LIBARCHIVE)/libarchive\nLIB_LIBARCHIVE = $(LIBARCHIVE)/.libs/libarchive....
C++
Apache License 2.0
apache/mesos
Fixed Autotools `cd 3rdparty/stout && make tests` build. Building `stout-tests` without having first built the default targets was broken for two reasons: it was lacking the dependency required to build the bundled `libarchive`, and it was lacking the dependency required to generate the test `protobuf` sources. Revie...
46,148
20.06.2018 16:59:54
25,200
b0888195edf50fa8cf986525300dfd4f9420d812
Fixed a bug in `createStrippedScalarQuantity()`. This patch fixes `createStrippedScalarQuantity()` by stripping the revocable field in resources. Also added a test. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/resources.cpp", "new_path": "src/common/resources.cpp", "diff": "@@ -1646,6 +1646,7 @@ Resources Resources::createStrippedScalarQuantity() const\nscalar.clear_disk();\nscalar.clear_shared();\n+ scalar.clear_revocable();\nstripped.add(scalar);\n}\n}\...
C++
Apache License 2.0
apache/mesos
Fixed a bug in `createStrippedScalarQuantity()`. This patch fixes `createStrippedScalarQuantity()` by stripping the revocable field in resources. Also added a test. Review: https://reviews.apache.org/r/67510/
46,148
20.06.2018 16:59:58
25,200
c3709616e75ab540b0bba45a5096e2d90fe6c133
Added a resource utility `isScalarQuantity`. `isScalarQuantity()` checks if a `Resources` object is a "pure" scalar quantity; i.e., its resources only have name, type (set to scalar) and scalar fields set. Also added tests. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -324,6 +324,11 @@ public:\n// Tests if the given Resource object is shared.\nstatic bool isShared(const Resource& resource);\n+ // Tests if the given Resources object is a \"p...
C++
Apache License 2.0
apache/mesos
Added a resource utility `isScalarQuantity`. `isScalarQuantity()` checks if a `Resources` object is a "pure" scalar quantity; i.e., its resources only have name, type (set to scalar) and scalar fields set. Also added tests. Review: https://reviews.apache.org/r/67516/
46,148
20.06.2018 17:00:18
25,200
79547292b58eafe1fbfacce4844533a677084bbe
Added a test to verify the `min_allocatable_resources` flag. This test verifies that the allocator honors the `min_allocatable_resources` flag and only offers resources that contain at least one of the specified resource quantities. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_allocator_tests.cpp", "new_path": "src/tests/master_allocator_tests.cpp", "diff": "@@ -1235,6 +1235,111 @@ TYPED_TEST(MasterAllocatorTest, MemoryOnlyOfferedAndTaskLaunched)\n}\n+// This test verifies that the allocator honors the `min_allocata...
C++
Apache License 2.0
apache/mesos
Added a test to verify the `min_allocatable_resources` flag. This test verifies that the allocator honors the `min_allocatable_resources` flag and only offers resources that contain at least one of the specified resource quantities. Review: https://reviews.apache.org/r/67517/
46,111
20.06.2018 10:24:42
25,200
68d96ad76f9b26217fa7e0bc19f9177398e85e21
Added an hourly timer for `containerizer/docker/image_pull`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/docker.cpp", "new_path": "src/slave/containerizer/docker.cpp", "diff": "@@ -445,10 +445,10 @@ Future<Nothing> DockerContainerizerProcess::pull(\nstring image = container->image();\n- Future<Docker::Image> future = docker->pull(\n+ Futur...
C++
Apache License 2.0
apache/mesos
Added an hourly timer for `containerizer/docker/image_pull`. Review: https://reviews.apache.org/r/53105/
46,111
20.06.2018 10:24:46
25,200
8f425c0d69fe996ed2c6fbcbd28b258bf4f3bb19
Added an hourly timer for docker store pull latency. This patch added pull latency tracking for docker store, which can tell us both latency distribution of pull as well as number of pulls. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/docker/store.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/docker/store.cpp", "diff": "#include <process/dispatch.hpp>\n#include <process/executor.hpp>\n#include <process/id.hpp>\n-#include <process/metr...
C++
Apache License 2.0
apache/mesos
Added an hourly timer for docker store pull latency. This patch added pull latency tracking for docker store, which can tell us both latency distribution of pull as well as number of pulls. Review: https://reviews.apache.org/r/66875/
46,111
20.06.2018 13:24:08
25,200
528b763aae3bf26358776404d8c0ca37621374e4
Added doc for new pull latency metrics. Review:
[ { "change_type": "MODIFY", "old_path": "docs/monitoring.md", "new_path": "docs/monitoring.md", "diff": "@@ -1765,6 +1765,157 @@ the master it is registered with.\n</tr>\n</table>\n+#### Containerizers\n+\n+The following metrics provide information about both Mesos and Docker\n+containerizers.\n+\n+<...
C++
Apache License 2.0
apache/mesos
Added doc for new pull latency metrics. Review: https://reviews.apache.org/r/67677
46,138
20.06.2018 16:27:07
25,200
00e5f1b667abf15d5c5a1d32feb2669663e073e3
Added Xiang Chaosheng to the contributors list. Review:
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: wrouesnel\nreviewboard_user: wrouesnel\n+- name: Xiang Chaosheng\n+ affiliations:\n+ - {organization: ChinaUnicom}\n+ emails:\n+ - xiangcs@chinaunicom.cn\n+ jira_user: zhanrox\n...
C++
Apache License 2.0
apache/mesos
Added Xiang Chaosheng to the contributors list. Review: https://reviews.apache.org/r/67553/
46,101
21.06.2018 11:58:14
25,200
c545bbfa584d303956f3d8b4075680d3d4c9995e
Added a length validation for container IDs. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/constants.hpp", "new_path": "src/slave/constants.hpp", "diff": "@@ -85,6 +85,10 @@ constexpr size_t MAX_COMPLETED_FRAMEWORKS = 50;\n// to store in memory.\nconstexpr size_t DEFAULT_MAX_COMPLETED_EXECUTORS_PER_FRAMEWORK = 150;\n+// Maximum number of a...
C++
Apache License 2.0
apache/mesos
Added a length validation for container IDs. Review: https://reviews.apache.org/r/67616/
46,200
21.06.2018 11:58:31
25,200
62959cf4e40d309e807ff0ecce921fa10cbcf33b
Added DaoTan Cui to the contributors list. Review:
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: dpravat\nreviewboard_user: dpravat\n+- name: DaoTan Cui\n+ affiliations:\n+ - {organization: Asiainfo}\n+ emails:\n+ - cuidt@outlook.com\n+ jira_user: cuidt\n+ reviewboard_user:...
C++
Apache License 2.0
apache/mesos
Added DaoTan Cui to the contributors list. Review: https://reviews.apache.org/r/67609/
46,170
21.06.2018 12:02:23
25,200
84664f11635160f8a8434421670111b54a7cfe88
Fixed an issue where agent may fail to recover. Fixed an issue where agent may fail to recover if the agent dies before image store cache to the checkpoint. when images file is empty, ignore it and continue. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/provisioner/docker/metadata_manager.cpp", "new_path": "src/slave/containerizer/mesos/provisioner/docker/metadata_manager.cpp", "diff": "@@ -265,7 +265,9 @@ Future<Nothing> MetadataManagerProcess::recover()\nif (images.isNone()) {\...
C++
Apache License 2.0
apache/mesos
Fixed an issue where agent may fail to recover. Fixed an issue where agent may fail to recover if the agent dies before image store cache to the checkpoint. when images file is empty, ignore it and continue. Review: https://reviews.apache.org/r/67597/
46,106
21.06.2018 12:42:36
25,200
0e8e5d2e9def178c6be87812d942336def312275
Improved the accuracy of a failure message in docker fetcher plugin. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetchers/docker.cpp", "new_path": "src/uri/fetchers/docker.cpp", "diff": "@@ -870,6 +870,11 @@ Future<http::Headers> DockerFetcherPluginProcess::getAuthHeader(\n});\n}\n+ if (authScheme == \"BASIC\"){\n+ return Failure(\n+ \"Unexpected BASIC Authorizat...
C++
Apache License 2.0
apache/mesos
Improved the accuracy of a failure message in docker fetcher plugin. Review: https://reviews.apache.org/r/67591/
46,100
21.06.2018 22:39:56
18,000
4e7e3670e12e95a3e5aa060a0afd957fa0e80919
Added Dutch and Belgium Mesos Users Group. This closes
[ { "change_type": "MODIFY", "old_path": "site/source/community/user-groups.html.md", "new_path": "site/source/community/user-groups.html.md", "diff": "@@ -9,6 +9,9 @@ Mesos User Groups (MUGs) are responsible for organizing local meetups, hackathon\n## Local Groups\n+### Belgium\n+* [Belgian Mesos Use...
C++
Apache License 2.0
apache/mesos
Added Dutch and Belgium Mesos Users Group. This closes #298
46,055
22.06.2018 16:19:48
-28,800
8ec5943a8c192f3edac4f3a7740b59156a2db042
Fixed a typo in the CNI isolator.
[ { "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": "@@ -423,7 +423,7 @@ Future<Nothing> NetworkCniIsolatorProcess::recover(\nTry<Nothing> recover = _recover(container...
C++
Apache License 2.0
apache/mesos
Fixed a typo in the CNI isolator.
46,188
24.06.2018 21:15:25
25,200
3228db4ac21299ccd14e25fb5738c3d890b6b0da
Supported tag build for Mesos mini jenkins script.
[ { "change_type": "MODIFY", "old_path": "support/jenkins/mini.sh", "new_path": "support/jenkins/mini.sh", "diff": "@@ -8,10 +8,22 @@ SUPPORT_DIR=\"${CURRENT_DIR}/..\"\n: ${USERNAME:?\"Environment variable 'USERNAME' must be set to the username of the 'Mesos DockerBot' Docker hub account.\"}\n: ${PASS...
C++
Apache License 2.0
apache/mesos
Supported tag build for Mesos mini jenkins script.
46,057
25.06.2018 10:14:51
-7,200
d22a3d7015567de11b3e96a5a686e65dea04aca1
Fixed formatting in libprocess `README`. The table columns were misaligned due to missing whitespace. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/README.md", "new_path": "3rdparty/libprocess/README.md", "diff": "@@ -86,7 +86,7 @@ You can also add a callback to be invoked when (or if) a transition occurs (or h\nThe following table is meant to capture these transitions:\n| Transition |...
C++
Apache License 2.0
apache/mesos
Fixed formatting in libprocess `README`. The table columns were misaligned due to missing whitespace. Review: https://reviews.apache.org/r/67719/
46,103
25.06.2018 14:01:52
25,200
004fb5fa27c2992b11a2fa51a8ec5a3f3de404db
Added two tests to the stout CMake build. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/CMakeLists.txt", "new_path": "3rdparty/stout/tests/CMakeLists.txt", "diff": "# STOUT TESTS.\n##############\nset(STOUT_ROOT_TESTS_SRC\n+ adaptor_tests.cpp\narchiver_tests.cpp\nbase64_tests.cpp\nbits_tests.cpp\n+ boundedhashmap_tests.cpp\nb...
C++
Apache License 2.0
apache/mesos
Added two tests to the stout CMake build. Review: https://reviews.apache.org/r/67709/
46,055
25.06.2018 14:39:31
25,200
eb61bbcccc3f076d02b1726bfdaa247a22980eea
Allowed mounts if the container is launched in a new mount namespace. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/launch.cpp", "new_path": "src/slave/containerizer/mesos/launch.cpp", "diff": "@@ -708,12 +708,6 @@ int MesosContainerizerLaunch::execute()\n// If we need a new mount namespace, we have to do it before\n// we make the mounts needed...
C++
Apache License 2.0
apache/mesos
Allowed mounts if the container is launched in a new mount namespace. Review: https://reviews.apache.org/r/67662/
46,055
25.06.2018 14:39:36
25,200
ae90054f6d8fcd7387bac26a4caa458e4ddb597c
Added container-specific cgroup FS mounts. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/executor.cpp", "new_path": "src/launcher/executor.cpp", "diff": "@@ -111,6 +111,8 @@ using mesos::Environment;\nusing mesos::executor::Call;\nusing mesos::executor::Event;\n+using mesos::slave::ContainerLaunchInfo;\n+\nusing mesos::v1::executor::M...
C++
Apache License 2.0
apache/mesos
Added container-specific cgroup FS mounts. Review: https://reviews.apache.org/r/67526/
46,055
25.06.2018 14:39:40
25,200
7616c4caec9d1bbb9f2ac645971244b55d2b9f42
Added a test `ROOT_CGROUPS_NestedContainerSpecificCgroupsMount`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "diff": "@@ -1903,6 +1903,112 @@ TEST_F(CgroupsIsolatorTest, ROOT_CGROUPS_AutoLoadSubsystems)\ndriver.join();\n}\n+\n+// This test verifies c...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_CGROUPS_NestedContainerSpecificCgroupsMount`. Review: https://reviews.apache.org/r/67564/
46,055
25.06.2018 14:39:44
25,200
5feaad6f35f2e278c30d30716a71650dca4735c6
Added a test `ROOT_CGROUPS_CommandTaskSpecificCgroupsMount`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "diff": "@@ -2009,6 +2009,78 @@ TEST_F(CgroupsIsolatorTest, ROOT_CGROUPS_NestedContainerSpecificCgroupsMount)\nASSERT_EQ(taskInfo.task_id(), ...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_CGROUPS_CommandTaskSpecificCgroupsMount`. Review: https://reviews.apache.org/r/67565/
46,055
25.06.2018 14:39:48
25,200
00b688815be6f3d429b2035e7e926a56f00fd18b
Removed an unused member variable `hierarchies` from cgroups isolator. 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": "@@ -60,11 +60,9 @@ namespace slave {\nCgroupsIsolatorProcess::CgroupsIsolatorProcess(\nconst Flags& _flags,\n- con...
C++
Apache License 2.0
apache/mesos
Removed an unused member variable `hierarchies` from cgroups isolator. Review: https://reviews.apache.org/r/67673/
46,103
26.06.2018 00:54:09
-7,200
4cdb0f37693388764fdfc611cec4e6c7e50d0eb0
Made sure all configured shell script outputs are executable. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -76,66 +76,125 @@ AC_CONFIG_FILES([3rdparty/stout/Makefile])\nAC_CONFIG_FILES([3rdparty/stout/include/Makefile])\nAC_CONFIG_FILES([3rdparty/gmock_sources.cc])\n-AC_CONFIG_FILES([bin/mesos.sh], [chmod +x bi...
C++
Apache License 2.0
apache/mesos
Made sure all configured shell script outputs are executable. Review: https://reviews.apache.org/r/67603/
46,210
26.06.2018 09:08:45
-7,200
9407d54686cf5ee632a6bd8328e1e68655824e9f
Allow for unbundled libevent cmake builds. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -509,6 +509,7 @@ if (ENABLE_LIBEVENT)\n# libevent: An event notification library.\n# http://libevent.org/\n##########################################\n+ if (NOT UNBUNDLED_LIBEVENT)\nE...
C++
Apache License 2.0
apache/mesos
Allow for unbundled libevent cmake builds. Review: https://reviews.apache.org/r/67606/
46,057
26.06.2018 13:56:18
-7,200
4520541fb8453181e26424e7aa8b8513c175d6cb
Removed `PICOJSON_USE_INT64` from libprocess build system. It is no longer necessary, since the macro is now set directly within `stout/json.hpp`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/Makefile.am", "new_path": "3rdparty/libprocess/Makefile.am", "diff": "@@ -157,9 +157,7 @@ LIB_EV = -lev\nendif\nendif\n-PICOJSON_INCLUDE_FLAGS = \\\n- -DPICOJSON_USE_INT64 \\\n- -D__STDC_FORMAT_MACROS\n+PICOJSON_INCLUDE_FLAGS = -D__STDC_FOR...
C++
Apache License 2.0
apache/mesos
Removed `PICOJSON_USE_INT64` from libprocess build system. It is no longer necessary, since the macro is now set directly within `stout/json.hpp`. Review: https://reviews.apache.org/r/67633/
46,057
26.06.2018 13:56:23
-7,200
784825b33d9230a898a221ec5baed62f9c34dd44
Removed `PICOJSON_USE_INT64` from Mesos build system. It is no longer necessary, since the macro is now defined directly within `stout/json.hpp`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -414,14 +414,12 @@ add_library(picojson INTERFACE)\nadd_dependencies(picojson ${PICOJSON_TARGET})\ntarget_include_directories(picojson INTERFACE ${PICOJSON_ROOT})\n-# Enable the INT64...
C++
Apache License 2.0
apache/mesos
Removed `PICOJSON_USE_INT64` from Mesos build system. It is no longer necessary, since the macro is now defined directly within `stout/json.hpp`. Review: https://reviews.apache.org/r/67634/
46,188
25.06.2018 22:35:34
25,200
018695b88a6ada5e90cae966f9cc4696d4612984
Updated CNI slave recovery test. Updated the test so that it can catch regression described in This test fails without the fix for and passes after the fix. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "@@ -505,6 +505,33 @@ TEST_F(CniIsolatorTest, ROOT_FailedPlugin)\n// kill the task and then verify we can receive TASK_KILLED for the task.\n...
C++
Apache License 2.0
apache/mesos
Updated CNI slave recovery test. Updated the test so that it can catch regression described in MESOS-9025. This test fails without the fix for MESOS-9025 and passes after the fix. Review: https://reviews.apache.org/r/67737
46,103
26.06.2018 11:16:09
25,200
b648f6987a39d0f1911ebf39e005584b10042866
Renamed APR and SVN `find_package` implementations. Upstream follows a convention of using ALL UPERCASE letters for package names for implementations of `FindPACKAGE.cmake`. This patch renames our `find_package` implementations fro APR and SVN. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -640,7 +640,7 @@ if (WIN32)\nURL ${LIBAPR_URL}\nURL_HASH ${LIBAPR_HASH})\nelse ()\n- find_package(Apr REQUIRED)\n+ find_package(APR REQUIRED)\nadd_library(apr SHARED IMPORTED)\nset_ta...
C++
Apache License 2.0
apache/mesos
Renamed APR and SVN `find_package` implementations. Upstream follows a convention of using ALL UPERCASE letters for package names for implementations of `FindPACKAGE.cmake`. This patch renames our `find_package` implementations fro APR and SVN. Review: https://reviews.apache.org/r/67738/
46,128
26.06.2018 14:31:52
25,200
33545929719dc00c77dea1e455bd050aeed83044
Updated the CHANGELOG for the 1.6.1 release.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -21,12 +21,20 @@ Additional API Changes:\n* `Isolator::recover` interface has been changed to take an `std::vector`\ninstead of `std::list`.\n-Release Notes - Mesos - Version 1.6.1 (WIP)\n+\n+Release Notes - Mes...
C++
Apache License 2.0
apache/mesos
Updated the CHANGELOG for the 1.6.1 release.
46,103
26.06.2018 15:10:02
25,200
c0488797eaacbf6c07cb79235d1174718d933a2c
Added a support script to check for files missing in CMake. This compares the sources listed in the Autotools and CMake build files, and emits the difference. We use this to check if the builds have diverged, and how to reconcile that divergence. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "support/check-cmake-missing-files.sh", "diff": "+#!/bin/sh\n+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distributed with this work for additional information\n...
C++
Apache License 2.0
apache/mesos
Added a support script to check for files missing in CMake. This compares the sources listed in the Autotools and CMake build files, and emits the difference. We use this to check if the builds have diverged, and how to reconcile that divergence. Review: https://reviews.apache.org/r/67707/
46,114
26.06.2018 16:00:07
25,200
2e913d5450bac149f9e93fafd83de3239b58f38c
Added to 1.6.1 and 1.5.2 in CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -32,6 +32,7 @@ Release Notes - Mesos - Version 1.6.1\n* This is a bug fix release.\n** Bug\n+ * [MESOS-3790] - ZooKeeper connection should retry on `EAI_NONAME`.\n* [MESOS-8106] - Docker fetcher plugin unsupport...
C++
Apache License 2.0
apache/mesos
Added MESOS-3790 to 1.6.1 and 1.5.2 in CHANGELOG.
46,055
26.06.2018 23:16:36
25,200
b581136bd5d28ea74e410c7a57ac10d05c334b5b
Made `gpu/nvidia` isolator works with `cgroups/all` isolation option. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/gpu/isolator.cpp", "new_path": "src/slave/containerizer/mesos/isolators/gpu/isolator.cpp", "diff": "@@ -102,20 +102,45 @@ Try<Isolator*> NvidiaGpuIsolatorProcess::create(\nconst Flags& flags,\nconst NvidiaComponents& com...
C++
Apache License 2.0
apache/mesos
Made `gpu/nvidia` isolator works with `cgroups/all` isolation option. Review: https://reviews.apache.org/r/67743/
46,148
26.06.2018 09:18:17
25,200
35f35977407195dd776f57c4f7632c4618a7fa03
Fixed flaky test `MasterAPITest.SubscribersReceiveHealthUpdates`. This patch fixes the flaky test by explicitly killing the task before test tear-down, avoiding the race condition between scheduler tear-down and scheduler getting/acknowledging a status update. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -2504,6 +2504,16 @@ TEST_P(MasterAPITest, SubscribersReceiveHealthUpdates)\nASSERT_TRUE(taskHealthUpdateObserved)\n<< \"Health update for task '\" << task.task_id()\n<< \"' has not be...
C++
Apache License 2.0
apache/mesos
Fixed flaky test `MasterAPITest.SubscribersReceiveHealthUpdates`. This patch fixes the flaky test by explicitly killing the task before test tear-down, avoiding the race condition between scheduler tear-down and scheduler getting/acknowledging a status update. Review: https://reviews.apache.org/r/67681/
46,128
27.06.2018 14:30:28
25,200
f6f35a88bd152fe3db2a1156619be6d1c02575d5
Fixed a typo in the agent flags and related docs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -624,8 +624,8 @@ either be a Docker registry server url (i.e: <code>https://registry.docker.io</c\nor a source that Docker image archives (result of <code>docker save</code>) ...
C++
Apache License 2.0
apache/mesos
Fixed a typo in the agent flags and related docs. Review: https://reviews.apache.org/r/67764/
46,090
27.06.2018 14:30:11
25,200
f7f1c45739443109b9451472578746d21f7cef99
Windows: Made socket `int_fd` castable to `HANDLE` type. Many Win32 functions that take in `HANDLE` also work on `SOCKET`, such as `ReadFile` or `CreateIoCompletionPort`. IOCP on Windows uses the `HANDLE` type uniformly, so we need to be able to convert socket `int_fd` to `HANDLE`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/fd.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/fd.hpp", "diff": "@@ -153,7 +153,15 @@ public:\noperator HANDLE() const\n{\n- CHECK_EQ(Type::HANDLE, type());\n+ // A `SOCKET` can be treated as a regular fil...
C++
Apache License 2.0
apache/mesos
Windows: Made socket `int_fd` castable to `HANDLE` type. Many Win32 functions that take in `HANDLE` also work on `SOCKET`, such as `ReadFile` or `CreateIoCompletionPort`. IOCP on Windows uses the `HANDLE` type uniformly, so we need to be able to convert socket `int_fd` to `HANDLE`. Review: https://reviews.apache.org/...
46,090
27.06.2018 14:30:13
25,200
379e56b86c8cd40a04a7e7c55b3b993747f77e1c
Changed use of `os::nonblock` to `io::prepare_async`. Due to the previous patch, instances that use `os::nonblock` before sending the file descriptor to the async IO functions now need to use `io::prepare_async`. Review:
[ { "change_type": "MODIFY", "old_path": "src/files/files.cpp", "new_path": "src/files/files.cpp", "diff": "@@ -711,10 +711,10 @@ Future<Try<tuple<size_t, string>, FilesError>> FilesProcess::_read(\nreturn FilesError(FilesError::Type::UNKNOWN, error);\n}\n- Try<Nothing> nonblock = os::nonblock(fd.get(...
C++
Apache License 2.0
apache/mesos
Changed use of `os::nonblock` to `io::prepare_async`. Due to the previous patch, instances that use `os::nonblock` before sending the file descriptor to the async IO functions now need to use `io::prepare_async`. Review: https://reviews.apache.org/r/67387/
46,090
27.06.2018 14:30:15
25,200
bfeda6b5f8686db1eaba566510bba813081852f4
Windows: Implemented Windows IOCP async backend. The Windows IOCP async backend, called libwinio, provides a single threaded event loop implementation that allows for async IO and timer events. This library wraps the native Win32 async functions using libprocess's primitives, which makes it easier to use and more type ...
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/CMakeLists.txt", "new_path": "3rdparty/libprocess/src/CMakeLists.txt", "diff": "@@ -52,7 +52,8 @@ set(PROCESS_SRC\nif (WIN32)\nlist(APPEND PROCESS_SRC\n- windows/subprocess.cpp)\n+ windows/subprocess.cpp\n+ windows/libwinio.cpp) # TEMPO...
C++
Apache License 2.0
apache/mesos
Windows: Implemented Windows IOCP async backend. The Windows IOCP async backend, called libwinio, provides a single threaded event loop implementation that allows for async IO and timer events. This library wraps the native Win32 async functions using libprocess's primitives, which makes it easier to use and more type...
46,090
27.06.2018 14:30:15
25,200
184338e0992c3599a53e8e481a89a5b73e543e79
Windows: Added `windows_to_unix_epoch` function. There are a couple of places where we need to convert a Windows absolute time (epoch at 01/01/1601) to a UNIX absolute time (epoch at 01/01/1970). So, a function has been added to handle it. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/stat.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/stat.hpp", "diff": "#include <stout/os/int_fd.hpp>\n+#include <stout/windows/os.hpp>\n+\n#include <stout/internal/windows/attributes.hpp>\n#include <stout/i...
C++
Apache License 2.0
apache/mesos
Windows: Added `windows_to_unix_epoch` function. There are a couple of places where we need to convert a Windows absolute time (epoch at 01/01/1601) to a UNIX absolute time (epoch at 01/01/1970). So, a function has been added to handle it. Review: https://reviews.apache.org/r/67685/
46,090
27.06.2018 14:30:16
25,200
5fd78dfe162b8d8dff65d52feb44326de81472d2
Windows: Integrated libwinio with libprocess code. The libprocess event loops are used to implement the `EventLoop`, `SocketImpl`, and `io::read/write` interfaces. Thus, by providing those implementations using libwinio, libprocess now supports the libwinio backend. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "3rdparty/libprocess/src/windows/event_loop.cpp", "diff": "+// Licensed under the Apache License, Version 2.0 (the \"License\");\n+// you may not use this file except in compliance with the License.\n+// You may obtain a copy of the License at\n+...
C++
Apache License 2.0
apache/mesos
Windows: Integrated libwinio with libprocess code. The libprocess event loops are used to implement the `EventLoop`, `SocketImpl`, and `io::read/write` interfaces. Thus, by providing those implementations using libwinio, libprocess now supports the libwinio backend. Review: https://reviews.apache.org/r/67390/
46,090
27.06.2018 15:01:10
25,200
e2cba0eb9126753f0b079932ee69effdd3c5a04a
Added Windows IOCP backend to libprocess's CMake build. With the CMake option `ENABLE_LIBWINIO`, we can now conditionally turn on the Windows IOCP backend for libprocess.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/io.hpp", "new_path": "3rdparty/libprocess/include/process/io.hpp", "diff": "namespace process {\nnamespace io {\n+#ifndef ENABLE_LIBWINIO\n/**\n* A possible event while polling.\n*\n@@ -37,6 +38,7 @@ const short READ = 0x01;...
C++
Apache License 2.0
apache/mesos
Added Windows IOCP backend to libprocess's CMake build. With the CMake option `ENABLE_LIBWINIO`, we can now conditionally turn on the Windows IOCP backend for libprocess.
46,090
27.06.2018 14:30:17
25,200
a906645522807ecc0322707026e22d78bb82e7ac
Windows: Made `PipeLargeOutput` test work with IOCP backend. The `PipeLargeOutput` test was calling `io::read`, which was returning the wrong error since it operates at a higher level abstraction. The test really just checks if a pipe EOF returns `ERROR_BROKEN_PIPE`, so the test was changed to use the lower level `os::...
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/subprocess_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/subprocess_tests.cpp", "diff": "@@ -380,7 +380,9 @@ TEST_F(SubprocessTest, PipeLargeOutput)\n::SetLastError(0);\n#endif // __WINDOWS__\n- AWAIT_EXPECT_EQ(output, io...
C++
Apache License 2.0
apache/mesos
Windows: Made `PipeLargeOutput` test work with IOCP backend. The `PipeLargeOutput` test was calling `io::read`, which was returning the wrong error since it operates at a higher level abstraction. The test really just checks if a pipe EOF returns `ERROR_BROKEN_PIPE`, so the test was changed to use the lower level `os:...
46,090
27.06.2018 14:30:18
25,200
11f8b6db9575d22c0ce221dcf19b7181dfc05b0d
Windows: Ported `io_tests.cpp`. With the IOCP backened implemented, `io_tests.cpp` is now ported to Windows. Since the tests require async pipe IO, the tests are only run if libprocess is compiled with the IOCP backened. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/CMakeLists.txt", "new_path": "3rdparty/libprocess/src/tests/CMakeLists.txt", "diff": "@@ -48,6 +48,9 @@ if (NOT WIN32)\nlist(APPEND PROCESS_TESTS_SRC\nio_tests.cpp\nreap_tests.cpp)\n+elseif (ENABLE_LIBWINIO)\n+ list(APPEND PROCESS...
C++
Apache License 2.0
apache/mesos
Windows: Ported `io_tests.cpp`. With the IOCP backened implemented, `io_tests.cpp` is now ported to Windows. Since the tests require async pipe IO, the tests are only run if libprocess is compiled with the IOCP backened. Review: https://reviews.apache.org/r/67393/
46,090
27.06.2018 14:30:19
25,200
7c9c72dad2b343b2008b2d53bffbe6d0dd032b80
Windows: Ported `docker_containerizer_tests.cpp`. With some Docker bug fixes and the IOCP backend, the remaining Docker tests have been ported. The only remaining Docker tests that aren't ported are either due to limitations on Windows Containers or unimplemented features (e.g. persistent volume and hooks). Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/CMakeLists.txt", "new_path": "src/tests/CMakeLists.txt", "diff": "@@ -157,8 +157,13 @@ list(APPEND MESOS_TESTS_SRC\nlist(APPEND MESOS_TESTS_SRC\ncontainerizer/containerizer_tests.cpp\ncontainerizer/cpu_isolator_tests.cpp\n- containerizer/memory_isola...
C++
Apache License 2.0
apache/mesos
Windows: Ported `docker_containerizer_tests.cpp`. With some Docker bug fixes and the IOCP backend, the remaining Docker tests have been ported. The only remaining Docker tests that aren't ported are either due to limitations on Windows Containers or unimplemented features (e.g. persistent volume and hooks). Review: h...
46,148
28.06.2018 16:35:47
25,200
90c5c0b413af87dee6fd42d90f9145ebf9d9a173
Fixed flaky test `DefaultExecutorTest.SigkillExecutor`. Fixed flaky test `DefaultExecutorTest.SigkillExecutor` by setting action to ignore subsequent offer calls. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -1619,7 +1619,8 @@ TEST_P(DefaultExecutorTest, SigkillExecutor)\nFuture<v1::scheduler::Event::Offers> offers;\nEXPECT_CALL(*scheduler, offers(_, _))\n- .Will...
C++
Apache License 2.0
apache/mesos
Fixed flaky test `DefaultExecutorTest.SigkillExecutor`. Fixed flaky test `DefaultExecutorTest.SigkillExecutor` by setting action to ignore subsequent offer calls. Review: https://reviews.apache.org/r/67778/
46,103
29.06.2018 16:54:00
-7,200
9128994aa1275af251d60b357d711dfe127ce289
Removed unused variable. While this does not seem an issue for some compilers, e.g., clang-7.0.0 diagnoses the unused variable. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "new_path": "src/tests/containerizer/docker_containerizer_tests.cpp", "diff": "@@ -100,10 +100,8 @@ namespace tests {\n#ifdef __WINDOWS__\nstatic constexpr char DOCKER_INKY_IMAGE[] = \"akagup/inky\";\n-s...
C++
Apache License 2.0
apache/mesos
Removed unused variable. While this does not seem an issue for some compilers, e.g., clang-7.0.0 diagnoses the unused variable. Review: https://reviews.apache.org/r/67783/
46,114
29.06.2018 16:20:08
25,200
964a63bc46ad2c77719e9050bebd8aa5ac72180e
Updated Windows build documentation for `ENABLE_LIBWINIO`. This is now the recommended way to build Mesos on Windows, instead of using libevent, as it is buggy (and the latest enabled tests will fail with libevent due to those bugs).
[ { "change_type": "MODIFY", "old_path": "docs/windows.md", "new_path": "docs/windows.md", "diff": "@@ -31,9 +31,9 @@ Mesos 1.0.0 introduced experimental support for Windows.\n5. Make sure there are no spaces in your build directory.\nFor example, `C:/Program Files (x86)/mesos` is an invalid build dir...
C++
Apache License 2.0
apache/mesos
Updated Windows build documentation for `ENABLE_LIBWINIO`. This is now the recommended way to build Mesos on Windows, instead of using libevent, as it is buggy (and the latest enabled tests will fail with libevent due to those bugs).
46,148
29.06.2018 16:51:16
25,200
e16e4cd8a3fa35d347e6f96b428764b836979ebd
Added a dedicated benchmark for overlapping range resources. Also removed the current range benchmark which could produce misleading results for subtraction (See Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/resources_tests.cpp", "new_path": "src/tests/resources_tests.cpp", "diff": "@@ -3644,24 +3644,6 @@ public:\n}\nreservations.totalOperations = 10;\n- // Test the performance of ranges using a fragmented range of\n- // ports: [1-2,4-5,7-8,...,1000]. No...
C++
Apache License 2.0
apache/mesos
Added a dedicated benchmark for overlapping range resources. Also removed the current range benchmark which could produce misleading results for subtraction (See MESOS-8989). Review: https://reviews.apache.org/r/67590/
46,210
02.07.2018 00:22:34
-7,200
0da49ee9bf628ac663363f568175a7c98263baab
Fixed minor comment issues in module manager.hpp.
[ { "change_type": "MODIFY", "old_path": "src/module/manager.hpp", "new_path": "src/module/manager.hpp", "diff": "@@ -125,7 +125,7 @@ public:\n// std::vector<std::string> modules = ModuleManager::find<Hook>();\n//\n// Will return all of the module names for modules that implement\n- // the Isolator in...
C++
Apache License 2.0
apache/mesos
Fixed minor comment issues in module manager.hpp.
46,055
28.06.2018 16:11:31
-28,800
77aba9a27ab8aac30f54cea6e465269e9c083fb2
Made CNI isolator recovery waits until unknown orphan cleanup is done. 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": "@@ -403,6 +403,9 @@ Future<Nothing> NetworkCniIsolatorProcess::recover(\nrootDir.get() + \"': \" + entries.error()...
C++
Apache License 2.0
apache/mesos
Made CNI isolator recovery waits until unknown orphan cleanup is done. Review: https://reviews.apache.org/r/67769
46,055
01.07.2018 21:04:59
25,200
e811f960dc134c1d74dd23f0bf48b54b5106f198
Removed the isolators ordering check from `gpu/nvidia` isolator. We do not need to check the isolators ordering because we have made the order of built-in isolators fixed in Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/gpu/isolator.cpp", "new_path": "src/slave/containerizer/mesos/isolators/gpu/isolator.cpp", "diff": "@@ -102,8 +102,8 @@ Try<Isolator*> NvidiaGpuIsolatorProcess::create(\nconst Flags& flags,\nconst NvidiaComponents& compo...
C++
Apache License 2.0
apache/mesos
Removed the isolators ordering check from `gpu/nvidia` isolator. We do not need to check the isolators ordering because we have made the order of built-in isolators fixed in MESOS-7643. Review: https://reviews.apache.org/r/67767/
46,148
02.07.2018 15:42:33
25,200
47cdd5a7b6be977638071ec9fc3bc86264a29d1f
Removed redundant 'toUnreserved()' call in the allocator. This call is no longer necessary as the reservation metadata is now stripped by `createStrippedScalarQuantity`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -2459,8 +2459,7 @@ bool HierarchicalAllocatorProcess::allocatable(const Resources& resources)\nreturn true;\n}\n- // We remove the static reser...
C++
Apache License 2.0
apache/mesos
Removed redundant 'toUnreserved()' call in the allocator. This call is no longer necessary as the reservation metadata is now stripped by `createStrippedScalarQuantity`. Review: https://reviews.apache.org/r/67773/
46,165
03.07.2018 18:26:29
25,200
07dc7d29ba1b022cbc1d65af6562f36c551fcaea
Added documentation for performance profiling with perf/flamescope.
[ { "change_type": "MODIFY", "old_path": "docs/home.md", "new_path": "docs/home.md", "diff": "@@ -27,6 +27,7 @@ layout: documentation\n* [Operational Guide](operational-guide.md)\n* [Fetcher Cache Configuration](fetcher.md)\n* [Fault Domains](fault-domains.md)\n+* [Performance Profiling](performance-p...
C++
Apache License 2.0
apache/mesos
Added documentation for performance profiling with perf/flamescope.
46,172
04.07.2018 15:29:37
-7,200
f9bb153f0abbc0e33787002bfd0d4abacb5f8645
Refactored logic for `PYTHON` and `PYTHON_VERSION` in `configure.ac`. This will facilitate the introduction of `PYTHON_3` and `PYTHON_3_VERSION` to build the CLI in a future commit. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -761,7 +761,7 @@ AC_ARG_VAR([MAVEN_HOME], [looks for mvn at MAVEN_HOME/bin/mvn])\nAC_ARG_VAR([PROTOBUF_JAR], [full path to protobuf jar on prefixed builds])\n-AC_ARG_VAR([PYTHON], [which Python interpreter...
C++
Apache License 2.0
apache/mesos
Refactored logic for `PYTHON` and `PYTHON_VERSION` in `configure.ac`. This will facilitate the introduction of `PYTHON_3` and `PYTHON_3_VERSION` to build the CLI in a future commit. Review: https://reviews.apache.org/r/67413/
46,159
05.07.2018 15:19:50
25,200
ea38d7e03c029437bc655b598a33863f53e8e1ff
Fixed recover() virtual method signature in several isolators. Commit replaced std::list with std::vector in several places including the Isolator interface. However XfsDiskIsolatorProcess, PortMappingIsolatorProcess and NetworkPortsIsolatorProcess were not updated and because of that their recover() method became "dis...
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.cpp", "new_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.cpp", "diff": "@@ -2039,7 +2039,7 @@ Try<Isolator*> PortMappingIsolatorProcess::create(const Flags& flags)\nFuture<Noth...
C++
Apache License 2.0
apache/mesos
Fixed recover() virtual method signature in several isolators. Commit a52e5288ea94ec7d84f82c6c01c1ce3c7a3902db replaced std::list with std::vector in several places including the Isolator interface. However XfsDiskIsolatorProcess, PortMappingIsolatorProcess and NetworkPortsIsolatorProcess were not updated and because ...
46,159
05.07.2018 15:20:33
25,200
16455857ee00e98147d8cb9fb6f31b22554dfe52
Added override specifiers to virtual methods of several isolators. This is a follow-up change for disk/xfs, network/port_mapping and network/ports isolators to avoid problems with virtual method signatures in the future. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.hpp", "new_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.hpp", "diff": "@@ -149,32 +149,32 @@ class PortMappingIsolatorProcess : public MesosIsolatorProcess\npublic:\nstatic Tr...
C++
Apache License 2.0
apache/mesos
Added override specifiers to virtual methods of several isolators. This is a follow-up change for disk/xfs, network/port_mapping and network/ports isolators to avoid problems with virtual method signatures in the future. Review: https://reviews.apache.org/r/67821/
46,056
06.07.2018 09:46:51
-7,200
06a7d184d12fba579d309a8f09b53c808f194e0f
Removed a stale link to the libprocess video.
[ { "change_type": "MODIFY", "old_path": "docs/advanced-contribution.md", "new_path": "docs/advanced-contribution.md", "diff": "@@ -123,4 +123,4 @@ The following links provide additional guidance as you get started contributing\n## Core Libraries\n-There are two core libraries in Mesos: *stout* and *l...
C++
Apache License 2.0
apache/mesos
Removed a stale link to the libprocess video.
46,056
06.07.2018 09:50:41
-7,200
5f36029d61ed03a40d5bc2b07bba4dd5ea9f9cf0
Removed stale company affiliation from committers.md.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -50,21 +50,21 @@ We'd like to thank the following committers to the Apache Mesos project who have\n<tr>\n<td>-8</td>\n<td>Adam B</td>\n- <td>Mesosphere</td>\n+ <td></td>\n<td>adam-mesos</td>\n<...
C++
Apache License 2.0
apache/mesos
Removed stale company affiliation from committers.md.
46,056
06.07.2018 10:02:23
-7,200
10908df71fbadd75e42a9253168946ded069de3a
Formatted "committers.md" to wrap lines at 80 chars.
[ { "change_type": "MODIFY", "old_path": "docs/committers.md", "new_path": "docs/committers.md", "diff": "@@ -5,15 +5,31 @@ layout: documentation\n# Committers\n-An Apache Mesos committer is a contributor who has been given write access to the Apache Mesos code repository and related Apache infrastruc...
C++
Apache License 2.0
apache/mesos
Formatted "committers.md" to wrap lines at 80 chars.
46,055
06.07.2018 18:21:28
25,200
ab5a346fb9171e733396fae772a35d4dcef3abef
Documented the container-specific cgroups mounts feature. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -8,6 +8,9 @@ This release contains the following new features:\nin the agent flag `--isolation` along with other cgroups related\noptions (e.g., `cgroups/cpu`), those options will be just ignored.\n+ * [MESOS-83...
C++
Apache License 2.0
apache/mesos
Documented the container-specific cgroups mounts feature. Review: https://reviews.apache.org/r/67739/
46,068
25.06.2018 19:53:53
-7,200
81a7b5f687e0fc4b742cf484400e43c5fb56c58c
Fixed unproperly guarded future. This patch fixes a bug where the code path could cause a crash because of calling `Fture<T>::get()` on a future which is failed. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -9791,18 +9791,19 @@ void Master::_authenticate(\nconst UPID& pid,\nconst Future<Option<string>>& future)\n{\n- if (!future.isReady() || future->isNone()) {\n- const string& error = futur...
C++
Apache License 2.0
apache/mesos
Fixed unproperly guarded future. This patch fixes a bug where the code path could cause a crash because of calling `Fture<T>::get()` on a future which is failed. Review: https://reviews.apache.org/r/67722
46,107
09.07.2018 09:36:05
25,200
f0cb4d363c47811d22874a8735daa7a0525a7a45
Fixed a typo in fetcher.cpp. This closes
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/fetcher.cpp", "new_path": "src/slave/containerizer/fetcher.cpp", "diff": "@@ -585,7 +585,7 @@ Future<Nothing> FetcherProcess::__fetch(\nreturn future; // Always propagate the failure!\n})\n// Call to `operator` here forces the conversio...
C++
Apache License 2.0
apache/mesos
Fixed a typo in fetcher.cpp. This closes #300
46,114
09.07.2018 14:06:53
25,200
ac6952d68f35ff1abbde2e29222a84c6a977bb33
Added note about `3RDPARTY_DEPENDENCIES` use on Windows.
[ { "change_type": "MODIFY", "old_path": "docs/cmake.md", "new_path": "docs/cmake.md", "diff": "@@ -285,7 +285,8 @@ all dependencies are bundled with Mesos, this extra repository will no longer be\nnecessary. Until then, the CMake variable `3RDPARTY_DEPENDENCIES` points by\ndefault to this URL, but it...
C++
Apache License 2.0
apache/mesos
Added note about `3RDPARTY_DEPENDENCIES` use on Windows.
46,101
09.07.2018 14:55:16
25,200
28b375abd20af0851b99bf034ca683559ef233a0
Added Xiao Wei to the contributor list. This closes
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: xds2000\nreviewboard_user: xds2000\n+- name: Xiao Wei\n+ affiliations:\n+ - {organization: ChinaUnicom}\n+ emails:\n+ - xiaow10@chinaunicom.cn\n+ jira_user: xiaowei-cuc\n+ revie...
C++
Apache License 2.0
apache/mesos
Added Xiao Wei to the contributor list. This closes #296
46,103
10.07.2018 13:34:57
-7,200
4d907dc3953086bc75cbe0e3d574c6c1c128b9c3
Added filtering for `GET_OPERATIONS` calls. This patch adds filtering of operations reported for `GET_OPERATIONS` calls. A principal is allowed to view see all operations for which it is allowed to see the role of the underlying resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -3807,7 +3807,33 @@ Future<Response> Master::Http::getOperations(\n{\nCHECK_EQ(mesos::master::Call::GET_OPERATIONS, call.type());\n- // TODO(nfnt): Authorize this call (MESOS-8473).\n+ return...
C++
Apache License 2.0
apache/mesos
Added filtering for `GET_OPERATIONS` calls. This patch adds filtering of operations reported for `GET_OPERATIONS` calls. A principal is allowed to view see all operations for which it is allowed to see the role of the underlying resources. Review: https://reviews.apache.org/r/67693/
46,210
10.07.2018 19:33:58
-7,200
997e280b57232b5f9b12e0e9dfd0abfc9d6c1085
Updated apply-reviews.py messaging for submitted reviews. Review:
[ { "change_type": "MODIFY", "old_path": "support/apply-reviews.py", "new_path": "support/apply-reviews.py", "diff": "@@ -111,7 +111,8 @@ def review_chain(review_id):\nstatus = json_obj.get('review_request').get('status')\nif status == \"submitted\":\nsys.stderr.write('Warning: Review {review} has alr...
C++
Apache License 2.0
apache/mesos
Updated apply-reviews.py messaging for submitted reviews. Review: https://reviews.apache.org/r/67859/
46,172
11.07.2018 12:22:00
-7,200
14c68199cb0a35c8f5dc77472ba483a73ae88653
Updated Python virtual environment dependencies. Fixes the error message when running support/build-virtualenv: `npm WARN requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.`. Updates the PyInstaller dependency due to issues with PyInstaller 3.1.1 and Python 3.6. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/pip-requirements.txt", "new_path": "src/python/cli_new/pip-requirements.txt", "diff": "-astroid==1.4.8\n+astroid==1.6.5\nbackports.functools-lru-cache==1.2.1\nconfigparser==3.5.0\ndocopt==0.6.2\n@@ -8,9 +8,9 @@ lazy-object-proxy==1.2.2\nmcca...
C++
Apache License 2.0
apache/mesos
Updated Python virtual environment dependencies. Fixes the error message when running support/build-virtualenv: `npm WARN ajv-keywords@3.2.0 requires a peer of ajv@^6.0.0 but none is installed. You must install peer dependencies yourself.`. Updates the PyInstaller dependency due to issues with PyInstaller 3.1.1 and P...
46,165
11.07.2018 20:01:43
25,200
be2ee83663226e145ef323400edb3aeaa6fbe0a5
Removed embedded interfaces from the framework development guide. This replaces embedded interfaces in the document to links to the actual interfaces.
[ { "change_type": "MODIFY", "old_path": "docs/app-framework-development-guide.md", "new_path": "docs/app-framework-development-guide.md", "diff": "@@ -15,277 +15,28 @@ and Scala.\n## Create your Framework Scheduler\n+### API\nIf you are writing a scheduler against Mesos 1.0 or newer, it is recommende...
C++
Apache License 2.0
apache/mesos
Removed embedded interfaces from the framework development guide. This replaces embedded interfaces in the document to links to the actual interfaces.
46,103
12.07.2018 10:39:52
-7,200
cb06bd832974950deada0f711592f19e73678c2d
Updated site's sprockets package. This patch updates the site's `sprocket` gem to the latest upstream version. The patch was prepared with $ bundle update sprockets which updated `sprockets` and also pulls in a dependency on a newer `rack` package. Review:
[ { "change_type": "MODIFY", "old_path": "site/Gemfile.lock", "new_path": "site/Gemfile.lock", "diff": "@@ -105,7 +105,7 @@ GEM\ntilt (>= 1.4.1, < 3)\npadrino-support (0.12.9)\nactivesupport (>= 3.1)\n- rack (1.6.9)\n+ rack (1.6.10)\nrack-livereload (0.3.16)\nrack\nrack-test (0.8.3)\n@@ -118,7 +118,7 ...
C++
Apache License 2.0
apache/mesos
Updated site's sprockets package. This patch updates the site's `sprocket` gem to the latest upstream version. The patch was prepared with $ bundle update sprockets which updated `sprockets` and also pulls in a dependency on a newer `rack` package. Review: https://reviews.apache.org/r/67893/
46,128
09.07.2018 22:59:04
25,200
27ed91596b3f129891e1df6d7fde1b1140807d2a
Avoided implicit construction of a hashmap in the metrics. The master and agent metrics code was passing a 'std::map' into a continuation which accepted its parameter as a hashmap, leading to the implicit construction of an extra object. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -2158,7 +2158,7 @@ Future<Response> Master::Http::getMetrics(\n}\nreturn process::metrics::snapshot(timeout)\n- .then([contentType](const hashmap<string, double>& metrics) -> Response {\n+ .t...
C++
Apache License 2.0
apache/mesos
Avoided implicit construction of a hashmap in the metrics. The master and agent metrics code was passing a 'std::map' into a continuation which accepted its parameter as a hashmap, leading to the implicit construction of an extra object. Review: https://reviews.apache.org/r/67870
46,114
12.07.2018 13:29:43
25,200
133379439360d3ddaaff0e4f9c87b518af660bbc
Fixed compilation error with `DispatchProcess` code. Per and the benchmark test `ProcessTest.Process_BENCHMARK_DispatchDefer` had been disabled on Windows as the `DispatchProcess` class no longer compiled with `/permissive-` using the latest version of MSVC. The fix is thanks to PhoebeHui. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/benchmarks.cpp", "new_path": "3rdparty/libprocess/src/tests/benchmarks.cpp", "diff": "@@ -494,8 +494,6 @@ TEST(ProcessTest, Process_BENCHMARK_ThroughputPerformance)\n}\n-// TODO(andschwa): Turn this test back on when MESOS-8915 is...
C++
Apache License 2.0
apache/mesos
Fixed compilation error with `DispatchProcess` code. Per MESOS-8686 and MESOS-8915, the benchmark test `ProcessTest.Process_BENCHMARK_DispatchDefer` had been disabled on Windows as the `DispatchProcess` class no longer compiled with `/permissive-` using the latest version of MSVC. The fix is thanks to PhoebeHui. Revi...
46,172
13.07.2018 15:32:17
-7,200
ec87ab575e698c447477fc6bb957f8270aea8c3f
Updated tox usage in mesos-style.py to run directly from virtualenv. We were already doing this in the ptyhon2 mesos-style.py script. This commit adds the same support to the python3 version of the script. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-style.py", "new_path": "support/mesos-style.py", "diff": "@@ -378,8 +378,9 @@ class PyLinter(LinterBase):\nRuns tox with given configfile and args. Optionally set tox env\nand/or recreate the tox-managed virtualenv.\n\"\"\"\n- cmd = [os.path.join...
C++
Apache License 2.0
apache/mesos
Updated tox usage in mesos-style.py to run directly from virtualenv. We were already doing this in the ptyhon2 mesos-style.py script. This commit adds the same support to the python3 version of the script. Review: https://reviews.apache.org/r/67906/
46,159
16.07.2018 12:42:57
25,200
d0c7d899382028762cf49843eb75e2576feeda0e
Factored out ROOT_XFS_TestBase::getSandboxes(). Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/xfs_quota_tests.cpp", "new_path": "src/tests/containerizer/xfs_quota_tests.cpp", "diff": "@@ -53,6 +53,7 @@ using namespace mesos::internal::xfs;\nusing namespace process;\n+using std::list;\nusing std::string;\nusing std::vector;\n@@ -...
C++
Apache License 2.0
apache/mesos
Factored out ROOT_XFS_TestBase::getSandboxes(). Review: https://reviews.apache.org/r/67915/
46,165
16.07.2018 17:40:11
25,200
3d71ea14ffabb6a931dbae9e4cdea1fe9eb94c33
Add to the 1.6.2 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -38,6 +38,9 @@ Release Notes - Mesos - Version 1.6.2 (WIP)\n-------------------------------------------\n* This is a bug fix release.\n+** Bug\n+ * [MESOS-8418] - mesos-agent high cpu usage because of numerous /...
C++
Apache License 2.0
apache/mesos
Add MESOS-8418 to the 1.6.2 CHANGELOG.
46,165
16.07.2018 17:40:21
25,200
2141b6a47cf259d0b889d41b5cf65e3e5e89f087
Add to the 1.5.2 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -430,6 +430,7 @@ Release Notes - Mesos - Version 1.5.2 (WIP)\n** Bug\n* [MESOS-3790] - ZooKeeper connection should retry on `EAI_NONAME`.\n+ * [MESOS-8418] - mesos-agent high cpu usage because of numerous /proc/...
C++
Apache License 2.0
apache/mesos
Add MESOS-8418 to the 1.5.2 CHANGELOG.
46,165
16.07.2018 17:40:27
25,200
bc864cd953a055b285dd54cd92ec1856779b233c
Add to the 1.4.2 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -990,6 +990,7 @@ Release Notes - Mesos - Version 1.4.2 (WIP)\n* [MESOS-8352] - Resources may get over allocated to some roles while fail to meet the quota of other roles.\n* [MESOS-8356] - Persistent volume owne...
C++
Apache License 2.0
apache/mesos
Add MESOS-8418 to the 1.4.2 CHANGELOG.
46,148
17.07.2018 14:01:13
25,200
80881423ba626f952f1a0a71ac98be04fa18e275
Removed outdated comments regarding `Slave::executorTerminated`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -6271,8 +6271,6 @@ void Slave::executorLaunched(\n}\n-// Called by the isolator when an executor process terminates, and by\n-// `Slave::launchExecutor` when executor secret generation fails....
C++
Apache License 2.0
apache/mesos
Removed outdated comments regarding `Slave::executorTerminated`. Review: https://reviews.apache.org/r/67901/
46,103
18.07.2018 11:23:36
-7,200
1292d59e7126b4e2edbf2d282de254a020e111ff
Added missing header to libprocess build. This patch adds the header `mpsc_linked_queue.hpp` to the libprocess build which e.g., causes it to be part of distribution tarballs. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/Makefile.am", "new_path": "3rdparty/libprocess/Makefile.am", "diff": "@@ -211,6 +211,7 @@ libprocess_la_SOURCES = \\\nsrc/memory_profiler.hpp \\\nsrc/metrics/metrics.cpp \\\nsrc/mime.cpp \\\n+ src/mpsc_linked_queue.hpp \\\nsrc/pid.cpp \\\ns...
C++
Apache License 2.0
apache/mesos
Added missing header to libprocess build. This patch adds the header `mpsc_linked_queue.hpp` to the libprocess build which e.g., causes it to be part of distribution tarballs. Review: https://reviews.apache.org/r/67963/
46,104
19.07.2018 19:41:51
25,200
a1848c61381e9b3a78200f83cd8f210b3e390807
Updated documentation of REVIVE call to clarify suppression and roles. This closes
[ { "change_type": "MODIFY", "old_path": "docs/scheduler-http-api.md", "new_path": "docs/scheduler-http-api.md", "diff": "@@ -229,7 +229,12 @@ HTTP/1.1 202 Accepted\n```\n### REVIVE\n-Sent by the scheduler to remove any/all filters that it has previously set via `ACCEPT` or `DECLINE` calls.\n+Sent by ...
C++
Apache License 2.0
apache/mesos
Updated documentation of REVIVE call to clarify suppression and roles. This closes #302
46,103
20.07.2018 13:35:02
-7,200
7f74785fc3bccdce1ef5f2eb1586bf49b78336b8
Normalized paths passed to mesos-style. This make it possible to pass in slightly messier paths to mesos-style, e.g., paths containing double directory separators. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-style.py", "new_path": "support/mesos-style.py", "diff": "@@ -186,6 +186,9 @@ class LinterBase(object):\nfor candidate in self.find_candidates(source_dir):\ncandidates.append(candidate)\n+ # Normalize paths of any files give.\n+ modified_files = ...
C++
Apache License 2.0
apache/mesos
Normalized paths passed to mesos-style. This make it possible to pass in slightly messier paths to mesos-style, e.g., paths containing double directory separators. Review: https://reviews.apache.org/r/67995/
46,055
20.07.2018 14:37:27
25,200
116587498859cfd23d605941d7d0de0ce618f2ca
Added container-specific cgroups mount for freezer & systemd subsystems. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/constants.hpp", "new_path": "src/slave/containerizer/mesos/constants.hpp", "diff": "@@ -27,6 +27,8 @@ constexpr char MESOS_CONTAINERIZER[] = \"mesos-containerizer\";\nconstexpr char MESOS_CONTAINERIZER[] = \"mesos-containerizer.ex...
C++
Apache License 2.0
apache/mesos
Added container-specific cgroups mount for freezer & systemd subsystems. Review: https://reviews.apache.org/r/67896/
46,055
20.07.2018 14:37:31
25,200
90301b521da1084509716af484045add091c3d50
Updated two tests to verfiy freezer subsystem. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp", "diff": "@@ -1904,8 +1904,8 @@ TEST_F(CgroupsIsolatorTest, ROOT_CGROUPS_AutoLoadSubsystems)\n}\n-// This test verifies container-specific cgr...
C++
Apache License 2.0
apache/mesos
Updated two tests to verfiy freezer subsystem. Review: https://reviews.apache.org/r/67897/
46,085
23.07.2018 10:19:01
25,200
a7638a833acd82d5ccffff4f1d374b1867510c76
Document SUPPRESS HTTP call This closes
[ { "change_type": "MODIFY", "old_path": "docs/scheduler-http-api.md", "new_path": "docs/scheduler-http-api.md", "diff": "@@ -484,6 +484,32 @@ HTTP/1.1 202 Accepted\n```\n+### SUPPRESS\n+Sent by the scheduler when it doesn't need offers for a given set of its roles. When Mesos master receives this req...
C++
Apache License 2.0
apache/mesos
Document SUPPRESS HTTP call [MESOS-7211]. This closes #301
46,148
23.07.2018 15:32:03
25,200
1dde9531104415c7759ebc1fb560bb55e16bbd8b
Added a helper for capability filtering in the allocator. `isCapableOfReceivingAgent(` returns whether a framework is capable of receiving any resources on the agent. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -58,7 +58,6 @@ using process::Owned;\nusing process::PID;\nusing process::Timeout;\n-using mesos::internal::protobuf::framework::Capabilities;\...
C++
Apache License 2.0
apache/mesos
Added a helper for capability filtering in the allocator. `isCapableOfReceivingAgent(` returns whether a framework is capable of receiving any resources on the agent. Review: https://reviews.apache.org/r/67777/
46,148
23.07.2018 15:36:10
25,200
74f9301014cc4671dfec8d9ecc2e8229c4598046
Made getters in the Slave class in the allocator return references. This eliminates some unnecessary copies. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.hpp", "new_path": "src/master/allocator/mesos/hierarchical.hpp", "diff": "@@ -382,11 +382,11 @@ protected:\navailable = total - allocated_;\n}\n- Resources getTotal() const { return total; }\n+ const Resources& getTotal(...
C++
Apache License 2.0
apache/mesos
Made getters in the Slave class in the allocator return references. This eliminates some unnecessary copies. Review: https://reviews.apache.org/r/67945/
46,165
11.07.2018 20:20:00
25,200
40d33c0541cb2f8c5e1cfd969d6e0c3577d41969
Added multi-framework scalability guidelines to the documentation. Running multiple frameworks requires co-operation from framework developers; this outlines some initial guidelines that should be followed to ensure running multiple frameworks together performs well. Review:
[ { "change_type": "MODIFY", "old_path": "docs/app-framework-development-guide.md", "new_path": "docs/app-framework-development-guide.md", "diff": "@@ -39,6 +39,52 @@ Your scheduler should create a SchedulerDriver\nHow to build Mesos frameworks that are highly available in the face of failures is\ndis...
C++
Apache License 2.0
apache/mesos
Added multi-framework scalability guidelines to the documentation. Running multiple frameworks requires co-operation from framework developers; this outlines some initial guidelines that should be followed to ensure running multiple frameworks together performs well. Review: https://reviews.apache.org/r/67891
46,103
24.07.2018 11:49:19
-7,200
395d5414e84a6a17738d43e3aaf19b0fd857d3b3
Mentioned linters `mesos-style.py` and `mesos-tidy.sh` in style guide. Review:
[ { "change_type": "MODIFY", "old_path": "docs/c++-style-guide.md", "new_path": "docs/c++-style-guide.md", "diff": "@@ -5,7 +5,9 @@ layout: documentation\n# Mesos C++ Style Guide\n-The Mesos codebase follows the [Google C++ Style Guide](https://google.github.io/styleguide/cppguide.html) with some nota...
C++
Apache License 2.0
apache/mesos
Mentioned linters `mesos-style.py` and `mesos-tidy.sh` in style guide. Review: https://reviews.apache.org/r/67924/
46,103
24.07.2018 12:35:19
-7,200
859e90795b237f36b78ecf2a660d182d2d4a2f92
Fixed breadcrumb links in site templates. This patch makes sure that we do not leak newlines into breadcrumb links created from page titles, and fixes the handling of spaces which are represented with dashes. Review:
[ { "change_type": "MODIFY", "old_path": "site/source/layouts/basic.erb", "new_path": "site/source/layouts/basic.erb", "diff": "<li><a href=\"http://mesos.apache.org\">Apache Mesos</a></li>\n<% if current_page.data.breadcrumb %>\n- <li><a href=\"/<%= current_page.data.breadcrumb.delete(' ').downcase %...
C++
Apache License 2.0
apache/mesos
Fixed breadcrumb links in site templates. This patch makes sure that we do not leak newlines into breadcrumb links created from page titles, and fixes the handling of spaces which are represented with dashes. Review: https://reviews.apache.org/r/67903/
46,103
24.07.2018 12:35:25
-7,200
fdbe0a710248a709b91f79ae18069f38d5d3559c
Fixed documentation links. Review:
[ { "change_type": "MODIFY", "old_path": "docs/cni.md", "new_path": "docs/cni.md", "diff": "@@ -23,7 +23,7 @@ default.\n- [Adding/Deleting/Modifying CNI networks](#adding-modifying-deleting)\n- [Attaching containers to CNI networks](#attaching-containers-to-cni-networks)\n- [Accessing container networ...
C++
Apache License 2.0
apache/mesos
Fixed documentation links. Review: https://reviews.apache.org/r/67904/
46,103
24.07.2018 12:35:47
-7,200
36265a6912922c3a0b1a0758b38d8ea4d01b7c77
Added missing anchor. Review:
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -596,6 +596,7 @@ We categorize the changes as follows:\n* Support for deprecated ACL `shutdown_frameworks` has been removed from the local authorizer. Before upgrading the Mesos binaries, replace a...
C++
Apache License 2.0
apache/mesos
Added missing anchor. Review: https://reviews.apache.org/r/67905/
46,103
24.07.2018 12:36:00
-7,200
0519403ecb22382b8ade0f776a2aa1851d16fd6b
Fixed image link in docker volume isolator docs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/isolators/docker-volume.md", "new_path": "docs/isolators/docker-volume.md", "diff": "@@ -51,7 +51,7 @@ orchestrate containers on a wide variety of external storage technologies.\n## <a name=\"how-does-it-work\"></a>How does it work?\n-![Docker Volume Isol...
C++
Apache License 2.0
apache/mesos
Fixed image link in docker volume isolator docs. Review: https://reviews.apache.org/r/67925/
46,114
17.07.2018 15:00:46
25,200
de4917a3c38c347a4fb85dc14a9fbf378ebd47ac
Added optional `path_separator` parameter to `Path` constructor. This defaults to `os::PATH_SEPARATOR` and so by default retains the previous behavior. However, now `Path` can be arbitrarily used with, e.g., URLs on Windows by providing `/` as the separator. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/path.hpp", "new_path": "3rdparty/stout/include/stout/path.hpp", "diff": "@@ -145,10 +145,13 @@ inline bool absolute(const std::string& path)\nclass Path\n{\npublic:\n- Path() : value() {}\n+ Path() : value(), separator(os::PATH_SEP...
C++
Apache License 2.0
apache/mesos
Added optional `path_separator` parameter to `Path` constructor. This defaults to `os::PATH_SEPARATOR` and so by default retains the previous behavior. However, now `Path` can be arbitrarily used with, e.g., URLs on Windows by providing `/` as the separator. Review: https://reviews.apache.org/r/67951/
46,114
17.07.2018 15:16:09
25,200
3e06a486620bc5a91446844234b4717d1b2afb24
Windows: Ported remaining tests in the `HTTPTest` suite. These were enabled by fixing the use of `Path()` in `process.cpp` to explicitly use '/' as the separator, as it's being used to manipulate URLs, not filesystem paths, and previously this failed due the Windows path separator being '\'. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/process.cpp", "new_path": "3rdparty/libprocess/src/process.cpp", "diff": "@@ -3603,9 +3603,9 @@ void ProcessBase::consume(HttpEvent&& event)\n// but if no handler is found and the path is nested, we shorten it and look\n// again. For ex...
C++
Apache License 2.0
apache/mesos
Windows: Ported remaining tests in the `HTTPTest` suite. These were enabled by fixing the use of `Path()` in `process.cpp` to explicitly use '/' as the separator, as it's being used to manipulate URLs, not filesystem paths, and previously this failed due the Windows path separator being '\'. Review: https://reviews.a...