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,114
18.07.2018 17:11:49
25,200
ac3b74e9f29c2bdd5feb9d679f15405643d61edb
Windows: Documented why the `RemoteLinkLeak` test is not enabled. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "diff": "@@ -998,6 +998,12 @@ TEST_F(ProcessRemoteLinkTest, RemoteDoubleLinkRelink)\n// Verifies that remote links will trigger an `ExitedEvent` if...
C++
Apache License 2.0
apache/mesos
Windows: Documented why the `RemoteLinkLeak` test is not enabled. Review: https://reviews.apache.org/r/67979
46,114
18.07.2018 18:30:45
25,200
179c7eca9e6f41406f10f199593d846a71665c61
Windows: Enabled rest of `ProcessTest` suite. Several of these worked as-is, and the two firewall tests were fixed by replace `path::join` (which joined with `\`) with `strings::join("/")`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "diff": "@@ -1468,9 +1468,7 @@ TEST(ProcessTest, Http1)\n// Like 'http1' but uses the 'Libprocess-From' header. We can\n// also use http::post here...
C++
Apache License 2.0
apache/mesos
Windows: Enabled rest of `ProcessTest` suite. Several of these worked as-is, and the two firewall tests were fixed by replace `path::join` (which joined with `\`) with `strings::join("/")`. Review: https://reviews.apache.org/r/67980
46,114
19.07.2018 16:18:23
25,200
9047fdccc8bc10fdf42b9b2c5c0f47c760e1bb5b
Enabled `TimeTest.Now` on Windows. While the timer resolution on Windows does not support 10 microseconds, it does support 1000 microseconds, which is still fast enough for a unit test. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/time_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/time_tests.cpp", "diff": "@@ -43,12 +43,11 @@ TEST(TimeTest, Arithmetic)\n}\n-// Windows OS timers aren't high enough resolution to support this.\n-TEST_TEMP_DISABLED_ON_...
C++
Apache License 2.0
apache/mesos
Enabled `TimeTest.Now` on Windows. While the timer resolution on Windows does not support 10 microseconds, it does support 1000 microseconds, which is still fast enough for a unit test. Review: https://reviews.apache.org/r/67983
46,159
24.07.2018 12:50:45
25,200
66f0908fe49dc3808ebb4edf7bfb6c2401fff9b1
Updated XFS disk isolator docs. Added project IDs reclaiming mechanism description. Review:
[ { "change_type": "MODIFY", "old_path": "docs/isolators/disk-xfs.md", "new_path": "docs/isolators/disk-xfs.md", "diff": "@@ -39,6 +39,17 @@ to display the `fsxattr.projid` field. For example:\n$ xfs_io -r -c stat /mnt/mesos/\n+Project IDs are not reclaimed until the sandboxes they were assigned to\n+...
C++
Apache License 2.0
apache/mesos
Updated XFS disk isolator docs. Added project IDs reclaiming mechanism description. Review: https://reviews.apache.org/r/68029/
46,098
24.07.2018 15:12:50
25,200
0776a1dc6d504bb86ced11448e7fb3c192e55182
Fix padding in MpscLinkedQueue. This patch aligns the head of MpscLinkedQueue to a new cache line and adds padding between head and tail to avoid false sharing between to two and after tail to avoid false sharing with other objects that could otherwise end up on the same cache line. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/mpsc_linked_queue.hpp", "new_path": "3rdparty/libprocess/src/mpsc_linked_queue.hpp", "diff": "@@ -168,10 +168,17 @@ public:\n}\nprivate:\n- std::atomic<Node<T>*> head;\n-\n// TODO(drexin): Programatically get the cache line size.\n- ali...
C++
Apache License 2.0
apache/mesos
Fix padding in MpscLinkedQueue. This patch aligns the head of MpscLinkedQueue to a new cache line and adds padding between head and tail to avoid false sharing between to two and after tail to avoid false sharing with other objects that could otherwise end up on the same cache line. Review: https://reviews.apache.org...
46,165
24.07.2018 17:16:41
25,200
35be8db88349ba8af4704bb68edcc20b2ce946ab
Fixed some non-alphabetical ordering in stout build files. These changes were requested as part of a separate change, see:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/3rdparty/Makefile.am", "new_path": "3rdparty/stout/3rdparty/Makefile.am", "diff": "@@ -34,15 +34,15 @@ GLOG = glog-$(GLOG_VERSION)\nGOOGLETEST = googletest-release-$(GOOGLETEST_VERSION)\nGMOCK = $(GOOGLETEST)/googlemock\nGTEST = $(GOOGLETEST)/go...
C++
Apache License 2.0
apache/mesos
Fixed some non-alphabetical ordering in stout build files. These changes were requested as part of a separate change, see: https://reviews.apache.org/r/67985/
46,165
24.07.2018 17:22:49
25,200
2cc0c1fa68e6028fce04060ba8af0533f5f9eee0
Fixed some alphabetical ordering issues in the mesos build files. This was requested during review feedback on a separate change, see:
[ { "change_type": "MODIFY", "old_path": "3rdparty/Makefile.am", "new_path": "3rdparty/Makefile.am", "diff": "@@ -53,8 +53,8 @@ CONCURRENTQUEUE = concurrentqueue-$(CONCURRENTQUEUE_VERSION)\nCSI = csi-$(CSI_VERSION)\nELFIO = elfio-$(ELFIO_VERSION)\nGLOG = glog-$(GLOG_VERSION)\n-GOOGLETEST = googletest-...
C++
Apache License 2.0
apache/mesos
Fixed some alphabetical ordering issues in the mesos build files. This was requested during review feedback on a separate change, see: https://reviews.apache.org/r/67987/
46,165
19.07.2018 14:29:57
25,200
543161dac422a7965cdb34fe2b75fc42f32f3e96
Added rapidjson to the stout build. This follows the approach used for picojson. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/3rdparty/Makefile.am", "new_path": "3rdparty/stout/3rdparty/Makefile.am", "diff": "@@ -36,6 +36,7 @@ GMOCK = $(GOOGLETEST)/googlemock\nGTEST = $(GOOGLETEST)/googletest\nPICOJSON = picojson-$(PICOJSON_VERSION)\nPROTOBUF = protobuf-$(PROTOBUF_VERS...
C++
Apache License 2.0
apache/mesos
Added rapidjson to the stout build. This follows the approach used for picojson. Review: https://reviews.apache.org/r/67985
46,165
19.07.2018 14:31:15
25,200
5d6948ebdefff01860aaa6b2ab232b25df24f1e3
Added rapidjson to the libprocess build. This follows the approach used for picojson. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/3rdparty/Makefile.am", "new_path": "3rdparty/libprocess/3rdparty/Makefile.am", "diff": "@@ -47,6 +47,7 @@ HTTP_PARSER = http-parser-$(HTTP_PARSER_VERSION)\nLIBEV = libev-$(LIBEV_VERSION)\nPROTOBUF = protobuf-$(PROTOBUF_VERSION)\nPICOJSON = ...
C++
Apache License 2.0
apache/mesos
Added rapidjson to the libprocess build. This follows the approach used for picojson. Review: https://reviews.apache.org/r/67986
46,165
19.07.2018 14:32:32
25,200
135545f3a5bc492971a284edf019c5a854806de0
Added rapidjson to the mesos build. This includes a stripped bundle of the latest release. Stripping is required for licensing (see rapidjson.md), but also helps reduce the bloat in the mesos git repo. Also included is a readme for how to update the dependency. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -39,6 +39,7 @@ set(LEVELDB_URL ${FETCH_URL}/leveldb-${LEVELDB_VERSION}.tar.gz)\nset(LIBARCHIVE_URL ${FETCH_URL}/libarchive-${LIBARCHIVE_VERSION}.tar.gz)\nset(LIBEV_URL ${FETCH_URL}/li...
C++
Apache License 2.0
apache/mesos
Added rapidjson to the mesos build. This includes a stripped bundle of the latest release. Stripping is required for licensing (see rapidjson.md), but also helps reduce the bloat in the mesos git repo. Also included is a readme for how to update the dependency. Review: https://reviews.apache.org/r/67987
46,165
19.07.2018 19:11:20
25,200
30840e2a612e068197bb1867dd2483045f43516f
Fixed libprocess tests against rapidjson. The libprocess tests were checking the serialized format of metrics, which previously escaped forward slashes. However, this is not what rapidjson does and it's also valid json according to Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/metrics_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/metrics_tests.cpp", "diff": "@@ -344,20 +344,20 @@ TEST_F(MetricsTest, SnapshotAlphabetical)\nAWAIT_EXPECT_RESPONSE_STATUS_EQ(OK().status, response);\n// Ensure the re...
C++
Apache License 2.0
apache/mesos
Fixed libprocess tests against rapidjson. The libprocess tests were checking the serialized format of metrics, which previously escaped forward slashes. However, this is not what rapidjson does and it's also valid json according to ECMA-404. Review: https://reviews.apache.org/r/67990
46,165
19.07.2018 19:14:14
25,200
c86643732a895694fb452cfc01f0465c132a87e9
Adjusted Mesos to compile against jsonify rapidjson changes. The `StringWriter` no longer allows appending multiple times and instead has a `set` function that must be used. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/http.cpp", "new_path": "src/common/http.cpp", "diff": "@@ -778,19 +778,19 @@ static void json(JSON::NumberWriter* writer, const Value::Scalar& scalar)\nstatic void json(JSON::StringWriter* writer, const Value::Ranges& ranges)\n{\n- writer->append(st...
C++
Apache License 2.0
apache/mesos
Adjusted Mesos to compile against jsonify rapidjson changes. The `StringWriter` no longer allows appending multiple times and instead has a `set` function that must be used. Review: https://reviews.apache.org/r/67991
46,165
19.07.2018 19:54:34
25,200
e9d88fa5925ca0c583f467b570995cb138db787c
Avoid performance cost of ostringstream in http::OK json constructors. In the common case where no jsonp is passed this avoids an extra copy out from the ostringstream. In the jsonp case, the performance should be near identical or better as we now pre-reserve the space needed for the body. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/http.cpp", "new_path": "3rdparty/libprocess/src/http.cpp", "diff": "@@ -690,23 +690,22 @@ OK::OK(const JSON::Value& value, const Option<string>& jsonp)\n{\ntype = BODY;\n- std::ostringstream out;\n-\nif (jsonp.isSome()) {\n- out << json...
C++
Apache License 2.0
apache/mesos
Avoid performance cost of ostringstream in http::OK json constructors. In the common case where no jsonp is passed this avoids an extra copy out from the ostringstream. In the jsonp case, the performance should be near identical or better as we now pre-reserve the space needed for the body. Review: https://reviews.ap...
46,159
24.07.2018 11:21:32
25,200
e879e920c35ffcd3d4bc787de55054dc2885bcf9
Fixed ephemeral ports deallocation in network/port_mapping isolator. Ephemeral ports are allocated for a container during the preparation phase and have to be deallocated during container cleanup regardless of whether the container process was isolated or not. Otherwise those ports can be leaked if the container is des...
[ { "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": "@@ -3357,6 +3357,20 @@ Try<Nothing> PortMappingIsolatorProcess::_cleanup(\n// this function returns.\nOw...
C++
Apache License 2.0
apache/mesos
Fixed ephemeral ports deallocation in network/port_mapping isolator. Ephemeral ports are allocated for a container during the preparation phase and have to be deallocated during container cleanup regardless of whether the container process was isolated or not. Otherwise those ports can be leaked if the container is de...
46,056
25.07.2018 12:10:11
-7,200
5eed238cbffc27f21ac667145b9c17640bb35141
Fixed some non-alphabetical ordering in CMakelists.
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -33,12 +33,12 @@ set(GOOGLETEST_URL ${FETCH_URL}/googletest-release-${GOOGLETEST_VERSION}.ta\nset(GRPC_URL ${FETCH_URL}/grpc-${GRPC_VERSION}.tar.gz)\nset(HTTP_PARSER_URL ${FETCH_URL}/...
C++
Apache License 2.0
apache/mesos
Fixed some non-alphabetical ordering in CMakelists.
46,128
25.07.2018 10:28:27
25,200
8f378c6b7e98178234cab92658f580f4309f9285
Updated the website for the 1.6.1 release.
[ { "change_type": "MODIFY", "old_path": "docs/building.md", "new_path": "docs/building.md", "diff": "@@ -11,8 +11,8 @@ There are different ways you can get Mesos:\n1\\. Download the latest stable release from [Apache](http://mesos.apache.org/downloads/) (***Recommended***)\n- $ wget http://www.apache...
C++
Apache License 2.0
apache/mesos
Updated the website for the 1.6.1 release.
46,165
10.07.2018 13:42:36
25,200
f3f75e8797cb9ef2c9b0c69fd7e289f9c4e8617b
Added a metrics scalability benchmark in libprocess. This initial benchmark focuses on adding a large number of counters and measuring how long the add/remove and snapshot takes. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/benchmarks.cpp", "new_path": "3rdparty/libprocess/src/tests/benchmarks.cpp", "diff": "#include <process/process.hpp>\n#include <process/protobuf.hpp>\n+#include <process/metrics/counter.hpp>\n+#include <process/metrics/metrics.hpp...
C++
Apache License 2.0
apache/mesos
Added a metrics scalability benchmark in libprocess. This initial benchmark focuses on adding a large number of counters and measuring how long the add/remove and snapshot takes. Review: https://reviews.apache.org/r/67877
46,165
11.07.2018 15:47:04
25,200
54a8443d76b2b43140e412f1d2bf73fee856885f
Installed google's signal handler for libprocess benchmarks. This will provide a stack trace if the benchmarks crash, the approach here was followed from the libprocess test main.cpp. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/benchmarks.cpp", "new_path": "3rdparty/libprocess/src/tests/benchmarks.cpp", "diff": "@@ -71,6 +71,18 @@ int main(int argc, char** argv)\n// Initialize Google Mock/Test.\ntesting::InitGoogleMock(&argc, argv);\n+ // NOTE: Windows d...
C++
Apache License 2.0
apache/mesos
Installed google's signal handler for libprocess benchmarks. This will provide a stack trace if the benchmarks crash, the approach here was followed from the libprocess test main.cpp. Review: https://reviews.apache.org/r/67889
46,165
11.07.2018 15:49:15
25,200
2685f148896667f9a77e5e3d2f01d92ec8963609
Updated metrics add / remove to avoid double lookups. When adding / removing metrics, we were performing double lookups on the metrics map. Removing these provides a slight performance improvement. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/metrics/metrics.cpp", "new_path": "3rdparty/libprocess/src/metrics/metrics.cpp", "diff": "@@ -120,23 +120,24 @@ string MetricsProcess::help()\nFuture<Nothing> MetricsProcess::add(Owned<Metric> metric)\n{\n- if (metrics.count(metric->nam...
C++
Apache License 2.0
apache/mesos
Updated metrics add / remove to avoid double lookups. When adding / removing metrics, we were performing double lookups on the metrics map. Removing these provides a slight performance improvement. Review: https://reviews.apache.org/r/67890
46,066
25.07.2018 14:14:53
25,200
b571aff20ad0f7186eb448c884b9fc8e58c705ae
Fixed a linking issue with gRPC. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/grpc.hpp", "new_path": "3rdparty/libprocess/include/process/grpc.hpp", "diff": "@@ -207,10 +207,17 @@ public:\ncontext->set_wait_for_ready(options.wait_for_ready);\n- context->set_deadline(\n+ // We need to ensure that we're...
C++
Apache License 2.0
apache/mesos
Fixed a linking issue with gRPC. Review: https://reviews.apache.org/r/68030/
46,165
25.07.2018 15:54:12
25,200
56d421d4dc5f2d31f33e5262ad41940fa1007e94
Fixed a make install regression due to rapidjson. The `cursorstreamwrapper.h` header was only added after the 1.1.0 release.
[ { "change_type": "MODIFY", "old_path": "3rdparty/Makefile.am", "new_path": "3rdparty/Makefile.am", "diff": "@@ -344,7 +344,6 @@ nodist_rapidjson_HEADERS = \\\n$(RAPIDJSON)/include/rapidjson/msinttypes/inttypes.h \\\n$(RAPIDJSON)/include/rapidjson/msinttypes/stdint.h \\\n$(RAPIDJSON)/include/rapidjso...
C++
Apache License 2.0
apache/mesos
Fixed a make install regression due to rapidjson. The `cursorstreamwrapper.h` header was only added after the 1.1.0 release.
46,148
25.07.2018 15:57:47
25,200
a9d50efd63bf4cc47a49ffe3feaef87dfc0ffa7a
Updated `Slave::getAvailable()` to return all shared resources. Currently, `HierarchicalAllocatorProcess::Slave::getAvailable()` only exposes the unallocated portion of shared resources. However, we currently always consider a copy of shared resources to be available for allocation. This helps us acheive some cleanup o...
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.hpp", "new_path": "src/master/allocator/mesos/hierarchical.hpp", "diff": "@@ -372,14 +372,10 @@ protected:\ncapabilities(_capabilities),\nactivated(_activated),\ntotal(_total),\n- allocated(_allocated)\n+ allocated(_allo...
C++
Apache License 2.0
apache/mesos
Updated `Slave::getAvailable()` to return all shared resources. Currently, `HierarchicalAllocatorProcess::Slave::getAvailable()` only exposes the unallocated portion of shared resources. However, we currently always consider a copy of shared resources to be available for allocation. This helps us acheive some cleanup...
46,148
25.07.2018 16:15:48
25,200
eeb74c03695a8311a9c3bf2d2f895c6c25f86266
Added a `stripIncapableResources` helper in the allocator. This helper removes any resources that the framework is not capable of receiving based on the given framework capability. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1803,21 +1803,14 @@ void HierarchicalAllocatorProcess::__allocate()\ncontinue;\n}\n- // Calculate the currently available resources on the sla...
C++
Apache License 2.0
apache/mesos
Added a `stripIncapableResources` helper in the allocator. This helper removes any resources that the framework is not capable of receiving based on the given framework capability. Review: https://reviews.apache.org/r/67827/
46,173
25.07.2018 22:36:17
25,200
cc5d2532fd2fd8670a495db332468f995ac868e4
Added Sergey Urbanovich to the contributor list. Review:
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: sachinparyani\nreviewboard_user: sachinparyani\n+- name: Sergey Urbanovich\n+ affiliations:\n+ - {organization: Mesosphere}\n+ emails:\n+ - sergey.urbanovich@gmail.com\n+ - surb...
C++
Apache License 2.0
apache/mesos
Added Sergey Urbanovich to the contributor list. Review: https://reviews.apache.org/r/68051/
46,057
26.07.2018 18:25:27
-7,200
9cfb596957fe60a045132304ee6e33a0dfc3906c
Eliminated unnecessary copy in DataEncoder constructor. With C++11, we can rely on move semantics to save one copy of the to-be-encoded data. Additionally this removes an unnecessary forward declaration. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/encoder.hpp", "new_path": "3rdparty/libprocess/src/encoder.hpp", "diff": "@@ -34,9 +34,6 @@ namespace process {\nconst uint32_t GZIP_MINIMUM_BODY_LENGTH = 1024;\n-// Forward declarations.\n-class Encoder;\n-\nclass Encoder\n{\n@@ -65,6 ...
C++
Apache License 2.0
apache/mesos
Eliminated unnecessary copy in DataEncoder constructor. With C++11, we can rely on move semantics to save one copy of the to-be-encoded data. Additionally this removes an unnecessary forward declaration. Review: https://reviews.apache.org/r/68061/
46,165
26.07.2018 12:43:08
25,200
454dd9056cf9aa3cfa382ed4c8b448b0ea27c482
Fixed the rapidjson upgrade instructions.
[ { "change_type": "MODIFY", "old_path": "3rdparty/rapidjson.md", "new_path": "3rdparty/rapidjson.md", "diff": "@@ -22,11 +22,12 @@ $ curl --location https://github.com/Tencent/rapidjson/archive/v1.1.0.tar.gz -o\n# Extract, strip everything but the license and include\n# folder, and re-bundle.\n-$ tar...
C++
Apache License 2.0
apache/mesos
Fixed the rapidjson upgrade instructions.
46,165
26.07.2018 12:31:29
25,200
ddd00e54ca7086d40d33fba05a96b9afd77a466c
Stripped hidden macOS files from rapidjson-1.1.0.tar.gz. Re-applied the instructions from 3rdparty/rapidjson.md; last time I followed this instructions was on my macbook pro, and when I looked at the extracted folder using finder it generated hidden files.
[ { "change_type": "MODIFY", "old_path": "3rdparty/cmake/Versions.cmake", "new_path": "3rdparty/cmake/Versions.cmake", "diff": "@@ -32,7 +32,7 @@ set(PICOJSON_HASH \"SHA256=056805CA2691798F5545935A14BB477F2E1D827C9FB8\nset(PROTOBUF_VERSION \"3.5.0\")\nset(PROTOBUF_HASH \"SHA256=F046682F05C39605E1687DC...
C++
Apache License 2.0
apache/mesos
Stripped hidden macOS files from rapidjson-1.1.0.tar.gz. Re-applied the instructions from 3rdparty/rapidjson.md; last time I followed this instructions was on my macbook pro, and when I looked at the extracted folder using finder it generated hidden files.
46,057
27.07.2018 16:30:17
-7,200
6d61d591b996897f6155ab388402cca3b36adcde
Clarified instructions in docs. The instructions for using libprocess memory profiling together with a custom libjemalloc.so had accidentally omitted a required condition. Review:
[ { "change_type": "MODIFY", "old_path": "docs/memory-profiling.md", "new_path": "docs/memory-profiling.md", "diff": "@@ -34,7 +34,10 @@ course also possible to use a _suitable_ custom version of jemalloc with the\n`--with-jemalloc=</path-to-jemalloc>` flag.\n**NOTE:** Suitable here means that jemallo...
C++
Apache License 2.0
apache/mesos
Clarified instructions in docs. The instructions for using libprocess memory profiling together with a custom libjemalloc.so had accidentally omitted a required condition. Review: https://reviews.apache.org/r/68082/
46,197
27.07.2018 09:00:10
25,200
04d8d1d3aa8f1f9bf1ed70ea1028488749a60e9a
Remove redundant sentence from development guide. This closes
[ { "change_type": "MODIFY", "old_path": "docs/app-framework-development-guide.md", "new_path": "docs/app-framework-development-guide.md", "diff": "@@ -30,10 +30,6 @@ communication between your scheduler and the Mesos master) and then call `Schedu\n[Java](http://mesos.apache.org/api/latest/java/org/ap...
C++
Apache License 2.0
apache/mesos
Remove redundant sentence from development guide. This closes #305
46,103
01.08.2018 11:30:54
25,200
d9a6c55e67bdaa07c7d5712997969b180654021c
Added an authorizer action for viewing of resource provider information. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/acls.proto", "new_path": "include/mesos/authorizer/acls.proto", "diff": "@@ -556,6 +556,16 @@ message ACL {\n// Objects: The list of roles for which volume disks can be destroyed.\nrequired Entity roles = 2;\n}\n+\n+ // Which principal...
C++
Apache License 2.0
apache/mesos
Added an authorizer action for viewing of resource provider information. Review: https://reviews.apache.org/r/68103/
46,103
01.08.2018 11:31:01
25,200
58cd544596fa499d632da060e36d1ab6987b2dbd
Implemented authorization for agent `GET_RESOURCE_PROVIDER` calls. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -85,6 +85,7 @@ using mesos::authorization::VIEW_FLAGS;\nusing mesos::authorization::VIEW_FRAMEWORK;\nusing mesos::authorization::VIEW_TASK;\nusing mesos::authorization::VIEW_EXECUTOR;\n+using m...
C++
Apache License 2.0
apache/mesos
Implemented authorization for agent `GET_RESOURCE_PROVIDER` calls. Review: https://reviews.apache.org/r/68104/
46,128
01.08.2018 07:57:56
25,200
45fa0593790632a5c1231b350921281dded1c1aa
Enabled per-framework metrics in the master. The `FrameworkMetrics` struct will be used to track per-framework metrics in the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "@@ -3013,6 +3013,9 @@ struct Framework\nOption<process::Owned<Heartbeater<scheduler::Event, v1::scheduler::Event>>>\nheartbeater;\n+ // This is used for per-framwork metrics.\n+ FrameworkMet...
C++
Apache License 2.0
apache/mesos
Enabled per-framework metrics in the master. The `FrameworkMetrics` struct will be used to track per-framework metrics in the master. Review: https://reviews.apache.org/r/67962/
46,129
01.08.2018 07:58:06
25,200
9b7b5e7c1261fda3327cc2f1ef4c00ff600d3f6f
Added per-framework 'subscribed' metric and helpers. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -458,6 +458,13 @@ void Framework::untrackUnderRole(const string& role)\n}\n+void Framework::setFrameworkState(const Framework::State& _state)\n+{\n+ state = _state;\n+ metrics.subscribed ...
C++
Apache License 2.0
apache/mesos
Added per-framework 'subscribed' metric and helpers. Review: https://reviews.apache.org/r/66820/
46,128
01.08.2018 07:58:14
25,200
133669a9b0492be5a51af5f76808c6f932ca7714
Added per-framework metrics for scheduler calls. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -1035,6 +1035,8 @@ Future<Response> Master::Http::scheduler(\nreturn BadRequest(\"Framework cannot be found\");\n}\n+ framework->metrics.incrementCall(call.type());\n+\n// TODO(greggomann): M...
C++
Apache License 2.0
apache/mesos
Added per-framework metrics for scheduler calls. Review: https://reviews.apache.org/r/67776/
46,128
01.08.2018 07:58:22
25,200
96dea3659599f8165d159ca6b4e83bb8ae65effb
Added per-framework metrics for scheduler events. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "@@ -380,13 +380,16 @@ public:\nconst Message& _heartbeatMessage,\nconst HttpConnection& _http,\nconst Duration& _interval,\n- const Option<Duration>& _delay = None())\n+ const Option<Duratio...
C++
Apache License 2.0
apache/mesos
Added per-framework metrics for scheduler events. Review: https://reviews.apache.org/r/67809/
46,128
01.08.2018 07:58:25
25,200
e27a729cbe3d9d13d4f9f2763bcfb86b54b1a300
Added per-framework offer metrics. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -4133,6 +4133,8 @@ void Master::accept(\n// Validate the offers.\nerror = validation::offer::validate(accept.offer_ids(), this, framework);\n+ size_t offersAccepted = 0;\n+\n// Compute of...
C++
Apache License 2.0
apache/mesos
Added per-framework offer metrics. Review: https://reviews.apache.org/r/67812/
46,128
01.08.2018 07:58:31
25,200
ac4c989993363120af3aa2ef6a21606a3f96f6c2
Added per-framework metrics for task states. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -10874,6 +10874,8 @@ void Master::updateTask(Task* task, const StatusUpdate& update)\nlatestState = update.latest_state();\n}\n+ const TaskState updateState = latestState.getOrElse(status...
C++
Apache License 2.0
apache/mesos
Added per-framework metrics for task states. Review: https://reviews.apache.org/r/67813/
46,128
01.08.2018 07:58:39
25,200
d309258f03e4290134276b65dc975396cb3ccd77
Added per-framework metrics for offer operations. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -5485,6 +5485,10 @@ void Master::_accept(\n<< (launchExecutor ?\n\" new executor\" : \" existing executor\");\n+ // Increment this metric here for LAUNCH since it\n+ // does not make use ...
C++
Apache License 2.0
apache/mesos
Added per-framework metrics for offer operations. Review: https://reviews.apache.org/r/67814/
46,128
01.08.2018 07:58:45
25,200
dba94e3ae4657aaecc5d6b2c1e6cce227f33ce9f
Enabled per-framework metrics in the allocator. The `FrameworkMetrics` struct will hold per-framework metrics tracked by the allocator. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -139,7 +139,8 @@ HierarchicalAllocatorProcess::Framework::Framework(\n: roles(protobuf::framework::getRoles(frameworkInfo)),\nsuppressedRoles(_...
C++
Apache License 2.0
apache/mesos
Enabled per-framework metrics in the allocator. The `FrameworkMetrics` struct will hold per-framework metrics tracked by the allocator. Review: https://reviews.apache.org/r/66843/
46,128
01.08.2018 07:58:48
25,200
716cd2c9b0ba5584711c1e5177ca8ccc6cf00547
Changed the 'capacity_' member of 'BoundedHashMap' to non-const. This prevents the assignment operator from being implicitly deleted. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/boundedhashmap.hpp", "new_path": "3rdparty/stout/include/stout/boundedhashmap.hpp", "diff": "@@ -149,7 +149,7 @@ public:\ntypename list::const_iterator end() const { return entries_.cend(); }\nprivate:\n- const size_t capacity_;\n+...
C++
Apache License 2.0
apache/mesos
Changed the 'capacity_' member of 'BoundedHashMap' to non-const. This prevents the assignment operator from being implicitly deleted. Review: https://reviews.apache.org/r/66855/
46,128
01.08.2018 07:58:49
25,200
c3669306f19252db531b94ea863fb8e56a0c80c1
Tracked completed framework metrics in the allocator. This ensures that per-framework metrics which are tracked in the allocator will be retained as long as the per-framework metrics which are tracked in the master. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/allocator/allocator.hpp", "new_path": "include/mesos/allocator/allocator.hpp", "diff": "@@ -103,7 +103,8 @@ public:\nbool filterGpuResources = true,\nconst Option<DomainInfo>& domain = None(),\nconst Option<std::vector<Resources>>&\n- minAllocata...
C++
Apache License 2.0
apache/mesos
Tracked completed framework metrics in the allocator. This ensures that per-framework metrics which are tracked in the allocator will be retained as long as the per-framework metrics which are tracked in the master. Review: https://reviews.apache.org/r/66856/
46,128
01.08.2018 07:59:04
25,200
9f39fe3878b44852b570541931efd5e89098a82e
Added per-framework metrics for suppressed roles. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -282,8 +282,10 @@ void HierarchicalAllocatorProcess::addFramework(\nif (suppressedRoles.count(role)) {\nframeworkSorters.at(role)->deactivate(f...
C++
Apache License 2.0
apache/mesos
Added per-framework metrics for suppressed roles. Review: https://reviews.apache.org/r/66870/
46,128
01.08.2018 07:59:06
25,200
3c85608ada614196e1c4708fdc0998a40d6eb917
Updated tests to check per-framework metrics. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "#include \"master/flags.hpp\"\n#include \"master/master.hpp\"\n+#include \"master/metrics.hpp\"\n#include \"master/registry_operations.hpp\"\n#include \"master/allocator/mesos/allo...
C++
Apache License 2.0
apache/mesos
Updated tests to check per-framework metrics. Review: https://reviews.apache.org/r/67878/
46,128
01.08.2018 07:59:12
25,200
7754e868cddf1248fc786c88e1df2b9f0573fb14
Extended a v1 test helper. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.hpp", "new_path": "src/tests/mesos.hpp", "diff": "@@ -2116,7 +2116,8 @@ inline mesos::v1::Parameters parameterize(Args&&... args)\ninline mesos::v1::scheduler::Call createCallAccept(\nconst mesos::v1::FrameworkID& frameworkId,\nconst mesos::v1:...
C++
Apache License 2.0
apache/mesos
Extended a v1 test helper. Review: https://reviews.apache.org/r/68085/
46,128
01.08.2018 07:59:14
25,200
f446775aa45c6e7e489da0078b483048bcc881f1
Tested per-framework task state metrics. This patch adds `MasterTest.TaskStateMetrics`, which verifies that per-framework task state metrics for both terminal and active task states report correct values, even after agent reregistration. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_tests.cpp", "new_path": "src/tests/master_tests.cpp", "diff": "@@ -115,6 +115,7 @@ using std::string;\nusing std::vector;\nusing testing::_;\n+using testing::AllOf;\nusing testing::AtMost;\nusing testing::DoAll;\nusing testing::Eq;\n@@ -9107,6...
C++
Apache License 2.0
apache/mesos
Tested per-framework task state metrics. This patch adds `MasterTest.TaskStateMetrics`, which verifies that per-framework task state metrics for both terminal and active task states report correct values, even after agent reregistration. Review: https://reviews.apache.org/r/67187/
46,128
01.08.2018 07:59:19
25,200
ca8126a047c8d076f6f6bd56b7ff4fc695983798
Added a master benchmark test for metrics. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_benchmarks.cpp", "new_path": "src/tests/master_benchmarks.cpp", "diff": "@@ -482,6 +482,144 @@ TEST_P(MasterStateQuery_BENCHMARK_Test, GetState)\n}\n+class MasterMetricsQuery_BENCHMARK_Test\n+ : public MesosTest,\n+ public WithParamInterface<t...
C++
Apache License 2.0
apache/mesos
Added a master benchmark test for metrics. Review: https://reviews.apache.org/r/67823/
46,128
01.08.2018 07:59:20
25,200
1b6b6f611fdaf00f9d6080b7ca18e49a42f14c98
Added documentation for per-framework metrics. Review:
[ { "change_type": "MODIFY", "old_path": "docs/monitoring.md", "new_path": "docs/monitoring.md", "diff": "@@ -466,6 +466,115 @@ registered or that it is misbehaving.\n</tr>\n</table>\n+The following metrics are added for each framework which registers with the\n+master, in order to provide detailed in...
C++
Apache License 2.0
apache/mesos
Added documentation for per-framework metrics. Review: https://reviews.apache.org/r/68048/
46,114
26.06.2018 16:08:26
25,200
d880195428e5480e77eda5a80541e84840af070d
Added missing files to CMake build. This patch adds stubs for the Python executor and scheduler, adds support for `mesos-resolve`, adds conditional support for the old `mesos-cli` when `ENABLE_NEW_CLI` is not set and not on Windows, and fixes some ordering oddities. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -566,6 +566,8 @@ add_subdirectory(local)\nadd_subdirectory(log)\nadd_subdirectory(master)\nadd_subdirectory(python/cli_new)\n+add_subdirectory(python/executor)\n+add_subdirectory(python/schedul...
C++
Apache License 2.0
apache/mesos
Added missing files to CMake build. This patch adds stubs for the Python executor and scheduler, adds support for `mesos-resolve`, adds conditional support for the old `mesos-cli` when `ENABLE_NEW_CLI` is not set and not on Windows, and fixes some ordering oddities. Review: https://reviews.apache.org/r/67751
46,114
27.07.2018 11:30:01
25,200
1159b487be504e1dddca7a88ecd694ba2889b77e
Added XFS disk isolator files to CMake. This adds an option to turn on the isolator, but that results in a fatal error because we do not yet check for the required headers and libraries. Review:
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -412,6 +412,16 @@ if (LINUX)\nENABLE_JEMALLOC_ALLOCATOR\n\"Use jemalloc as memory allocator for the master and agent binaries.\"\nFALSE)\n+\n+ option(ENABLE_XFS_DISK...
C++
Apache License 2.0
apache/mesos
Added XFS disk isolator files to CMake. This adds an option to turn on the isolator, but that results in a fatal error because we do not yet check for the required headers and libraries. Review: https://reviews.apache.org/r/68093
46,114
27.07.2018 11:57:14
25,200
3bd7711b181d8fd59690c9c65714d4aa8ce755c4
Added port mapping and network ports isolators sources to CMake. This adds the relevant options and source files, but with a fatal message if they're used, as we do not yet check for their dependencies. This also adds the `mesos-network-helper` executable as used by the port mapping isolator. Review:
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -422,6 +422,32 @@ if (LINUX)\nmessage(FATAL_ERROR\n\"The XFS disk isolator is not yet supported, see MESOS-9117.\")\nendif ()\n+\n+ option(ENABLE_PORT_MAPPING_ISOLAT...
C++
Apache License 2.0
apache/mesos
Added port mapping and network ports isolators sources to CMake. This adds the relevant options and source files, but with a fatal message if they're used, as we do not yet check for their dependencies. This also adds the `mesos-network-helper` executable as used by the port mapping isolator. Review: https://reviews....
46,114
01.08.2018 14:22:16
25,200
a1052300f3a85339c4eb98693b02c9afa45d6fc4
Replaced `<stout/windows/os.hpp>` with `<stout/os.hpp>` in stout. The intent is that `os.hpp` includes the correct OS-specific header, `windows/os.hpp` or `posix/os.hpp`, automatically. They should never be included manually. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/kill.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/kill.hpp", "diff": "#include <glog/logging.h>\n+#include <stout/os.hpp>\n#include <stout/windows.hpp>\n-#include <stout/windows/os.hpp>\n-\nnamespace os {\n...
C++
Apache License 2.0
apache/mesos
Replaced `<stout/windows/os.hpp>` with `<stout/os.hpp>` in stout. The intent is that `os.hpp` includes the correct OS-specific header, `windows/os.hpp` or `posix/os.hpp`, automatically. They should never be included manually. Review: https://reviews.apache.org/r/67933/
46,148
01.08.2018 17:27:58
25,200
9457dce1d99b5616d1b5eeb9a344733f6320d7b5
Avoided some expensive copies in the allocator. Avoided unnecessary copies from `sorter->allocation(string client)` calls. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1409,9 +1409,10 @@ void HierarchicalAllocatorProcess::setQuota(\n// Copy allocation information for the quota'ed role.\nif (roleSorter->contai...
C++
Apache License 2.0
apache/mesos
Avoided some expensive copies in the allocator. Avoided unnecessary copies from `sorter->allocation(string client)` calls. Review: https://reviews.apache.org/r/68151/
46,128
03.08.2018 13:42:30
25,200
6177503f52e765885a78721b086de504346578ca
Avoided hostname lookups in the CNI port mapper. Using the `-n` option with `iptables --list` prevents potentially costly reverse hostname lookups. This patch adds this option to the relevant invocation of `iptables` in the CNI port mapper. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/network/cni/plugins/port_mapper/port_mapper.cpp", "new_path": "src/slave/containerizer/mesos/isolators/network/cni/plugins/port_mapper/port_mapper.cpp", "diff": "@@ -310,7 +310,7 @@ Try<Nothing> PortMapper::addPortMappin...
C++
Apache License 2.0
apache/mesos
Avoided hostname lookups in the CNI port mapper. Using the `-n` option with `iptables --list` prevents potentially costly reverse hostname lookups. This patch adds this option to the relevant invocation of `iptables` in the CNI port mapper. Review: https://reviews.apache.org/r/68167/
46,148
03.08.2018 14:35:32
25,200
eaf1b7a360567b25bdcdf4fd23c7b78215668bd3
Added move support for `class Resource_`. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -100,6 +100,22 @@ private:\n}\n}\n+ /*implicit*/ Resource_(Resource&& _resource)\n+ : resource(std::move(_resource)),\n+ sharedCount(None())\n+ {\n+ // Setting the counter to ...
C++
Apache License 2.0
apache/mesos
Added move support for `class Resource_`. Review: https://reviews.apache.org/r/68196/
46,057
06.08.2018 12:16:23
-7,200
9127c792c5a20aee2f31a2e56854c2490a9ca608
Updated git repository url. With the move to gitbox, the canonical upstream url changed from `git-wip-us.apache.org` to `gitbox.apache.org`. Review:
[ { "change_type": "MODIFY", "old_path": "docs/building.md", "new_path": "docs/building.md", "diff": "@@ -14,9 +14,9 @@ There are different ways you can get Mesos:\n$ wget http://www.apache.org/dist/mesos/1.6.1/mesos-1.6.1.tar.gz\n$ tar -zxf mesos-1.6.1.tar.gz\n-2\\. Clone the Mesos git [repository](h...
C++
Apache License 2.0
apache/mesos
Updated git repository url. With the move to gitbox, the canonical upstream url changed from `git-wip-us.apache.org` to `gitbox.apache.org`. Review: https://reviews.apache.org/r/68227/
46,114
06.08.2018 09:49:54
25,200
3bb310828d862a2b670bbdd49cbd9bcec65bba2f
Fixed `mesos-style.py` for Windows. Due to an unfortunate platform difference, the `virtualenv` subfolder is `Script` instead of `bin` on Windows. Some hacky inline scripting was done to mimic the shell script `build-virtualenv` to build the `virtualenv` on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "support/python3/mesos-style.py", "new_path": "support/python3/mesos-style.py", "diff": "\"\"\"Runs checks for mesos style.\"\"\"\nimport os\n+import platform\nimport re\nimport string\nimport subprocess\n@@ -149,11 +150,15 @@ class LinterBase(object):\ngiven c...
C++
Apache License 2.0
apache/mesos
Fixed `mesos-style.py` for Windows. Due to an unfortunate platform difference, the `virtualenv` subfolder is `Script` instead of `bin` on Windows. Some hacky inline scripting was done to mimic the shell script `build-virtualenv` to build the `virtualenv` on Windows. Review: https://reviews.apache.org/r/68238
46,188
03.08.2018 23:09:26
25,200
43e9c5214e2199a507ecbf8c0972bdf423f55a80
Updated port mapper CNI test. This patch updated the port mapper CNI test to launch multiple containers concurrently. This would allow us to catch the scenarios where multiple iptables commands are executed concurrently. This test fails if the fix for is not included. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/values.hpp", "new_path": "src/common/values.hpp", "diff": "#include <limits>\n#include <type_traits>\n+#include <vector>\n#include <mesos/mesos.hpp>\n@@ -54,6 +55,30 @@ Try<IntervalSet<T>> rangesToIntervalSet(const Value::Ranges& ranges)\n}\n+templa...
C++
Apache License 2.0
apache/mesos
Updated port mapper CNI test. This patch updated the port mapper CNI test to launch multiple containers concurrently. This would allow us to catch the scenarios where multiple iptables commands are executed concurrently. This test fails if the fix for MESOS-9125 is not included. Review: https://reviews.apache.org/r/...
46,148
06.08.2018 19:04:05
25,200
5cde1e24e655d107d92fde2eda487883972c2466
Added move support for `Resources`. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -389,14 +389,18 @@ public:\n// TODO(jieyu): Consider using C++11 initializer list.\n/*implicit*/ Resources(const Resource& resource);\n+ /*implicit*/ Resources(Resource&& reso...
C++
Apache License 2.0
apache/mesos
Added move support for `Resources`. Review: https://reviews.apache.org/r/68197/
46,148
06.08.2018 19:17:21
25,200
23cb8da5f267963232c2985c82de721dbf0ef72d
Added tests for `Resources` move semantics. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/resources_tests.cpp", "new_path": "src/tests/resources_tests.cpp", "diff": "@@ -797,6 +797,47 @@ TEST(ResourcesTest, Resources)\n}\n+TEST(ResourcesTest, MoveConstruction)\n+{\n+ const Resources r = CHECK_NOTERROR(Resources::parse(\n+ \"cpus:45.55;mem...
C++
Apache License 2.0
apache/mesos
Added tests for `Resources` move semantics. Review: https://reviews.apache.org/r/68242/
46,148
06.08.2018 19:30:55
25,200
8132c64502717e10277297f4958f5f78a7b96093
Added ref-qualified addition operations to `Resources`. This patch futher adds move support for `Resources` addition operations when the lhs is an rvalue reference. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -618,17 +618,20 @@ public:\n// doing subtraction), the semantics is as though the second operand\n// was actually just an empty resource (as though you didn't do the\n// opera...
C++
Apache License 2.0
apache/mesos
Added ref-qualified addition operations to `Resources`. This patch futher adds move support for `Resources` addition operations when the lhs is an rvalue reference. Review: https://reviews.apache.org/r/68248/
46,057
07.08.2018 11:46:37
-7,200
5a324476b6a1a480b1204493e90de2cd20b9788e
Removed unused local variable in `slave.cpp`. Removed the computation of `subject` in function `Slave::authorizeSandboxAccess` since it was unused since the introduction of ObjectApprovers in commit Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -8499,9 +8499,6 @@ Future<bool> Slave::authorizeSandboxAccess(\nreturn true;\n}\n- // Set authorization subject.\n- Option<authorization::Subject> subject = createSubject(principal);\n-\nretu...
C++
Apache License 2.0
apache/mesos
Removed unused local variable in `slave.cpp`. Removed the computation of `subject` in function `Slave::authorizeSandboxAccess` since it was unused since the introduction of ObjectApprovers in commit 83dd7f8724. Review: https://reviews.apache.org/r/68229/
46,148
07.08.2018 15:35:15
25,200
2116a3e95db60a1023ca4d65c7d62bd99c561bb3
Removed unused operator overloads in `Resources`. `Resources::operator+(Resource_)` (and minus counterparts) are currently not used. This patch removes these overloads. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resources.hpp", "new_path": "include/mesos/resources.hpp", "diff": "@@ -668,13 +668,9 @@ private:\nvoid add(Resource_&& r);\nvoid subtract(const Resource_& r);\n- Resources operator+(const Resource_& that) const;\nResources& operator+=(const Reso...
C++
Apache License 2.0
apache/mesos
Removed unused operator overloads in `Resources`. `Resources::operator+(Resource_)` (and minus counterparts) are currently not used. This patch removes these overloads. Review: https://reviews.apache.org/r/68262/
46,165
07.08.2018 18:38:19
25,200
f6bc818541828e26b760aec1467e06d43d9f3082
Added a libprocess video to the readme.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/README.md", "new_path": "3rdparty/libprocess/README.md", "diff": "@@ -6,6 +6,7 @@ libprocess provides general primitives and abstractions for asynchronous program\n## Table of Contents\n+* [Presentations](#presentations)\n* [Overview](#over...
C++
Apache License 2.0
apache/mesos
Added a libprocess video to the readme.
46,056
08.08.2018 16:18:48
-7,200
42551cb5290b7b04101f7d800b4b8fd573e47b91
Removed long ago deprecated endpoints.
[ { "change_type": "MODIFY", "old_path": "src/files/files.cpp", "new_path": "src/files/files.cpp", "diff": "@@ -222,25 +222,6 @@ FilesProcess::FilesProcess(\nvoid FilesProcess::initialize()\n{\n- // TODO(ijimenez): Remove these endpoints at the end of the\n- // deprecation cycle on 0.26.\n- route(\"/b...
C++
Apache License 2.0
apache/mesos
Removed long ago deprecated endpoints.
46,066
09.08.2018 11:46:53
-7,200
483e9a9a6477c38f7d33db1c5477d7721eb7a82e
Removed code using no longer existing endpoints. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/http.cpp", "new_path": "src/common/http.cpp", "diff": "@@ -99,11 +99,9 @@ namespace internal {\nhashset<string> AUTHORIZABLE_ENDPOINTS{\n\"/containers\",\n\"/files/debug\",\n- \"/files/debug.json\",\n\"/logging/toggle\",\n\"/metrics/snapshot\",\n- \...
C++
Apache License 2.0
apache/mesos
Removed code using no longer existing endpoints. Review: https://reviews.apache.org/r/68276/
46,111
27.07.2018 11:00:52
25,200
c57fe98aba809bc415910730a800f534be1ce213
Replaced `cgroups::DESTROY_TIMEOUT` with new agent flag. The new agent flag can be used to reconfigure how long a container destroy is allowed to take on Mesos containerizer. Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/cgroups.hpp", "new_path": "src/linux/cgroups.hpp", "diff": "namespace cgroups {\n-// Suggested timeout for use with the convenience version of\n-// cgroups::destroy(); it is not a default timeout and must be\n-// explicitly specified.\n-const Duratio...
C++
Apache License 2.0
apache/mesos
Replaced `cgroups::DESTROY_TIMEOUT` with new agent flag. The new agent flag can be used to reconfigure how long a container destroy is allowed to take on Mesos containerizer. Review: https://reviews.apache.org/r/68088
46,111
30.07.2018 11:07:18
25,200
31699aabefb50901deeb8e92e83768f59b58b3f5
Documented new `--cgroups_destroy_timeout` agent option. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration/agent.md", "new_path": "docs/configuration/agent.md", "diff": "@@ -265,6 +265,17 @@ inside a container. (default: false)\n</td>\n</tr>\n+<tr id=\"cgroups_destroy_timeout\">\n+ <td>\n+ --cgroups_destroy_timeout=VALUE\n+ </td>\n+ <td>\n+Amount...
C++
Apache License 2.0
apache/mesos
Documented new `--cgroups_destroy_timeout` agent option. Review: https://reviews.apache.org/r/68299
46,111
10.08.2018 11:09:04
25,200
2150f13e856491ef0a5968cd977b16a28f8eae2f
Added `gpus` to failure message. This message would be propagated all the way to scheduler, so making it explicit that this is related to gpu can speed up debugging. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/gpu/allocator.cpp", "new_path": "src/slave/containerizer/mesos/isolators/gpu/allocator.cpp", "diff": "@@ -255,7 +255,7 @@ public:\nFuture<set<Gpu>> allocate(size_t count)\n{\nif (available.size() < count) {\n- return Fai...
C++
Apache License 2.0
apache/mesos
Added `gpus` to failure message. This message would be propagated all the way to scheduler, so making it explicit that this is related to gpu can speed up debugging. Review: https://reviews.apache.org/r/68300
46,087
10.08.2018 16:33:59
25,200
138bfbbba85653f48451d7708932e30bc97795aa
Fixed gRPC compilation for non-SSL build. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/grpc-1.10.0.patch", "new_path": "3rdparty/grpc-1.10.0.patch", "diff": "+diff --git a/Makefile b/Makefile\n+index 8bab9c3afd..9f8261f0a4 100644\n+--- a/Makefile\n++++ b/Makefile\n+@@ -15461,8 +15461,6 @@ $(OBJDIR)/$(CONFIG)/src/proto/grpc/testing/stats...
C++
Apache License 2.0
apache/mesos
Fixed gRPC compilation for non-SSL build. Review: https://reviews.apache.org/r/68303/
46,188
10.08.2018 09:37:21
25,200
3d947c46b7015a50af373f78bcf6cec5f344c78b
Re-enabled the flaky CNI port mapper test. On some platforms, the iptables command is too old. This patch add a test filter for checking that. Also, used `executorTerminated` as a way to wait for the termination of the executor, instead of using gc schedule signal.
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "@@ -1871,7 +1871,7 @@ public:\n};\n-TEST_F(CniIsolatorPortMapperTest, DISABLED_ROOT_NC_PortMapper)\n+TEST_F(CniIsolatorPortMapperTest, ROOT_...
C++
Apache License 2.0
apache/mesos
Re-enabled the flaky CNI port mapper test. On some platforms, the iptables command is too old. This patch add a test filter for checking that. Also, used `executorTerminated` as a way to wait for the termination of the executor, instead of using gc schedule signal.
46,173
13.08.2018 16:20:27
25,200
fd762943c928be810ba4c2c0aab9e9a6ebc399e8
Call any function in a specified namespace. The NamespaceRunner runs any function in a specified namespace. To do that it manages a separate thread which would be re-associated with that namespace. Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/ns.hpp", "new_path": "src/linux/ns.hpp", "diff": "#include <sys/syscall.h>\n+#include <queue>\n#include <set>\n#include <string>\n+#include <thread>\n+\n+#include <process/future.hpp>\n#include <stout/lambda.hpp>\n#include <stout/nothing.hpp>\n+#incl...
C++
Apache License 2.0
apache/mesos
Call any function in a specified namespace. The NamespaceRunner runs any function in a specified namespace. To do that it manages a separate thread which would be re-associated with that namespace. Review: https://reviews.apache.org/r/68053/
46,188
13.08.2018 15:51:30
25,200
3c79314e24592b6bd82457249746500d27c4e072
Made CNI isolator cleanup more robust. If the container is destroyed while in isolator preparing state, the cleanup might fail due to missing files or directories. This patch makes the cleanup path in CNI isolator more robust so that the cleanup does not fail in those scenarios. 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": "@@ -1565,6 +1565,7 @@ Future<Nothing> NetworkCniIsolatorProcess::_cleanup(\n<< target << \"' for container \" << c...
C++
Apache License 2.0
apache/mesos
Made CNI isolator cleanup more robust. If the container is destroyed while in isolator preparing state, the cleanup might fail due to missing files or directories. This patch makes the cleanup path in CNI isolator more robust so that the cleanup does not fail in those scenarios. Review: https://reviews.apache.org/r/6...
46,188
13.08.2018 15:53:33
25,200
64400867a984794320cd38e43dc694a863128f9e
Used state::checkpoint instead in CNI isolator. This is to ensure all or nothing semantics. We don't want to deal with a particially written file in case agent crashes. 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": "#include \"linux/fs.hpp\"\n#include \"linux/ns.hpp\"\n+#include \"slave/state.hpp\"\n+\nnamespace io = process::io...
C++
Apache License 2.0
apache/mesos
Used state::checkpoint instead in CNI isolator. This is to ensure all or nothing semantics. We don't want to deal with a particially written file in case agent crashes. Review: https://reviews.apache.org/r/68334
46,188
13.08.2018 15:48:21
25,200
232b2739a1c2cbfab81a51af5a78327dbe29a56e
Added a CNI test to verify destroy while preparing. This test is used to catch the regression described in Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "#include <process/clock.hpp>\n#include <process/collect.hpp>\n+#include <process/owned.hpp>\n#include \"common/values.hpp\"\n#include \"slav...
C++
Apache License 2.0
apache/mesos
Added a CNI test to verify destroy while preparing. This test is used to catch the regression described in MESOS-9142. Review: https://reviews.apache.org/r/68335
46,055
14.08.2018 16:19:13
25,200
374f7720bf2fdb2ab9dc584618c7ae51b2a9b416
Updated `volume/host_path` isolator to honor volume mode. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/volume/host_path.cpp", "new_path": "src/slave/containerizer/mesos/isolators/volume/host_path.cpp", "diff": "@@ -309,11 +309,17 @@ Future<Option<ContainerLaunchInfo>> VolumeHostPathIsolatorProcess::prepare(\n// result, no...
C++
Apache License 2.0
apache/mesos
Updated `volume/host_path` isolator to honor volume mode. Review: https://reviews.apache.org/r/68212/
46,055
14.08.2018 16:19:18
25,200
782ef70c20d6e93a045b8f5b4d533adf3f8869d6
Added a test `VolumeHostPathIsolatorTest.ROOT_ReadOnlyVolumeFromHost`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/volume_host_path_isolator_tests.cpp", "new_path": "src/tests/containerizer/volume_host_path_isolator_tests.cpp", "diff": "@@ -116,6 +116,62 @@ TEST_F(VolumeHostPathIsolatorTest, ROOT_VolumeFromHost)\n}\n+// This test verifies that a con...
C++
Apache License 2.0
apache/mesos
Added a test `VolumeHostPathIsolatorTest.ROOT_ReadOnlyVolumeFromHost`. Review: https://reviews.apache.org/r/68213/
46,055
14.08.2018 16:19:21
25,200
1631ce9a69f23dbc51985d00436715c11812f89f
Updated `volume/sandbox_path` isolator to honor volume mode. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/volume/sandbox_path.cpp", "new_path": "src/slave/containerizer/mesos/isolators/volume/sandbox_path.cpp", "diff": "@@ -379,12 +379,26 @@ Future<Option<ContainerLaunchInfo>> VolumeSandboxPathIsolatorProcess::prepare(\nmoun...
C++
Apache License 2.0
apache/mesos
Updated `volume/sandbox_path` isolator to honor volume mode. Review: https://reviews.apache.org/r/68214/
46,055
14.08.2018 16:19:25
25,200
cba4ef850c343a9f41b32608c6df8f9615c6f623
Added a test `VolumeSandboxPathIsolatorTest.ROOT_SelfTypeReadOnly`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/volume_sandbox_path_isolator_tests.cpp", "new_path": "src/tests/containerizer/volume_sandbox_path_isolator_tests.cpp", "diff": "@@ -108,6 +108,59 @@ TEST_F(VolumeSandboxPathIsolatorTest, ROOT_SelfType)\nEXPECT_SOME_EQ(\"abc\\n\", os::re...
C++
Apache License 2.0
apache/mesos
Added a test `VolumeSandboxPathIsolatorTest.ROOT_SelfTypeReadOnly`. Review: https://reviews.apache.org/r/68215/
46,055
14.08.2018 16:19:28
25,200
83a9df6c6dd93c26c9cf9b5e70628102342ffdbe
Updated `volume/image` isolator to honor volume mode. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/volume/image.cpp", "new_path": "src/slave/containerizer/mesos/isolators/volume/image.cpp", "diff": "@@ -113,7 +113,11 @@ Future<Option<ContainerLaunchInfo>> VolumeImageIsolatorProcess::prepare(\nreturn Failure(\"Can only...
C++
Apache License 2.0
apache/mesos
Updated `volume/image` isolator to honor volume mode. Review: https://reviews.apache.org/r/68216/
46,055
14.08.2018 16:19:31
25,200
6d1af986c323295af71e7dbbf3319742a906bf77
Added a test `ROOT_ImageInReadOnlyVolumeWithoutRootFilesystem`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/volume_image_isolator_tests.cpp", "new_path": "src/tests/containerizer/volume_image_isolator_tests.cpp", "diff": "@@ -244,6 +244,91 @@ TEST_P(VolumeImageIsolatorTest, ROOT_ImageInVolumeWithRootFilesystem)\n}\n}\n+\n+// This test verifie...
C++
Apache License 2.0
apache/mesos
Added a test `ROOT_ImageInReadOnlyVolumeWithoutRootFilesystem`. Review: https://reviews.apache.org/r/68218/
46,055
14.08.2018 16:19:34
25,200
085e8419830fa208d3ee982000426bb4cd651798
Updated `volume/secret` isolator to honor volume mode. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/volume/secret.cpp", "new_path": "src/slave/containerizer/mesos/isolators/volume/secret.cpp", "diff": "@@ -276,6 +276,19 @@ Future<Option<ContainerLaunchInfo>> VolumeSecretIsolatorProcess::prepare(\ncommand->add_arguments...
C++
Apache License 2.0
apache/mesos
Updated `volume/secret` isolator to honor volume mode. Review: https://reviews.apache.org/r/68219/
46,055
14.08.2018 16:19:37
25,200
c27597660b3498c217ef0e237c6174669488025e
Updated the test `ROOT_SecretInVolumeWithRootFilesystem`. This test is updated to cover both read-write and read-only volume. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/volume_secret_isolator_tests.cpp", "new_path": "src/tests/containerizer/volume_secret_isolator_tests.cpp", "diff": "@@ -65,7 +65,11 @@ enum CONTAINER_LAUNCH_STATUS {\nclass VolumeSecretIsolatorTest :\npublic MesosTest,\npublic ::testing...
C++
Apache License 2.0
apache/mesos
Updated the test `ROOT_SecretInVolumeWithRootFilesystem`. This test is updated to cover both read-write and read-only volume. Review: https://reviews.apache.org/r/68220/
46,055
14.08.2018 16:19:41
25,200
49d3cd43cd668bc37b8ed3ee563e13e95214b3b7
Updated `docker/volume` isolator to honor volume mode. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp", "new_path": "src/slave/containerizer/mesos/isolators/docker/volume/isolator.cpp", "diff": "@@ -326,7 +326,7 @@ Future<Option<ContainerLaunchInfo>> DockerVolumeIsolatorProcess::prepare(\n// Th...
C++
Apache License 2.0
apache/mesos
Updated `docker/volume` isolator to honor volume mode. Review: https://reviews.apache.org/r/68221/
46,055
14.08.2018 16:19:44
25,200
4a421476ef6e924fcea5b33087a8cd3310b7bd5f
Added 2 tests for `docker/volume` isolator to cover read-only volume. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/docker_volume_isolator_tests.cpp", "new_path": "src/tests/containerizer/docker_volume_isolator_tests.cpp", "diff": "@@ -1114,6 +1114,273 @@ TEST_F(DockerVolumeIsolatorTest,\ndriver.join();\n}\n+\n+// This test verifies that a container ...
C++
Apache License 2.0
apache/mesos
Added 2 tests for `docker/volume` isolator to cover read-only volume. Review: https://reviews.apache.org/r/68222/
46,165
14.08.2018 12:21:32
25,200
167b847f67e98bc62bbc569834fae1531efacf51
Adjusted a test to conform to the new libprocess test filter interface. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_contender_detector_tests.cpp", "new_path": "src/tests/master_contender_detector_tests.cpp", "diff": "@@ -322,8 +322,9 @@ TEST_F(ZooKeeperMasterContenderDetectorTest, ContenderPendingElection)\n// ZooKeeperMasterContender directly returns.\nEXP...
C++
Apache License 2.0
apache/mesos
Adjusted a test to conform to the new libprocess test filter interface. Review: https://reviews.apache.org/r/68350
46,165
13.08.2018 14:50:50
25,200
915f0f6782f00dfef4ad8b3bdb4f66e35f9fdae5
Introduced FUTURE_EXITED and DROP_EXITED in libprocess. These extend the existing event expectations to handle `ExitedEvent`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/gmock.hpp", "new_path": "3rdparty/libprocess/include/process/gmock.hpp", "diff": "#define DROP_MESSAGE(name, from, to) \\\nprocess::FutureMessage(name, from, to, true)\n+\n// The mechanism of how we match method dispatches i...
C++
Apache License 2.0
apache/mesos
Introduced FUTURE_EXITED and DROP_EXITED in libprocess. These extend the existing event expectations to handle `ExitedEvent`. Review: https://reviews.apache.org/r/68326
46,165
13.08.2018 15:10:00
25,200
f148eb2068a374cfd90b0032b49b8060fbea7154
Added tests for FUTURE_EXITED and DROP_EXITED. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "new_path": "3rdparty/libprocess/src/tests/process_tests.cpp", "diff": "@@ -696,6 +696,8 @@ TEST(ProcessTest, Donate)\n}\n+// TODO(bmahler): Use an RAII-wrapper here to prevent crashes\n+// during test assertio...
C++
Apache License 2.0
apache/mesos
Added tests for FUTURE_EXITED and DROP_EXITED. Review: https://reviews.apache.org/r/68327
46,055
16.08.2018 14:50:54
-28,800
b0aff2c54065b02f3b5c5445d239fc01e3c0e979
Documented the volume mode support.
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -51,6 +51,7 @@ We categorize the changes as follows:\n<li>A <a href=\"#1-7-x-linux-devices-isolator\">Linux devices isolator</a></li>\n<li>A <a href=\"#1-7-x-auto-load-subsystems\">Automatically lo...
C++
Apache License 2.0
apache/mesos
Documented the volume mode support.
46,148
16.08.2018 14:36:37
25,200
2b895563223230d86a60982174b4a383dbe28b17
Added two agent flags for min/max authentication retry interval. flags.authentication_timeout_min controls the minimum amount of time the agent waits before retrying authenticating with the master after a failed attempt. flags.authentication_timeout_max controls the maximum amount of time the agent waits before retryin...
[ { "change_type": "MODIFY", "old_path": "docs/authentication.md", "new_path": "docs/authentication.md", "diff": "@@ -115,6 +115,20 @@ Mesos master and agent processes. For more information, refer to the\nformat) of accepted credentials. This may be optional depending on the\nauthenticator being used....
C++
Apache License 2.0
apache/mesos
Added two agent flags for min/max authentication retry interval. flags.authentication_timeout_min controls the minimum amount of time the agent waits before retrying authenticating with the master after a failed attempt. flags.authentication_timeout_max controls the maximum amount of time the agent waits before retry...
46,178
16.08.2018 14:27:38
25,200
03a297d80e48f0c6f7ca495b7a25e7573607e5b5
Fixed grpc compilation for directory paths with symlinks. Automake variable `abs_builddir` doesn't resolve symlinks so we explicitly call `realpath` on grpc targets. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/Makefile.am", "new_path": "3rdparty/Makefile.am", "diff": "@@ -442,7 +442,7 @@ $(GRPC)-build-stamp: $(GRPC)-stamp \\\nCFLAGS=\"$(CFLAGS)\" \\\nCXXFLAGS=\"$(CXXFLAGS)\" \\\n$(MAKE) $(AM_MAKEFLAGS) \\\n- $(LIB_GRPC:%=$(abs_builddir)/%) \\\n+ $(LIB_GRPC:...
C++
Apache License 2.0
apache/mesos
Fixed grpc compilation for directory paths with symlinks. Automake variable `abs_builddir` doesn't resolve symlinks so we explicitly call `realpath` on grpc targets. Review: https://reviews.apache.org/r/68393/
46,114
17.08.2018 17:10:44
25,200
0ac5af21d7d2408b91e877b163c8c70b6ef81438
Fixed Windows build break. The `SETSID()` and `UNSET_CLOEXEC()` child hooks do not exist on Windows (in fact, no child hooks exist on Windows).
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/launcher.cpp", "new_path": "src/slave/containerizer/mesos/launcher.cpp", "diff": "@@ -121,12 +121,14 @@ Try<pid_t> SubprocessLauncher::fork(\nvector<Subprocess::ChildHook> childHooks;\n+#ifndef __WINDOWS__\nchildHooks.push_back(Su...
C++
Apache License 2.0
apache/mesos
Fixed Windows build break. The `SETSID()` and `UNSET_CLOEXEC()` child hooks do not exist on Windows (in fact, no child hooks exist on Windows).
46,057
20.08.2018 09:56:07
-7,200
6dc4d778e5761158a7f33736f45e3efb024b6d2e
Removed Principal object from ObjectApprovers class. After creation on an `ObjectApprovers` instance, the principal is only required for providing meaningful log messages. This commit encodes that at the type system by storing the principal as a string as opposed to a `Principal` object. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/http.hpp", "new_path": "src/common/http.hpp", "diff": "@@ -202,10 +202,7 @@ public:\nbool approved(const Args&... args)\n{\nif (!approvers.contains(action)) {\n- LOG(WARNING) << \"Attempted to authorize \"\n- << (principal.isSome()\n- ? \"'\" + stri...
C++
Apache License 2.0
apache/mesos
Removed Principal object from ObjectApprovers class. After creation on an `ObjectApprovers` instance, the principal is only required for providing meaningful log messages. This commit encodes that at the type system by storing the principal as a string as opposed to a `Principal` object. Review: https://reviews.apac...
46,178
20.08.2018 16:41:51
14,400
95298d69bb5e1255d859f0fea62aaf69a8fb232b
Updated the website for the 1.4.2 release.
[ { "change_type": "MODIFY", "old_path": "site/data/releases.yml", "new_path": "site/data/releases.yml", "diff": "@@ -15,6 +15,9 @@ news:\n## - title: (required)\n## date: (required)\n## blog: (required)\n+ - title: Mesos 1.4.2 is released!\n+ date: August 20, 2018\n+ blog: mesos-1-4-2-released\n- tit...
C++
Apache License 2.0
apache/mesos
Updated the website for the 1.4.2 release.
46,129
16.08.2018 11:03:52
25,200
7a7a879310a5c01b69c8a56b3c1d85555888ec3e
Updated the ::pipe() system calls to pipe2 in posix subprocess. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/posix/subprocess.cpp", "new_path": "3rdparty/libprocess/src/posix/subprocess.cpp", "diff": "#include <stout/foreach.hpp>\n#include <stout/option.hpp>\n#include <stout/os.hpp>\n+#include <stout/os/pipe.hpp>\n#include <stout/os/strerror.h...
C++
Apache License 2.0
apache/mesos
Updated the ::pipe() system calls to pipe2 in posix subprocess. Review: https://reviews.apache.org/r/68396
46,129
16.08.2018 11:05:41
25,200
3f49cf4351d200e4ba0ac7aa2cb69791b2786a23
Updated the ::pipe() system calls to pipe2 in lib_logrotate. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/container_loggers/lib_logrotate.cpp", "new_path": "src/slave/container_loggers/lib_logrotate.cpp", "diff": "#include <stout/os/environment.hpp>\n#include <stout/os/fcntl.hpp>\n#include <stout/os/killtree.hpp>\n+#include <stout/os/pipe.hpp>\n#ifdef __...
C++
Apache License 2.0
apache/mesos
Updated the ::pipe() system calls to pipe2 in lib_logrotate. Review: https://reviews.apache.org/r/68397
46,057
21.08.2018 08:10:09
-7,200
943aa2c984bfab59e327e96e955a2de72b91218f
Moved state serialization into separate function. In preparation for the changes in the subsequent commit, the serialization logic was moved from an inner lambda to a separate function. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -2871,19 +2871,12 @@ Future<Response> Master::Http::deferStateRequest(\n}\n-void Master::Http::processStateRequestsBatch()\n+process::http::Response Master::ReadOnlyHandler::state(\n+ const p...
C++
Apache License 2.0
apache/mesos
Moved state serialization into separate function. In preparation for the changes in the subsequent commit, the serialization logic was moved from an inner lambda to a separate function. Review: https://reviews.apache.org/r/68343/
46,057
21.08.2018 08:10:38
-7,200
c6c078e94865ad07abb4a12c5478a2bc46fc9eb4
Added 'handler' field to batched requests. This commit adds a handler field to be able to batch arbitrary requests, instead of having a hard-coded dispatch to `state`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -2843,27 +2843,31 @@ Future<Response> Master::Http::state(\n.then(defer(\nmaster->self(),\n[this, request](const Owned<ObjectApprovers>& approvers) {\n- return deferStateRequest(request, appr...
C++
Apache License 2.0
apache/mesos
Added 'handler' field to batched requests. This commit adds a handler field to be able to batch arbitrary requests, instead of having a hard-coded dispatch to `state`. Review: https://reviews.apache.org/r/68296/
46,056
21.08.2018 11:26:51
-7,200
d5df88d5cb31d5cdf4dae9022c42503ad2191162
Highlighted in the 1.7.0 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -27,6 +27,11 @@ This release contains the following new features:\n* [MESOS-5647] - Expose network statistics for containers on CNI\nnetwork in the `network/cni` isolator.\n+ * [MESOS-9122] - Batch v0 '/state' r...
C++
Apache License 2.0
apache/mesos
Highlighted MESOS-9122 in the 1.7.0 CHANGELOG.
46,178
15.08.2018 19:26:39
14,400
d78878493ed1685a3eee6fbdaa32d4e204aaeb14
Updated Zookeeper patch to fix format error. This is a backport of: Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/zookeeper-3.4.8.patch", "new_path": "3rdparty/zookeeper-3.4.8.patch", "diff": "@@ -1745,3 +1745,28 @@ index dc3ab43e3..000000000\n- <Globals>\n- </Globals>\n-</VisualStudioProject>\n+From 4343ef1db40ebe2a744326000eff725deb55f97f Mon Sep 17 00:00:00 20...
C++
Apache License 2.0
apache/mesos
Updated Zookeeper patch to fix format error. This is a backport of: https://github.com/apache/zookeeper/pull/559/ Review: https://reviews.apache.org/r/68370/
46,091
21.08.2018 10:42:46
25,200
21bddc30d756ae673a062c7cf23c0f064bafb275
Refactored ReviewBoard API functionality into separate module. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "support/python3/common.py", "diff": "+#!/usr/bin/env python3\n+#\n+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distributed with this work for additional informa...
C++
Apache License 2.0
apache/mesos
Refactored ReviewBoard API functionality into separate module. Review: https://reviews.apache.org/r/67502/