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,128 | 11.02.2020 10:35:10 | 28,800 | 65e18bef2c5ff356ef74bac9aa79b128c5b186d9 | Removed remaining domain socket code from the Windows build.
These changes are needed to get the tests to run.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/flags.hpp",
"new_path": "src/slave/flags.hpp",
"diff": "@@ -182,8 +182,10 @@ public:\n#ifdef USE_SSL_SOCKET\nbool authenticate_http_executors;\n#endif // USE_SSL_SOCKET\n+#ifndef __WINDOWS__\nbool http_executor_domain_sockets;\nOption<std::string> do... | C++ | Apache License 2.0 | apache/mesos | Removed remaining domain socket code from the Windows build.
These changes are needed to get the tests to run.
Review: https://reviews.apache.org/r/72114/ |
46,072 | 13.02.2020 12:39:24 | -3,600 | 2113b76b861af1233151d1a64117795d18b0c3eb | Fixed HTTP framework disconnection/removal to terminate heartbeater.
This patch gets rid of idle-looping heartbeater processes
that previously could occur after HTTP framework disconnection
(see
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -3316,11 +3316,7 @@ void Master::disconnect(Framework* framework)\n// a framework will always reauthenticate before (re-)registering.\nauthenticated.erase(framework->pid.get());\n} else {... | C++ | Apache License 2.0 | apache/mesos | Fixed HTTP framework disconnection/removal to terminate heartbeater.
This patch gets rid of idle-looping heartbeater processes
that previously could occur after HTTP framework disconnection
(see MESOS-10097).
Review: https://reviews.apache.org/r/72130 |
46,072 | 20.01.2020 19:39:19 | -3,600 | cb8106fb7fc9282232a98b27bd1aca43c52a7f69 | Made `http`, `pid` and `heartbeater` of `Framework` private.
This is a prerequisite to localizing mutations of connection-related
state of `Framework` to a limited set of `Framework` methods
in the next patch.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/framework.cpp",
"new_path": "src/master/framework.cpp",
"diff": "@@ -27,11 +27,11 @@ Framework::Framework(\nMaster* const master,\nconst Flags& masterFlags,\nconst FrameworkInfo& info,\n- const process::UPID& _pid,\n+ const process::UPID& pid,\ncons... | C++ | Apache License 2.0 | apache/mesos | Made `http`, `pid` and `heartbeater` of `Framework` private.
This is a prerequisite to localizing mutations of connection-related
state of `Framework` to a limited set of `Framework` methods
in the next patch.
Review: https://reviews.apache.org/r/72094 |
46,053 | 21.02.2020 12:08:47 | -3,600 | 360e8838d08eb07496b2c3e6bcd511348ce488b0 | Removed reimplementation of `cloexec` from systemd activation code.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/linux/systemd.cpp",
"new_path": "src/linux/systemd.cpp",
"diff": "@@ -337,30 +337,6 @@ Try<Nothing> start(const string& name)\nnamespace socket_activation {\n-static Try<Nothing> setCloexecFlag(int fd, bool cloexec)\n-{\n- CHECK(fd >= 0) << \"Invalid file ... | C++ | Apache License 2.0 | apache/mesos | Removed reimplementation of `cloexec` from systemd activation code.
Review: https://reviews.apache.org/r/72157 |
46,165 | 28.01.2020 13:42:36 | 18,000 | df9e3a655467a3036ac7540c13266b6725654572 | Improved performance of v1 agent operator API GET_METRICS call.
This follow the same approach used for the master's GET_METRICS call:
That is, serializing directly to protobuf or json from the in-memory
v0 state.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/http.hpp",
"new_path": "src/common/http.hpp",
"diff": "@@ -214,6 +214,116 @@ JSON::Object model(const FileInfo& fileInfo);\nvoid json(JSON::ObjectWriter* writer, const Task& task);\n+\n+// NOTE: The `metrics` object provided as an argument must outl... | C++ | Apache License 2.0 | apache/mesos | Improved performance of v1 agent operator API GET_METRICS call.
This follow the same approach used for the master's GET_METRICS call:
https://github.com/apache/mesos/commit/469f2ebaf65b1642d1eb4a1df81a
https://github.com/apache/mesos/commit/3dda3622f5ed01e8c132dc5ca594
That is, serializing directly to protobuf or js... |
46,165 | 30.01.2020 15:37:55 | 18,000 | ea2dcb4aed02b7406c562b37e3d0afaeda0304b6 | Improved performance of v1 agent operator API GET_FRAMEWORKS call.
This follow the same approach used for the master's v1 calls:
That is, serializing directly to protobuf or json from the in-memory
v0 state.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/http.cpp",
"new_path": "src/slave/http.cpp",
"diff": "@@ -1555,7 +1555,7 @@ Future<Response> Http::state(\nFuture<Response> Http::getFrameworks(\nconst mesos::agent::Call& call,\n- ContentType acceptType,\n+ ContentType contentType,\nconst Option<Pri... | C++ | Apache License 2.0 | apache/mesos | Improved performance of v1 agent operator API GET_FRAMEWORKS call.
This follow the same approach used for the master's v1 calls:
https://github.com/apache/mesos/commit/4f4dab961bd45ca444d13b831cdb
https://github.com/apache/mesos/commit/3dda3622f5ed01e8c132dc5ca594
That is, serializing directly to protobuf or json fr... |
46,165 | 30.01.2020 15:39:36 | 18,000 | fd2c7837f52a5148959f006591dd91aa6e83ae7e | Improved performance of v1 agent operator API GET_EXECUTORS call.
This follow the same approach used for the master's v1 calls:
That is, serializing directly to protobuf or json from the in-memory
v0 state.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/http.cpp",
"new_path": "src/slave/http.cpp",
"diff": "@@ -1795,7 +1795,7 @@ mesos::agent::Response::GetFrameworks Http::_getFrameworks(\nFuture<Response> Http::getExecutors(\nconst mesos::agent::Call& call,\n- ContentType acceptType,\n+ ContentType c... | C++ | Apache License 2.0 | apache/mesos | Improved performance of v1 agent operator API GET_EXECUTORS call.
This follow the same approach used for the master's v1 calls:
https://github.com/apache/mesos/commit/6ab835459a452e53fec8982a5aaa
https://github.com/apache/mesos/commit/3dda3622f5ed01e8c132dc5ca594
That is, serializing directly to protobuf or json fro... |
46,165 | 30.01.2020 15:40:59 | 18,000 | 4aff0d7b583172ae890fbe944b268e222779956d | Improved performance of v1 agent operator API GET_TASKS call.
This follow the same approach used for the master's v1 calls:
That is, serializing directly to protobuf or json from the in-memory
v0 state.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/http.cpp",
"new_path": "src/slave/http.cpp",
"diff": "@@ -2143,7 +2143,7 @@ Future<Response> Http::getOperations(\nFuture<Response> Http::getTasks(\nconst mesos::agent::Call& call,\n- ContentType acceptType,\n+ ContentType contentType,\nconst Option<... | C++ | Apache License 2.0 | apache/mesos | Improved performance of v1 agent operator API GET_TASKS call.
This follow the same approach used for the master's v1 calls:
https://github.com/apache/mesos/commit/d7dd4d0e8493331d7b7a21b504eb
https://github.com/apache/mesos/commit/3dda3622f5ed01e8c132dc5ca594
That is, serializing directly to protobuf or json from th... |
46,165 | 30.01.2020 15:43:15 | 18,000 | 0d8c492f7560aecf78d2c9f9ff4dc5f9c980e17b | Improved performance of v1 agent operator API GET_STATE call.
This follow the same approach used for the master's v1 calls:
That is, serializing directly to protobuf or json from the in-memory
v0 state.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/http.cpp",
"new_path": "src/slave/http.cpp",
"diff": "@@ -2690,7 +2690,7 @@ Future<Response> Http::getResourceProviders(\nFuture<Response> Http::getState(\nconst mesos::agent::Call& call,\n- ContentType acceptType,\n+ ContentType contentType,\nconst ... | C++ | Apache License 2.0 | apache/mesos | Improved performance of v1 agent operator API GET_STATE call.
This follow the same approach used for the master's v1 calls:
https://github.com/apache/mesos/commit/1c60f0e4acbac96c34bd90e26515
https://github.com/apache/mesos/commit/3dda3622f5ed01e8c132dc5ca594
That is, serializing directly to protobuf or json from th... |
46,165 | 24.02.2020 21:04:43 | 18,000 | de8875498a799af20ff15eda68064c644dcc6d66 | Minor cleanups to master's GET_* call handlers.
These cleanups are based on the more recent changes to the agent's
GET_* handlers, where these were noticed in code review for the
agent code but the code on the master side has these same issues. | [
{
"change_type": "MODIFY",
"old_path": "src/master/readonly_handler.cpp",
"new_path": "src/master/readonly_handler.cpp",
"diff": "@@ -1218,7 +1218,7 @@ pair<Response, Option<Master::ReadOnlyHandler::PostProcessing>>\n// Construct framework list with both active and completed frameworks.\nvector<cons... | C++ | Apache License 2.0 | apache/mesos | Minor cleanups to master's GET_* call handlers.
These cleanups are based on the more recent changes to the agent's
GET_* handlers, where these were noticed in code review for the
agent code but the code on the master side has these same issues. |
46,177 | 26.02.2020 17:14:50 | -3,600 | e258059d49779a02b6267a9d0829bd244b882ed5 | SSL Socket: Moved accept callback logic into protected function.
To support SSL downgrades, this logic will need to be called
from two potential callsites.
Also fixes a slight typo in a comment within the moved code.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/ssl/openssl_socket.cpp",
"new_path": "3rdparty/libprocess/src/ssl/openssl_socket.cpp",
"diff": "@@ -573,6 +573,85 @@ Future<std::shared_ptr<SocketImpl>> OpenSSLSocketImpl::accept()\nreturn Break();\n}\n+ return self->handle_accept_callb... | C++ | Apache License 2.0 | apache/mesos | SSL Socket: Moved accept callback logic into protected function.
To support SSL downgrades, this logic will need to be called
from two potential callsites.
Also fixes a slight typo in a comment within the moved code.
Review: https://reviews.apache.org/r/72014/ |
46,177 | 26.02.2020 17:14:59 | -3,600 | 4bb7ef93a9555b4c40efa4a1000b560e58ac9858 | SSL Socket: Added downgrade support.
This adds downgrade support, in the same fashion that the
Libevent SSL socket does (and copies a good chunk of the code
from there too). To account for Windows not having `io::poll`,
a slight hack is taken to check for readable bytes.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/ssl/openssl_socket.cpp",
"new_path": "3rdparty/libprocess/src/ssl/openssl_socket.cpp",
"diff": "@@ -573,6 +573,72 @@ Future<std::shared_ptr<SocketImpl>> OpenSSLSocketImpl::accept()\nreturn Break();\n}\n+ // If we support downgrading the... | C++ | Apache License 2.0 | apache/mesos | SSL Socket: Added downgrade support.
This adds downgrade support, in the same fashion that the
Libevent SSL socket does (and copies a good chunk of the code
from there too). To account for Windows not having `io::poll`,
a slight hack is taken to check for readable bytes.
Review: https://reviews.apache.org/r/72017/ |
46,165 | 11.02.2020 15:50:27 | 18,000 | a699b7d55a2ac1eb40599e9d908fa80bec352baf | Fixed incorrect task count logging in master's agent draining logic.
The code was incorrectly printing the framework count, since these
are hashmap<FrameworkID, hashmap<TaskID, Task>>.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -5851,10 +5851,20 @@ void Master::checkAndTransitionDrainingAgent(Slave* slave)\nif (!slave->pendingTasks.empty() ||\n!slave->tasks.empty() ||\n!slave->operations.empty()) {\n+ size_t num... | C++ | Apache License 2.0 | apache/mesos | Fixed incorrect task count logging in master's agent draining logic.
The code was incorrectly printing the framework count, since these
are hashmap<FrameworkID, hashmap<TaskID, Task>>.
Review: https://reviews.apache.org/r/72116 |
46,165 | 12.02.2020 22:11:53 | 18,000 | b3e96e108c7972a3a93b3b3878cc9817026109cb | Added a test to ensure agents cannot be reactivated while DRAINING.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_draining_tests.cpp",
"new_path": "src/tests/master_draining_tests.cpp",
"diff": "#include \"messages/messages.hpp\"\n#include \"tests/cluster.hpp\"\n+#include \"tests/containerizer.hpp\"\n#include \"tests/mesos.hpp\"\n#include \"tests/resource... | C++ | Apache License 2.0 | apache/mesos | Added a test to ensure agents cannot be reactivated while DRAINING.
Review: https://reviews.apache.org/r/72126 |
46,072 | 20.01.2020 17:00:36 | -3,600 | 8a82df8604c552268ca22e2577dc0e03a1731bcf | Added to `ObjectApprovers` a method to approve arbitrary action.
This is needed to use `ObjectApprovers` for authorizing scheduler API
calls.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/http.hpp",
"new_path": "src/common/http.hpp",
"diff": "@@ -370,21 +370,34 @@ public:\nconst Option<process::http::authentication::Principal>& principal,\nstd::initializer_list<authorization::Action> actions);\n- template <authorization::Action actio... | C++ | Apache License 2.0 | apache/mesos | Added to `ObjectApprovers` a method to approve arbitrary action.
This is needed to use `ObjectApprovers` for authorizing scheduler API
calls.
Review: https://reviews.apache.org/r/72093 |
46,072 | 21.01.2020 21:58:23 | -3,600 | b920f60bcee913319fb78427f28f6f5789729478 | Store per-framework ObjectApprovers.
This is a prerequisite to synchronous authorization of scheduler API
calls (see
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/framework.cpp",
"new_path": "src/master/framework.cpp",
"diff": "#include \"common/heartbeater.hpp\"\n#include \"common/protobuf_utils.hpp\"\n+using process::Failure;\n+using process::Future;\n+using process::Owned;\n+using process::http::authentica... | C++ | Apache License 2.0 | apache/mesos | Store per-framework ObjectApprovers.
This is a prerequisite to synchronous authorization of scheduler API
calls (see MESOS-10056).
Review: https://reviews.apache.org/r/72096 |
46,072 | 21.01.2020 21:58:23 | -3,600 | 889aa4c1f75af4294173a99a7c1df97534a83ded | Converted UPDATE_FRAMEWORK to synchronous authorization.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -2235,17 +2235,6 @@ void Master::detected(const Future<Option<MasterInfo>>& _leader)\n}\n-Future<bool> Master::authorizeFramework(\n- const FrameworkInfo& frameworkInfo)\n-{\n- return aut... | C++ | Apache License 2.0 | apache/mesos | Converted UPDATE_FRAMEWORK to synchronous authorization.
Review: https://reviews.apache.org/r/72097 |
46,072 | 27.02.2020 18:23:59 | -3,600 | f94f1e09530fb4c83247d341b31ea17c95b96d6e | Made `overload()` work with callables passed by reference.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/overload.hpp",
"new_path": "3rdparty/stout/include/stout/overload.hpp",
"diff": "//\n// See stout/variant.hpp for how this is used to visit variants.\n//\n+// NOTE: If an lvalue/rvalue reference to a callable is passed,\n+// the ca... | C++ | Apache License 2.0 | apache/mesos | Made `overload()` work with callables passed by reference.
Review: https://reviews.apache.org/r/72169 |
46,072 | 30.01.2020 15:42:07 | -3,600 | 6a29061fb2f357d591f27d7541f92e0f73f0e944 | Removed code for tracking pending tasks.
Now that ACCEPT is authorized synchronously, there are no pending
tasks in-between dispatches on `Master` methods, thus the pending task
tracking code is not needed anymore.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/master/master.proto",
"new_path": "include/mesos/master/master.proto",
"diff": "@@ -542,7 +542,7 @@ message Response {\nmessage GetTasks {\n// Tasks that are enqueued on the master waiting (e.g., authorizing)\n// to be launched.\n- repeated Task ... | C++ | Apache License 2.0 | apache/mesos | Removed code for tracking pending tasks.
Now that ACCEPT is authorized synchronously, there are no pending
tasks in-between dispatches on `Master` methods, thus the pending task
tracking code is not needed anymore.
Review: https://reviews.apache.org/r/72099 |
46,072 | 21.02.2020 11:40:59 | -3,600 | 4d9013ddca1b08b2069141eb83365a6eabdf2b5c | Added test for removal of ObjectApprovers of disconnected framework.
As per authorizer is now responsible for keeping
`ObjectApprover`s valid throughout their lifetime, which might be quite
expensive for custom authorizer implementations that get permissions
from an external IAM.
This test makes sure that ObjectApprove... | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_authorization_tests.cpp",
"new_path": "src/tests/master_authorization_tests.cpp",
"diff": "namespace http = process::http;\nusing std::shared_ptr;\n+using std::weak_ptr;\nusing google::protobuf::RepeatedPtrField;\n@@ -107,6 +108,7 @@ using tes... | C++ | Apache License 2.0 | apache/mesos | Added test for removal of ObjectApprovers of disconnected framework.
As per MESOS-10056, authorizer is now responsible for keeping
`ObjectApprover`s valid throughout their lifetime, which might be quite
expensive for custom authorizer implementations that get permissions
from an external IAM.
This test makes sure tha... |
46,128 | 03.03.2020 06:03:57 | 28,800 | f445e3aea44b4060292fa5e029dbb2c19e219c25 | Added the 'TASK_RESOURCE_LIMITS' agent capability.
This capability will be used by the master to detect whether
or not an agent can handle task resource limits.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration/agent.md",
"new_path": "docs/configuration/agent.md",
"diff": "@@ -93,7 +93,7 @@ Example:\n<td>\nJSON representation of agent features to whitelist. We always require\n'MULTI_ROLE', 'HIERARCHICAL_ROLE', 'RESERVATION_REFINEMENT',\n-'AGENT_OPE... | C++ | Apache License 2.0 | apache/mesos | Added the 'TASK_RESOURCE_LIMITS' agent capability.
This capability will be used by the master to detect whether
or not an agent can handle task resource limits.
Review: https://reviews.apache.org/r/71991/ |
46,128 | 03.03.2020 06:03:58 | 28,800 | 59ba377616d10c248e4f0607a71ecf6658084e59 | Cleaned up agent capability validation and associated docs.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration/agent.md",
"new_path": "docs/configuration/agent.md",
"diff": "@@ -93,7 +93,8 @@ Example:\n<td>\nJSON representation of agent features to whitelist. We always require\n'MULTI_ROLE', 'HIERARCHICAL_ROLE', 'RESERVATION_REFINEMENT',\n-'AGENT_OPE... | C++ | Apache License 2.0 | apache/mesos | Cleaned up agent capability validation and associated docs.
Review: https://reviews.apache.org/r/72087/ |
46,072 | 03.03.2020 14:14:11 | -3,600 | 9ba066a7d3372d51c9ff111ae613eed9b565738d | Disabled RoleTest.RolesEndpointContainsConsumedQuota on Windows.
This patch temporarily disables this test on Windows due to the need
to use "posix" launcher in the current implementation of the test.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/role_tests.cpp",
"new_path": "src/tests/role_tests.cpp",
"diff": "@@ -491,7 +491,12 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(RoleTest, RolesEndpointContainsQuota)\n// - Outstanding offer\n//\n// TODO(bmahler): Test hierarchical accounting accuracy.\n-TEST_... | C++ | Apache License 2.0 | apache/mesos | Disabled RoleTest.RolesEndpointContainsConsumedQuota on Windows.
This patch temporarily disables this test on Windows due to the need
to use "posix" launcher in the current implementation of the test.
Review: https://reviews.apache.org/r/72185 |
46,072 | 03.03.2020 21:09:58 | -3,600 | 1d9a1578575074a2407184d70998891b9605b549 | Fixed build on platforms not treating initializer_list<enum> as literal.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/framework.cpp",
"new_path": "src/master/framework.cpp",
"diff": "@@ -739,34 +739,27 @@ Try<bool> Framework::approved(const ActionObject& actionObject) const\n}\n-constexpr std::initializer_list<authorization::Action> SCHEDULER_API_ACTIONS{\n- author... | C++ | Apache License 2.0 | apache/mesos | Fixed build on platforms not treating initializer_list<enum> as literal.
Review: https://reviews.apache.org/r/72187/ |
46,072 | 27.02.2020 21:06:21 | -3,600 | f2a0eace106692860d1df3c282481f9855d3d629 | Converted sending operator API events to synchronous authorization.
Now that `ObjectApprovers` are indefinitely valid, we can store
them in each Subscriber for its whole lifetime, instead of creating
them for each event sent to each subscriber.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -2454,7 +2454,7 @@ void Master::Http::processRequestsBatch() const\npostProcessing.state.visit(\n[&](const ReadOnlyHandler::PostProcessing::Subscribe& s) {\n- master->subscribe(s.connection, ... | C++ | Apache License 2.0 | apache/mesos | Converted sending operator API events to synchronous authorization.
Now that `ObjectApprovers` are indefinitely valid, we can store
them in each Subscriber for its whole lifetime, instead of creating
them for each event sent to each subscriber.
Review: https://reviews.apache.org/r/72178 |
46,072 | 28.02.2020 22:39:54 | -3,600 | 54227a33b68d83b97ef1a7c14283351d45322317 | Got rid of passing Shared<> into `Subscribers::Subscriber::send(...)`.
Now that operator API events are authorized synchronously,
`Subscribers::Subscriber::send(...)` is no longer deferred,
and copying arguments of `Subscribers::send()` into `Shared`
becomes unnecessary.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -12232,63 +12232,49 @@ static bool isValidFailoverTimeout(const FrameworkInfo& frameworkInfo)\nvoid Master::Subscribers::send(\n- mesos::master::Event&& event,\n+ const mesos::master::Eve... | C++ | Apache License 2.0 | apache/mesos | Got rid of passing Shared<> into `Subscribers::Subscriber::send(...)`.
Now that operator API events are authorized synchronously,
`Subscribers::Subscriber::send(...)` is no longer deferred,
and copying arguments of `Subscribers::send()` into `Shared`
becomes unnecessary.
Review: https://reviews.apache.org/r/72179 |
46,143 | 02.03.2020 14:34:32 | 21,600 | 0ef073c1719216415b63a2ead3f9e33d28aa0212 | Removed stale MPI framework.
The framework code hasn't been touched in years and likely
doesn't work anymore.
Review: | [
{
"change_type": "MODIFY",
"old_path": "Makefile.am",
"new_path": "Makefile.am",
"diff": "@@ -56,10 +56,6 @@ AM_DISTCHECK_CONFIGURE_FLAGS = --disable-python-dependency-install\nAM_DISTCHECK_CONFIGURE_FLAGS += --disable-dependency-tracking\n-# MPI framework.\n-EXTRA_DIST += mpi/README mpi/mpiexec-mes... | C++ | Apache License 2.0 | apache/mesos | Removed stale MPI framework.
The framework code hasn't been touched in years and likely
doesn't work anymore.
Review: https://reviews.apache.org/r/72196 |
46,072 | 06.03.2020 19:33:12 | -3,600 | ebf4cc17d5d191699c9b4b8cf4b7066ca3575723 | Ensured that MasterAPITest.ReservationUpdate waits for changes on agent.
This patch fixes flakiness in this test by making sure that,
before checking agent state via agent API, not only RESERVE_RESOURCES
call of master V1 API returns, but also the agent completes processing
messages from master.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/api_tests.cpp",
"new_path": "src/tests/api_tests.cpp",
"diff": "@@ -1495,6 +1495,10 @@ TEST_P(MasterAPITest, ReservationUpdate)\n// Helper function to attempt a reservation update from a given `source`\n// to a given reservation using an operator API... | C++ | Apache License 2.0 | apache/mesos | Ensured that MasterAPITest.ReservationUpdate waits for changes on agent.
This patch fixes flakiness in this test by making sure that,
before checking agent state via agent API, not only RESERVE_RESOURCES
call of master V1 API returns, but also the agent completes processing
messages from master.
Review: https://revie... |
46,165 | 05.03.2020 18:06:47 | 18,000 | 8dabbbdecdba75c775c2e9c02574faafbcd62b11 | Fixed the broken PathTest.Relative on Windows.
This test uses only linux style paths and fails on windows. This
happened because this code was introduced recently but there was
no testing or CI running on windows to catch it.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/path_tests.cpp",
"new_path": "3rdparty/stout/tests/path_tests.cpp",
"diff": "@@ -354,27 +354,50 @@ TEST(PathTest, IsAbsolute)\n}\n+// TODO(bmahler): This needs to test more valid path cases on windows.\nTEST(PathTest, Relative)\n{\n+#ifdef... | C++ | Apache License 2.0 | apache/mesos | Fixed the broken PathTest.Relative on Windows.
This test uses only linux style paths and fails on windows. This
happened because this code was introduced recently but there was
no testing or CI running on windows to catch it.
Review: https://reviews.apache.org/r/72201 |
46,165 | 05.03.2020 18:07:02 | 18,000 | 9ec5e2bd7b5740a9bc694c91e6bbfc0423ca292b | Fixed the broken PathTest.PathIteration on windows.
This test uses only linux style paths and fails on windows. This
happened because this code was introduced recently but there was
no testing or CI running on windows to catch it.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/path_tests.cpp",
"new_path": "3rdparty/stout/tests/path_tests.cpp",
"diff": "@@ -445,6 +445,10 @@ TEST(PathTest, FromURI)\n}\n+// TODO(bmahler): This needs to be tested more comprehensively, see:\n+// https://www.boost.org/doc/libs/1_72_0/... | C++ | Apache License 2.0 | apache/mesos | Fixed the broken PathTest.PathIteration on windows.
This test uses only linux style paths and fails on windows. This
happened because this code was introduced recently but there was
no testing or CI running on windows to catch it.
Review: https://reviews.apache.org/r/72202 |
46,053 | 03.03.2020 14:57:09 | -3,600 | e855f1ee7fdcc812cf2bc48d198054a49c5320f2 | Moved cgroup path helpers to `paths.hpp`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/network/ports.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/network/ports.cpp",
"diff": "#include \"slave/constants.hpp\"\n-#include \"slave/containerizer/mesos/linux_launcher.hpp\"\n+#include \"slave/contai... | C++ | Apache License 2.0 | apache/mesos | Moved cgroup path helpers to `paths.hpp`.
Review: https://reviews.apache.org/r/72121/ |
46,053 | 03.03.2020 14:57:34 | -3,600 | 969836bd653437fd131530520e8875ac55125bc2 | Cgroups isolator: added support for nested cgroups during recovery.
This patch enables recovery for nested cgroups and implements
the detection of orphaned nested cgroups.
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": "@@ -206,10 +206,17 @@ Future<Nothing> CgroupsIsolatorProcess::recover(\n// Recover active containers first.\nvecto... | C++ | Apache License 2.0 | apache/mesos | Cgroups isolator: added support for nested cgroups during recovery.
This patch enables recovery for nested cgroups and implements
the detection of orphaned nested cgroups.
Review: https://reviews.apache.org/r/71966/ |
46,053 | 28.02.2020 16:15:47 | -3,600 | e452533a29baecd8ae748852dda2d4385d2270a6 | Added a test `LaunchNestedShareCgroups`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp",
"diff": "using mesos::internal::slave::Containerizer;\nusing mesos::internal::slave::Fetcher;\nusing mesos::internal::sla... | C++ | Apache License 2.0 | apache/mesos | Added a test `LaunchNestedShareCgroups`.
Review: https://reviews.apache.org/r/72190 |
46,133 | 13.03.2020 14:52:40 | 14,400 | f6c00b127458e0ed64e864d3761ffa41dfb81d48 | Fixed typo in master flags documentation.
This closes | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration/master.md",
"new_path": "docs/configuration/master.md",
"diff": "@@ -340,7 +340,7 @@ sharing implementation currently has limitations. E.g. See the problem of\n<tr id=\"filter_gpu_resources\">\n<td>\n- --[no_]filter_gpu_resources\n+ --[no-]f... | C++ | Apache License 2.0 | apache/mesos | Fixed typo in master flags documentation.
This closes #352 |
46,055 | 23.02.2020 09:53:32 | -28,800 | 0b47b43d290494fc1c6a6f6241ddfbceeb686997 | Added patch for RapidJSON.
This commit updates the writer of RapidJSON to write infinite
floating point numbers as "Infinity" and "-Infinity" (i.e.,
with double quotes) rather than Infinity and -Infinity. This
is to ensure the strings converted from JSON objects conform
to the rule defined by Protobuf:
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -479,9 +479,12 @@ target_include_directories(\nrapidjson INTERFACE\n${RAPIDJSON_ROOT}/include)\n+PATCH_CMD(RAPIDJSON_PATCH_CMD rapidjson-${RAPIDJSON_VERSION}.patch)\n+\nExternalProjec... | C++ | Apache License 2.0 | apache/mesos | Added patch for RapidJSON.
This commit updates the writer of RapidJSON to write infinite
floating point numbers as "Infinity" and "-Infinity" (i.e.,
with double quotes) rather than Infinity and -Infinity. This
is to ensure the strings converted from JSON objects conform
to the rule defined by Protobuf:
https://develop... |
46,055 | 23.02.2020 10:09:48 | -28,800 | ec82a516918ebd663816cb110f73bdee6e5268be | Accommodated the "Infinity" value in the JSON <-> Protobuf conversion.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/jsonify.hpp",
"new_path": "3rdparty/stout/include/stout/jsonify.hpp",
"diff": "#define __STOUT_JSONIFY__\n#define RAPIDJSON_HAS_STDSTRING 1\n+#define RAPIDJSON_WRITE_DEFAULT_FLAGS kWriteNanAndInfFlag\n// TODO(bmahler): Consider ena... | C++ | Apache License 2.0 | apache/mesos | Accommodated the "Infinity" value in the JSON <-> Protobuf conversion.
Review: https://reviews.apache.org/r/72162 |
46,055 | 03.12.2019 21:37:43 | -28,800 | 4688371cafed058890cc11c8aa8514db6b08bb2b | Set resource limits when launching executor container.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -188,6 +188,11 @@ static CommandInfo defaultExecutorCommandInfo(\nconst Option<std::string>& user);\n+// Sets the executor resource limit (the `limit` parameter) based on the resource\n+// pa... | C++ | Apache License 2.0 | apache/mesos | Set resource limits when launching executor container.
Review: https://reviews.apache.org/r/71858 |
46,055 | 05.12.2019 15:23:04 | -28,800 | dbcde7be224595a21235e59ddb4c18c1ee66e80f | Updated the `update()` method of subsystem to handle resource limits.
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": "@@ -872,7 +872,8 @@ Future<Nothing> CgroupsIsolatorProcess::update(\nupdates.push_back(subsystem->update(\ncontain... | C++ | Apache License 2.0 | apache/mesos | Updated the `update()` method of subsystem to handle resource limits.
Review: https://reviews.apache.org/r/71885 |
46,055 | 06.12.2019 15:29:37 | -28,800 | 71a623cb61fe1dc1c31e71bacd13a5dd13b0f535 | Set container's `cpu.cfs_quota_us` to its CPU resource limit.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/cgroups/subsystems/cpu.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/cgroups/subsystems/cpu.cpp",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the Lic... | C++ | Apache License 2.0 | apache/mesos | Set container's `cpu.cfs_quota_us` to its CPU resource limit.
Review: https://reviews.apache.org/r/71886 |
46,055 | 02.01.2020 09:02:43 | -28,800 | c35bfbf998407d3abab453e5db1ff3ff7a7ab658 | Set container's `memory.limit_in_bytes` to its memory limit.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/cgroups/subsystems/memory.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/cgroups/subsystems/memory.cpp",
"diff": "#include <sys/types.h>\n#include <climits>\n+#include <cmath>\n#include <sstream>\n#include <p... | C++ | Apache License 2.0 | apache/mesos | Set container's `memory.limit_in_bytes` to its memory limit.
Review: https://reviews.apache.org/r/71943 |
46,055 | 02.01.2020 09:05:43 | -28,800 | 8d51df87b058144d0ce51008e393b6261b6e9765 | Set container process's OOM score adjust.
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": "@@ -484,7 +484,8 @@ Future<Option<ContainerLaunchInfo>> CgroupsIsolatorProcess::prepare(\ninfos[containerId]->subs... | C++ | Apache License 2.0 | apache/mesos | Set container process's OOM score adjust.
Review: https://reviews.apache.org/r/71944 |
46,055 | 03.01.2020 16:31:02 | -28,800 | f0ccee1572e434815d524ef6bd3c3b75a4fffdb4 | Added resource limits into the `Task` protobuf message.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -2362,6 +2362,9 @@ message Task {\n// Specific user under which task is running.\noptional string user = 14;\n+\n+ // Resource limits associated with the task.\n+ map<string, Valu... | C++ | Apache License 2.0 | apache/mesos | Added resource limits into the `Task` protobuf message.
Review: https://reviews.apache.org/r/71951 |
46,055 | 03.01.2020 16:31:53 | -28,800 | 1bc52e7fd261e1092a5b9618e44977a936cb9d80 | Set resource limits when updating executor container.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -3347,15 +3347,23 @@ void Slave::__run(\n<< \" for executor \" << *executor;\nconst ContainerID& containerId = executor->containerId;\n- const Resources& resources = executor->allocatedResour... | C++ | Apache License 2.0 | apache/mesos | Set resource limits when updating executor container.
Review: https://reviews.apache.org/r/71952 |
46,055 | 06.01.2020 10:55:46 | -28,800 | e6a9db7fccfe4bce28093490ec65688645338e86 | Updated the test `ROOT_CGROUPS_CFS_EnableCfs`.
This test is renamed to `ROOT_CGROUPS_CFS_CommandTaskNoLimits`, and
besides CFS quota, now it also verifies CPU shares, memory soft and
hard limits and OOM score adjustment.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"diff": "@@ -50,8 +50,11 @@ using mesos::internal::slave::CGROUP_SUBSYSTEM_NET_CLS_NAME;\nusing mesos::internal::slave::CGROUP_SUBSYSTEM_NET_... | C++ | Apache License 2.0 | apache/mesos | Updated the test `ROOT_CGROUPS_CFS_EnableCfs`.
This test is renamed to `ROOT_CGROUPS_CFS_CommandTaskNoLimits`, and
besides CFS quota, now it also verifies CPU shares, memory soft and
hard limits and OOM score adjustment.
Review: https://reviews.apache.org/r/71953 |
46,055 | 06.01.2020 16:45:15 | -28,800 | 446e55c249dc97033c956c74244c4332b85fc339 | Added a new parameter `resourceLimits` to the `createTask` methods.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/mesos.hpp",
"new_path": "src/tests/mesos.hpp",
"diff": "@@ -910,20 +910,25 @@ template <\ntypename TResources,\ntypename TExecutorInfo,\ntypename TCommandInfo,\n- typename TOffer>\n+ typename TOffer,\n+ typename TScalar>\ninline TTaskInfo createTask(... | C++ | Apache License 2.0 | apache/mesos | Added a new parameter `resourceLimits` to the `createTask` methods.
Review: https://reviews.apache.org/r/71955 |
46,055 | 06.01.2020 16:46:26 | -28,800 | 31ed8e4c17d46e8bc36cbd61c23ef87af42a8ec0 | Added a test `ROOT_CGROUPS_CFS_CommandTaskLimits`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"diff": "@@ -538,6 +538,197 @@ TEST_F(CgroupsIsolatorTest, ROOT_CGROUPS_CFS_CommandTaskNoLimits)\n}\n+// This test verifies that a task launc... | C++ | Apache License 2.0 | apache/mesos | Added a test `ROOT_CGROUPS_CFS_CommandTaskLimits`.
Review: https://reviews.apache.org/r/71956 |
46,055 | 07.03.2020 15:27:33 | -28,800 | 6fa85d888a0555f70c331e84f1c32211758d56f4 | Added a test `ROOT_CGROUPS_CFS_CommandTaskInfiniteLimits`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include <limits>\n+\n#i... | C++ | Apache License 2.0 | apache/mesos | Added a test `ROOT_CGROUPS_CFS_CommandTaskInfiniteLimits`.
Review: https://reviews.apache.org/r/72210 |
46,055 | 11.01.2020 10:10:42 | -28,800 | a06ff8ee57c60b95e84cab1930b21c6e8a6f95a1 | Added a test `CgroupsIsolatorTest.ROOT_CGROUPS_CFS_TaskGroupLimits`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"diff": "#include \"slave/gc_process.hpp\"\n#include \"slave/containerizer/mesos/containerizer.hpp\"\n+#include \"slave/containerizer/mesos/p... | C++ | Apache License 2.0 | apache/mesos | Added a test `CgroupsIsolatorTest.ROOT_CGROUPS_CFS_TaskGroupLimits`.
Review: https://reviews.apache.org/r/71983 |
46,055 | 17.01.2020 15:20:19 | -28,800 | 9ba0866b6c8033f627a4a15a6727934bb8178de4 | Set resource limits and OOM score adjustment in Docker executor.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/docker/docker.cpp",
"new_path": "src/docker/docker.cpp",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include <cmath>\n#include <map>\n#include <mutex>\n#include <utility>\n#include \... | C++ | Apache License 2.0 | apache/mesos | Set resource limits and OOM score adjustment in Docker executor.
Review: https://reviews.apache.org/r/72022 |
46,055 | 20.01.2020 16:55:46 | -28,800 | e3287b39a0afc384c6922680568310cfbf86bedd | Added a new test `ROOT_DOCKER_CGROUPS_CFS_CommandTaskLimits`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"diff": "@@ -4187,11 +4187,11 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_NoTransitionFromKillingToFinished)\n#endif // __WINDOWS_... | C++ | Apache License 2.0 | apache/mesos | Added a new test `ROOT_DOCKER_CGROUPS_CFS_CommandTaskLimits`.
Review: https://reviews.apache.org/r/72027 |
46,055 | 07.03.2020 16:42:39 | -28,800 | e607901f430f7c88ddb9488a823d1c044e35d9f9 | Added a test `ROOT_DOCKER_CGROUPS_CFS_CommandTaskInfiniteLimits`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"diff": "@@ -4486,6 +4486,156 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_CGROUPS_CFS_CommandTaskLimits)\nAWAIT_READY(termination)... | C++ | Apache License 2.0 | apache/mesos | Added a test `ROOT_DOCKER_CGROUPS_CFS_CommandTaskInfiniteLimits`.
Review: https://reviews.apache.org/r/72211 |
46,055 | 23.01.2020 10:55:49 | -28,800 | 3592abaddeb66a9c12614d7eb52adfa6151543e3 | Updated the `LaunchContainer` agent API to support resource limits.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/agent/agent.proto",
"new_path": "include/mesos/agent/agent.proto",
"diff": "@@ -249,6 +249,9 @@ message Call {\nrepeated Resource resources = 3;\noptional ContainerInfo container = 4;\n+\n+ // Resource limits associated with the container during ... | C++ | Apache License 2.0 | apache/mesos | Updated the `LaunchContainer` agent API to support resource limits.
Review: https://reviews.apache.org/r/72040 |
46,055 | 23.01.2020 10:57:12 | -28,800 | 9ab68cbf8e4ed1a9d60ceaaebedab186ba702140 | Updated default executor to call the `LaunchContainer` agent API.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/launcher/default_executor.cpp",
"new_path": "src/launcher/default_executor.cpp",
"diff": "@@ -470,11 +470,9 @@ protected:\nforward(status);\nagent::Call call;\n- call.set_type(agent::Call::LAUNCH_NESTED_CONTAINER);\n-\n- agent::Call::LaunchNestedContainer*... | C++ | Apache License 2.0 | apache/mesos | Updated default executor to call the `LaunchContainer` agent API.
Review: https://reviews.apache.org/r/72041 |
46,128 | 20.03.2020 10:35:37 | 25,200 | 504af58dda64b73581b0398c83952421aea64d39 | Added master validation for task resource limits and shared cgroups.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/validation.cpp",
"new_path": "src/master/validation.cpp",
"diff": "#include \"master/validation.hpp\"\n#include <algorithm>\n+#include <cmath>\n#include <iterator>\n#include <set>\n#include <string>\n#include <mesos/type_utils.hpp>\n#include <proces... | C++ | Apache License 2.0 | apache/mesos | Added master validation for task resource limits and shared cgroups.
Review: https://reviews.apache.org/r/72216/ |
46,128 | 20.03.2020 10:35:37 | 25,200 | 72e78f02f08116c0d4c4a825144b078cfbee5052 | Added tests for master validation of limits and shared cgroups.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_validation_tests.cpp",
"new_path": "src/tests/master_validation_tests.cpp",
"diff": "@@ -3486,6 +3486,214 @@ TEST_F(TaskValidationTest, TaskSettingDockerParameterName)\ndriver.join();\n}\n+\n+TEST_F(TaskValidationTest, ResourceLimitLessThanReq... | C++ | Apache License 2.0 | apache/mesos | Added tests for master validation of limits and shared cgroups.
Review: https://reviews.apache.org/r/72217/ |
46,128 | 20.03.2020 10:35:38 | 25,200 | 1088dd3b77eb903718b3df8064d5d1d6c379f25b | Added agent validation for shared cgroups.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/validation.cpp",
"new_path": "src/slave/validation.cpp",
"diff": "@@ -171,8 +171,11 @@ Option<Error> validate(\nreturn Error(\"Expecting 'launch_nested_container' to be present\");\n}\n+ const mesos::agent::Call::LaunchNestedContainer& launch =\n+ ca... | C++ | Apache License 2.0 | apache/mesos | Added agent validation for shared cgroups.
Review: https://reviews.apache.org/r/72221/ |
46,128 | 20.03.2020 10:35:38 | 25,200 | 74c355060304da4287d286ed775df072b6101816 | Added tests for agent validation of shared cgroups.
This patch adds validation for shared cgroups when specified
via the agent APIs. In doing so, a new validation test is
added for the agent's LaunchContainer API, since this was
previously missing.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_validation_tests.cpp",
"new_path": "src/tests/slave_validation_tests.cpp",
"diff": "@@ -495,8 +495,24 @@ TEST(AgentCallValidationTest, LaunchNestedContainerSession)\n\"variable 'ENV_VAR_KEY' of type 'VALUE' must have a value set\",\nerror->mess... | C++ | Apache License 2.0 | apache/mesos | Added tests for agent validation of shared cgroups.
This patch adds validation for shared cgroups when specified
via the agent APIs. In doing so, a new validation test is
added for the agent's LaunchContainer API, since this was
previously missing.
Review: https://reviews.apache.org/r/72222/ |
46,128 | 20.03.2020 10:35:39 | 25,200 | eb455e74ab8f31b93f7f5e87dc1829e05701e411 | Updated the comment for the 'share_cgroups' field.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -3353,17 +3353,17 @@ message LinuxInfo {\n// If set as 'true', the container will share the cgroups from its parent\n// container, otherwise it will have its own cgroups created. ... | C++ | Apache License 2.0 | apache/mesos | Updated the comment for the 'share_cgroups' field.
Review: https://reviews.apache.org/r/72250/ |
46,055 | 24.03.2020 10:44:39 | 25,200 | 12e5e870c38681bfc0455960f89a41127dac3daf | Moved containerizer utils in CMakeLists.
This is to ensure the function `calculateOOMScoreAdj()` can be resolved
on Windows.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/CMakeLists.txt",
"new_path": "src/CMakeLists.txt",
"diff": "@@ -176,6 +176,7 @@ set(AGENT_SRC\nslave/containerizer/mesos/launcher_tracker.cpp\nslave/containerizer/mesos/mount.cpp\nslave/containerizer/mesos/paths.cpp\n+ slave/containerizer/mesos/utils.cpp\n... | C++ | Apache License 2.0 | apache/mesos | Moved containerizer utils in CMakeLists.
This is to ensure the function `calculateOOMScoreAdj()` can be resolved
on Windows.
Review: https://reviews.apache.org/r/72263/ |
46,128 | 24.03.2020 21:13:44 | 25,200 | 77f5165fd2f942a89063803a7be5465d35774b10 | Added resource limits to v0 endpoint results.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/http.cpp",
"new_path": "src/common/http.cpp",
"diff": "@@ -633,6 +633,10 @@ JSON::Object model(const Task& task)\nobject.values[\"state\"] = TaskState_Name(task.state());\nobject.values[\"resources\"] = model(task.resources());\n+ if (!task.limits()... | C++ | Apache License 2.0 | apache/mesos | Added resource limits to v0 endpoint results.
Review: https://reviews.apache.org/r/72262/ |
46,113 | 25.03.2020 07:34:34 | 0 | e6ba06cdf449c7c23904c63df728b78d2fbb9678 | Avoided error in Mesos logs upon docker image fetch
When fetching docker image, fetcher tests curl support for
`--http1.1` flag. This patch makes sure we properly capture
stderr to avoid displaying warnings in Mesos logs.
This closes | [
{
"change_type": "MODIFY",
"old_path": "src/uri/fetchers/docker.cpp",
"new_path": "src/uri/fetchers/docker.cpp",
"diff": "@@ -114,7 +114,7 @@ static Future<http::Response> curl(\n// infrastructures. The '--http1.1' flag got added to curl with\n// with version 7.33.0. Some supported distributions do ... | C++ | Apache License 2.0 | apache/mesos | Avoided error in Mesos logs upon docker image fetch
When fetching docker image, fetcher tests curl support for
`--http1.1` flag. This patch makes sure we properly capture
stderr to avoid displaying warnings in Mesos logs.
This closes #354 |
46,084 | 26.03.2020 01:37:09 | 14,400 | f3253f87cd9a05d2fc8cc76821bffb9bc2c36b2a | Fixed locking and static PODs in Hook manager.
This patch aims to fix issue
1. add missing mutex acquisition for the potential race
2. change the global mutex and map variable to POD type
This closes | [
{
"change_type": "MODIFY",
"old_path": "src/hook/manager.cpp",
"new_path": "src/hook/manager.cpp",
"diff": "@@ -47,8 +47,9 @@ using mesos::modules::ModuleManager;\nnamespace mesos {\nnamespace internal {\n-static std::mutex mutex;\n-static LinkedHashMap<string, Hook*> availableHooks;\n+static std::m... | C++ | Apache License 2.0 | apache/mesos | Fixed locking and static PODs in Hook manager.
This patch aims to fix issue MESOS-9337:
1. add missing mutex acquisition for the potential race
2. change the global mutex and map variable to POD type
Signed-off-by: Dong Zhu <dzhu@d2iq.com>
This closes #353 |
46,084 | 27.03.2020 15:58:42 | 14,400 | beaf0cd844f3658bfccb86049f7181036b0e6ae4 | Added Dong Zhu to contributors list.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "- xingzhou@cn.ibm.com\njira_user: dongdong\nreviewboard_user: dongdong\n+\n+- name: Dong Zhu\n+ affiliations:\n+ - {organization: D2IQ}\n+ emails:\n+ - dzhu@d2iq.com\n+ - bluezhudong@gmail... | C++ | Apache License 2.0 | apache/mesos | Added Dong Zhu to contributors list.
Review: https://reviews.apache.org/r/72275/ |
46,128 | 31.03.2020 21:55:42 | 25,200 | f8a3dd334934094ec44e07fa350f958d218bc78f | Added resource limits to the web UI.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/webui/app/agents/agent-executor.html",
"new_path": "src/webui/app/agents/agent-executor.html",
"diff": "class=\"table table-striped table-bordered table-condensed\">\n<thead>\n<tr>\n- <th data-key=\"id\">ID</th>\n- <th data-key=\"name\">Name</th>\n- <th da... | C++ | Apache License 2.0 | apache/mesos | Added resource limits to the web UI.
Review: https://reviews.apache.org/r/72269/ |
46,072 | 03.04.2020 14:37:50 | -7,200 | 3b1eca806547a67b5c69ecc17032f2e4704712ad | Skip not yet known framework IDs in `generateInverseOffers()`.
This patch fixes by making hierarchical allocator, when
it generates inverse offers, skip IDs of frameworks returned by
`Slave::getOfferedOrAllocated()` that have not yet been added
to the allocator via `addFramework()`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/allocator/allocator.hpp",
"new_path": "include/mesos/allocator/allocator.hpp",
"diff": "@@ -215,6 +215,11 @@ public:\n* @param used Resources that are allocated on the current agent. The\n* allocator should avoid double accounting when yet unknow... | C++ | Apache License 2.0 | apache/mesos | Skip not yet known framework IDs in `generateInverseOffers()`.
This patch fixes MESOS-10109 by making hierarchical allocator, when
it generates inverse offers, skip IDs of frameworks returned by
`Slave::getOfferedOrAllocated()` that have not yet been added
to the allocator via `addFramework()`.
Review: https://review... |
46,072 | 03.04.2020 14:42:40 | -7,200 | 9bd3ea4665402943af070e64327e8d7dc341e301 | Introduced test for `addSlave()` with maintenance and unknown framework.
This is a regression test for It ensures that allocator
continues to work after adding an agent that has an unavailability
schedule and resources used by a framework not yet known to allocator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/hierarchical_allocator_tests.cpp",
"new_path": "src/tests/hierarchical_allocator_tests.cpp",
"diff": "@@ -1056,6 +1056,65 @@ TEST_F(HierarchicalAllocatorTest, SmallOfferFilterTimeout)\n}\n+// Tests that allocator continues to work after adding an age... | C++ | Apache License 2.0 | apache/mesos | Introduced test for `addSlave()` with maintenance and unknown framework.
This is a regression test for MESOS-10109. It ensures that allocator
continues to work after adding an agent that has an unavailability
schedule and resources used by a framework not yet known to allocator.
Review: https://reviews.apache.org/r/7... |
46,072 | 06.04.2020 17:41:54 | -7,200 | 92f8768da1b71b397bbd0938b673c0e2f52bee95 | Fixed build of tests broken in
Added a bracket missing due to improper last-minute adjustment
before committing | [
{
"change_type": "MODIFY",
"old_path": "src/tests/hierarchical_allocator_tests.cpp",
"new_path": "src/tests/hierarchical_allocator_tests.cpp",
"diff": "@@ -1105,7 +1105,7 @@ TEST_F(HierarchicalAllocatorTest, AddAgentWithUnknownFrameworkAndMaintenance)\n// Add agent2 unavailability to trigger inverse... | C++ | Apache License 2.0 | apache/mesos | Fixed build of tests broken in 9bd3ea4665402943af070e64327e8d7dc341e301.
Added a bracket missing due to improper last-minute adjustment
before committing https://reviews.apache.org/r/72315 |
46,128 | 06.04.2020 15:16:33 | 25,200 | ad612599df9e866b2a622baa4cdb659ece5c4574 | Added agent-side validation for resource limits.
This prevents tasks from being launched on agents which would
not be capable of enforcing the specified limits.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -2168,6 +2168,34 @@ void Slave::runTask(\n}\n+Option<Error> Slave::validateResourceLimitsAndIsolators(\n+ const vector<TaskInfo>& tasks)\n+{\n+ foreach (const TaskInfo& task, tasks) {\n+ if (... | C++ | Apache License 2.0 | apache/mesos | Added agent-side validation for resource limits.
This prevents tasks from being launched on agents which would
not be capable of enforcing the specified limits.
Review: https://reviews.apache.org/r/72297/ |
46,128 | 06.04.2020 15:16:45 | 25,200 | be90edd31a1833c5ed706b39f3a5547ae8153dd2 | Sent appropriate task status reason when task over memory request.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/protobuf_utils.cpp",
"new_path": "src/common/protobuf_utils.cpp",
"diff": "@@ -254,7 +254,8 @@ StatusUpdate createStatusUpdate(\nCHECK(\nreason.get() == TaskStatus::REASON_CONTAINER_LIMITATION ||\nreason.get() == TaskStatus::REASON_CONTAINER_LIMITAT... | C++ | Apache License 2.0 | apache/mesos | Sent appropriate task status reason when task over memory request.
Review: https://reviews.apache.org/r/72305/ |
46,128 | 06.04.2020 15:16:54 | 25,200 | 924a6776ca2e474cc65fcb1d59938a0ff6ad46c8 | Updated CFS tests to avoid checking CPU usage.
This verification is error-prone and leads to flaky test
failures. It is sufficient to verify that the cgroup values
are set correctly. We will avoid going so far as to confirm
that the kernel's scheduler is honoring those values.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"new_path": "src/tests/containerizer/cgroups_isolator_tests.cpp",
"diff": "@@ -386,8 +386,7 @@ TEST_F(CgroupsIsolatorTest, ROOT_CGROUPS_RevocableCpu)\n// This test verifies that a task launched with 0.5 cpu ... | C++ | Apache License 2.0 | apache/mesos | Updated CFS tests to avoid checking CPU usage.
This verification is error-prone and leads to flaky test
failures. It is sufficient to verify that the cgroup values
are set correctly. We will avoid going so far as to confirm
that the kernel's scheduler is honoring those values.
Review: https://reviews.apache.org/r/723... |
46,165 | 09.04.2020 19:36:02 | 14,400 | 129ce92b8873fa364da81a29a63214fe3791fa3c | Removed trailing periods from errors in network.hpp. | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/address.hpp",
"new_path": "3rdparty/libprocess/include/process/address.hpp",
"diff": "@@ -239,7 +239,7 @@ public:\nif (_length.isNone()) {\nCHECK(un.sun_path[0] != 0)\n- << \"Cannot automatically determine size of abstract s... | C++ | Apache License 2.0 | apache/mesos | Removed trailing periods from errors in network.hpp. |
46,093 | 01.04.2020 13:40:16 | -3,600 | af3ca189aced5fbc537bfca571264142d4cd37b3 | Handled EBUSY when destroying a cgroup.
It's a workaround for kernel bugs which can cause `rmdir` to fail with
`EBUSY` even though the cgroup - appears - empty.
See for example
This closes | [
{
"change_type": "MODIFY",
"old_path": "src/linux/cgroups.cpp",
"new_path": "src/linux/cgroups.cpp",
"diff": "@@ -41,11 +41,13 @@ extern \"C\" {\n#include <string>\n#include <vector>\n+#include <process/after.hpp>\n#include <process/collect.hpp>\n#include <process/defer.hpp>\n#include <process/delay... | C++ | Apache License 2.0 | apache/mesos | Handled EBUSY when destroying a cgroup.
It's a workaround for kernel bugs which can cause `rmdir` to fail with
`EBUSY` even though the cgroup - appears - empty.
See for example https://lkml.org/lkml/2020/1/15/1349
This closes #355 |
46,093 | 08.04.2020 14:33:16 | -3,600 | 8c0b8825eae962c210d76eb47928672fbb55d7d3 | Added Charles-Francois Natali to contributors list. | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "jira_user: drcrallen\nreviewboard_user: drcrallen\n+- name: Charles-Francois Natali\n+ emails:\n+ - cf.natali@gmail.com\n+ jira_user: cf.natali\n+ reviewboard_user: cf.natali\n+\n- name: C... | C++ | Apache License 2.0 | apache/mesos | Added Charles-Francois Natali to contributors list. |
46,053 | 16.04.2020 12:50:22 | -7,200 | 6d767512bbc46029632e0b7f991f54a61d7ee6a3 | Fixed unreachable code warning for `cgroups::destroy`.
This was noted by coverity in CID
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/linux/cgroups.cpp",
"new_path": "src/linux/cgroups.cpp",
"diff": "@@ -1637,12 +1637,10 @@ Future<Nothing> destroy(const string& hierarchy, const string& cgroup)\nFuture<Nothing> future = destroyer->future();\nspawn(destroyer, true);\nreturn future;\n- } el... | C++ | Apache License 2.0 | apache/mesos | Fixed unreachable code warning for `cgroups::destroy`.
This was noted by coverity in CID 1462222.
Review: https://reviews.apache.org/r/72370 |
46,165 | 27.03.2020 19:42:13 | 14,400 | dc0577ea97ca675a1dce84fa721f59f842bbd08e | Updated libprocess for exec.hpp addition to stout.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/subprocess.hpp",
"new_path": "3rdparty/libprocess/include/process/subprocess.hpp",
"diff": "#include <stout/option.hpp>\n#include <stout/try.hpp>\n+#include <stout/os/exec.hpp>\n#include <stout/os/shell.hpp>\n#include <stout... | C++ | Apache License 2.0 | apache/mesos | Updated libprocess for exec.hpp addition to stout.
Review: https://reviews.apache.org/r/72285 |
46,165 | 27.03.2020 19:42:46 | 14,400 | 898201becb971982d581a67bc351de06804ce411 | Updated mesos for os/exec.hpp addition to stout.
Some of these files were using utilities that are now in os/exec.hpp.
For files that already include os.hpp, they get os/exec.hpp
automatically. However, some files still do fine grained includes
despite including the catch all os.hpp, so we update those files
accordingl... | [
{
"change_type": "MODIFY",
"old_path": "src/hdfs/hdfs.cpp",
"new_path": "src/hdfs/hdfs.cpp",
"diff": "#include <stout/os/constants.hpp>\n#include <stout/os/exists.hpp>\n-#include <stout/os/shell.hpp>\n#include \"common/status_utils.hpp\"\n#include \"hdfs/hdfs.hpp\"\n"
},
{
"change_type": "MO... | C++ | Apache License 2.0 | apache/mesos | Updated mesos for os/exec.hpp addition to stout.
Some of these files were using utilities that are now in os/exec.hpp.
For files that already include os.hpp, they get os/exec.hpp
automatically. However, some files still do fine grained includes
despite including the catch all os.hpp, so we update those files
according... |
46,165 | 09.04.2020 19:36:31 | 14,400 | b5368495a4ccc2438bccb0a50f126e358469bf54 | Added logging of peer address in LibeventSSLSocket accept failures.
The caller of LibeventSSLSocket::accept() cannot see who tried to
connect when accept fails, since the accepted socket is not returned.
This adds logging of the peer address when the SSL handshake fails,
in order to improve debugging.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/address.hpp",
"new_path": "3rdparty/libprocess/include/process/address.hpp",
"diff": "@@ -365,6 +365,43 @@ public:\n}\n}\n+ // The `length` is the size of the data pointed to by `struct sockaddr`.\n+ static Try<Address> crea... | C++ | Apache License 2.0 | apache/mesos | Added logging of peer address in LibeventSSLSocket accept failures.
The caller of LibeventSSLSocket::accept() cannot see who tried to
connect when accept fails, since the accepted socket is not returned.
This adds logging of the peer address when the SSL handshake fails,
in order to improve debugging.
Review: https:/... |
46,165 | 09.04.2020 19:42:32 | 14,400 | 9240c4d3190f7836cb563971e943a4c7899f33f1 | Added logging of peer address in OpenSSLSocket accept failures.
The caller of OpenSSLSocket::accept() cannot see who tried to
connect when accept fails, since the accepted socket is not returned.
This adds logging of the peer address when the SSL handshake fails,
in order to improve debugging.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/ssl/openssl_socket.cpp",
"new_path": "3rdparty/libprocess/src/ssl/openssl_socket.cpp",
"diff": "@@ -734,7 +734,7 @@ Future<ControlFlow<Nothing>> OpenSSLSocketImpl::handle_accept_callback(\nif (!peer_address.isSome()) {\nSSL_free(accept_... | C++ | Apache License 2.0 | apache/mesos | Added logging of peer address in OpenSSLSocket accept failures.
The caller of OpenSSLSocket::accept() cannot see who tried to
connect when accept fails, since the accepted socket is not returned.
This adds logging of the peer address when the SSL handshake fails,
in order to improve debugging.
Review: https://reviews... |
46,072 | 20.04.2020 12:54:10 | -7,200 | 6e0a686eb88524f000dab6cae5de5a582d3e2ded | Fixed composing authorization callback path on Windows.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/process.cpp",
"new_path": "3rdparty/libprocess/src/process.cpp",
"diff": "@@ -3842,7 +3842,11 @@ Future<Response> ProcessBase::_consume(\nFuture<bool> authorization = true;\nif (authorization_callbacks.load() != nullptr) {\n- const stri... | C++ | Apache License 2.0 | apache/mesos | Fixed composing authorization callback path on Windows.
Review: https://reviews.apache.org/r/72389 |
46,072 | 20.04.2020 13:08:28 | -7,200 | 00466fe6138138ead1ca676df37c3af69104956d | Enabled `LoggingTest*` and `MetricTest*` on Windows.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/CMakeLists.txt",
"new_path": "src/tests/CMakeLists.txt",
"diff": "@@ -106,11 +106,13 @@ set(MESOS_TESTS_SRC\nhook_tests.cpp\nhttp_authentication_tests.cpp\nhttp_fault_tolerance_tests.cpp\n+ logging_tests.cpp\nmaster_draining_tests.cpp\nmaster_load_te... | C++ | Apache License 2.0 | apache/mesos | Enabled `LoggingTest*` and `MetricTest*` on Windows.
Review: https://reviews.apache.org/r/72390 |
46,165 | 21.04.2020 13:38:25 | 14,400 | 8233369079a261584a9da3b93aa5c5a370c38147 | Enabled io::poll read test on Windows / added io::poll write test.
Now that io::poll is implemented for windows we need to test it.
This also adds a test of write polling, which was absent before.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/tests/io_tests.cpp",
"new_path": "3rdparty/libprocess/src/tests/io_tests.cpp",
"diff": "namespace io = process::io;\n+using process::Clock;\nusing process::Future;\nusing std::array;\n@@ -38,26 +39,87 @@ using std::string;\nclass IOTest... | C++ | Apache License 2.0 | apache/mesos | Enabled io::poll read test on Windows / added io::poll write test.
Now that io::poll is implemented for windows we need to test it.
This also adds a test of write polling, which was absent before.
Review: https://reviews.apache.org/r/72407 |
46,165 | 10.04.2020 17:17:01 | 14,400 | 77fa4508d0dd198040c5b673c5aa5e667ac7888b | Added a regression test for
It turns out we already had a test for this case, but in
we need downgrade support enabled to exercise the bug.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/tests/ssl_tests.cpp",
"new_path": "3rdparty/libprocess/src/tests/ssl_tests.cpp",
"diff": "@@ -809,6 +809,67 @@ TEST_F(SSLTest, SilentSocket)\n}\n+// A copy of the SilentSocket test to ensure that the issue\n+// also is not present with ... | C++ | Apache License 2.0 | apache/mesos | Added a regression test for MESOS-10114.
It turns out we already had a test for this case, but in MESOS-10114
we need downgrade support enabled to exercise the bug.
Review: https://reviews.apache.org/r/72353 |
46,055 | 27.04.2020 14:14:15 | -28,800 | 68ce1476aebe10db7107c0f3dc813af78ec20cef | Set OOM score adj when Docker container's memory limit is infinite.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/docker/docker.cpp",
"new_path": "src/docker/docker.cpp",
"diff": "@@ -700,7 +700,8 @@ Try<Docker::RunOptions> Docker::RunOptions::create(\nif (memRequest.isSome()) {\noptions.memoryReservation = std::max(memRequest.get(), MIN_MEMORY);\n- if (memRequest.get... | C++ | Apache License 2.0 | apache/mesos | Set OOM score adj when Docker container's memory limit is infinite.
Review: https://reviews.apache.org/r/72435 |
46,128 | 28.04.2020 15:44:21 | 25,200 | ae7b90d74a61d81d8b716a67cac921d6542a305a | Updated executor API docs to include the domain socket.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/executor-http-api.md",
"new_path": "docs/executor-http-api.md",
"diff": "@@ -7,48 +7,87 @@ layout: documentation\nA Mesos executor can be built in two different ways:\n-1. By using the `ExecutorDriver` C++ interface. The `ExecutorDriver` handles the\n-det... | C++ | Apache License 2.0 | apache/mesos | Updated executor API docs to include the domain socket.
Review: https://reviews.apache.org/r/72413/ |
46,128 | 28.04.2020 22:52:02 | 25,200 | db83570b13ad82f467ae6dfc5642cc8da2f7a8fc | Added missing issues to the 1.7.3 CHANGELOG. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -731,12 +731,15 @@ Release Notes - Mesos - Version 1.7.3 (WIP)\n** Bug\n* [MESOS-8467] - Destroyed executors might be used after `Slave::publishResource()`.\n+ * [MESOS-8537] - Default executor doesn't wait for ... | C++ | Apache License 2.0 | apache/mesos | Added missing issues to the 1.7.3 CHANGELOG. |
46,165 | 30.04.2020 16:08:59 | 14,400 | 9befebac5f054657686c9a6490603afe9b7f8ce1 | Moved documentation into os/exec.hpp interface.
The os/exec.hpp wrapper provides a single place to read the interface
and documentation for both POSIX and Windows, this makes it easier
for us to document the interface and OS differences that a caller
needs to know about in one place.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/exec.hpp",
"new_path": "3rdparty/stout/include/stout/os/exec.hpp",
"diff": "#include <stout/os/posix/exec.hpp>\n#endif // __WINDOWS__\n+namespace os {\n+\n+// Forks a subprocess and executes the provided file with the provided\n... | C++ | Apache License 2.0 | apache/mesos | Moved documentation into os/exec.hpp interface.
The os/exec.hpp wrapper provides a single place to read the interface
and documentation for both POSIX and Windows, this makes it easier
for us to document the interface and OS differences that a caller
needs to know about in one place.
Review: https://reviews.apache.or... |
46,165 | 01.04.2020 19:52:37 | 14,400 | ca719052531904d5b04d3958e8185d88cc927fdb | Moved documentation into os/shell.hpp interface.
The os/shell.hpp wrapper provides a single place to read the interface
and documentation for both POSIX and Windows, this makes it easier
for us to document the interface and OS differences that a caller
needs to know about in one place.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/posix/shell.hpp",
"new_path": "3rdparty/stout/include/stout/os/posix/shell.hpp",
"diff": "@@ -44,29 +44,7 @@ constexpr const char* arg1 = \"-c\";\n} // namespace Shell {\n-/**\n- * Runs a shell command with optional arguments.\n... | C++ | Apache License 2.0 | apache/mesos | Moved documentation into os/shell.hpp interface.
The os/shell.hpp wrapper provides a single place to read the interface
and documentation for both POSIX and Windows, this makes it easier
for us to document the interface and OS differences that a caller
needs to know about in one place.
Review: https://reviews.apache.... |
46,072 | 14.04.2020 20:05:11 | -7,200 | ff720df995daae76803f13f54f8129166663a0d3 | Fixed handling disconnected agents by REACTIVATE_AGENT call.
This patch fixes by preventing REACTIVATE_AGENT from
activating disconnected agents in the allocator and also fixes the
handling of agents that were removed while the reactivation was being
stored into the registry.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -3974,8 +3974,18 @@ Future<Response> Master::Http::_reactivateAgent(\nmaster->slaves.deactivated.erase(slaveId);\nSlave* slave = master->slaves.registered.get(slaveId);\n- if (slave != nullpt... | C++ | Apache License 2.0 | apache/mesos | Fixed handling disconnected agents by REACTIVATE_AGENT call.
This patch fixes MESOS-10116 by preventing REACTIVATE_AGENT from
activating disconnected agents in the allocator and also fixes the
handling of agents that were removed while the reactivation was being
stored into the registry.
Review: https://reviews.apach... |
46,055 | 17.04.2020 20:53:03 | -28,800 | 0a9d97f801551d273b17d6c4515b4a8884c0be91 | Added `cpus_soft_limit` field to `ResourceStatistics` protobuf message.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -1759,9 +1759,12 @@ message ResourceStatistics {\noptional double cpus_user_time_secs = 2;\noptional double cpus_system_time_secs = 3;\n- // Number of CPUs allocated.\n+ // Hard C... | C++ | Apache License 2.0 | apache/mesos | Added `cpus_soft_limit` field to `ResourceStatistics` protobuf message.
Review: https://reviews.apache.org/r/72398 |
46,055 | 17.04.2020 20:53:43 | -28,800 | ae956f9dbd30c712eb1310c2f7c98d11f6d5c993 | Updated UCR's `usage()` method to support resource limits.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/containerizer.cpp",
"new_path": "src/slave/containerizer/mesos/containerizer.cpp",
"diff": "@@ -1450,7 +1450,8 @@ Future<Containerizer::LaunchResult> MesosContainerizerProcess::launch(\nOwned<Container> container(new Container());... | C++ | Apache License 2.0 | apache/mesos | Updated UCR's `usage()` method to support resource limits.
Review: https://reviews.apache.org/r/72399 |
46,055 | 30.04.2020 09:29:49 | -28,800 | 929932fc2bd753f097a26caea5b3e7f7f3ac9118 | Updated Docker containerizer to set Docker container's resource limits.
This is to ensure the resource limits of Docker container where custom
executor runs can be correctly updated when a new task is launched or
an existing task terminates. And the `resource` field in the `Container`
struct is also renamed to `resourc... | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/values.hpp",
"new_path": "include/mesos/values.hpp",
"diff": "@@ -27,6 +27,7 @@ namespace mesos {\nstd::ostream& operator<<(std::ostream& stream, const Value::Scalar& scalar);\nbool operator==(const Value::Scalar& left, const Value::Scalar& right... | C++ | Apache License 2.0 | apache/mesos | Updated Docker containerizer to set Docker container's resource limits.
This is to ensure the resource limits of Docker container where custom
executor runs can be correctly updated when a new task is launched or
an existing task terminates. And the `resource` field in the `Container`
struct is also renamed to `resour... |
46,055 | 21.04.2020 09:30:26 | -28,800 | 95b806474da6f63ec8d50904a4336f903c0c5d08 | Updated Docker containerizer's `usage()` to support resource limits.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/docker.cpp",
"new_path": "src/slave/containerizer/docker.cpp",
"diff": "@@ -2082,16 +2082,105 @@ Future<ResourceStatistics> DockerContainerizerProcess::usage(\nresult = cgroupStats.get();\n#endif // __linux__\n- // Set the resource allo... | C++ | Apache License 2.0 | apache/mesos | Updated Docker containerizer's `usage()` to support resource limits.
Review: https://reviews.apache.org/r/72402 |
46,072 | 05.05.2020 19:35:37 | -7,200 | 021554db4628a45c48c67ef4244b434b20cd9e79 | Fixed src/Makefile.am to include Web UI roles tree files.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -1976,6 +1976,9 @@ nobase_dist_pkgdata_DATA += \\\nwebui/app/agents/agents.html \\\nwebui/app/frameworks/framework.html \\\nwebui/app/frameworks/frameworks.html \\\n+ webui/app/frameworks/roles.html ... | C++ | Apache License 2.0 | apache/mesos | Fixed src/Makefile.am to include Web UI roles tree files.
Review: https://reviews.apache.org/r/72473 |
46,072 | 25.03.2020 12:15:50 | -3,600 | dd24b24d83fb6e67929fcb060fed695e8427a12d | Added docs for UPDATE_FRAMEWORK call.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/scheduler-http-api.md",
"new_path": "docs/scheduler-http-api.md",
"diff": "@@ -55,7 +55,7 @@ The response returned from the `SUBSCRIBE` call (see [below](#subscribe)) is enc\nThis is the first step in the communication process between the scheduler and th... | C++ | Apache License 2.0 | apache/mesos | Added docs for UPDATE_FRAMEWORK call.
Review: https://reviews.apache.org/r/72267 |
46,103 | 06.05.2020 17:47:37 | -7,200 | 83359534cb1b3303fcbae34af3fadd81b7c8cb85 | Removed mesos-style transition script.
Review: | [
{
"change_type": "DELETE",
"old_path": "support/mesos-style.py",
"new_path": null,
"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 informat... | C++ | Apache License 2.0 | apache/mesos | Removed mesos-style transition script.
Review: https://reviews.apache.org/r/71300/ |
46,128 | 06.05.2020 16:39:12 | 25,200 | 5e77c94f55369e1199109aae5d902bfb6282881c | Made the scheduler resources a top-level item in the documentation.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/home.md",
"new_path": "docs/home.md",
"diff": "@@ -73,17 +73,20 @@ layout: documentation\n* [Persistent Volume](persistent-volume.md) for how to allow tasks to access persistent storage resources.\n* [Container Storage Interface (CSI) Support](csi.md)\n-#... | C++ | Apache License 2.0 | apache/mesos | Made the scheduler resources a top-level item in the documentation.
Review: https://reviews.apache.org/r/72408/ |
46,128 | 06.05.2020 16:39:13 | 25,200 | 1949f52091257f1683bdce656bdeaee53cda36c1 | Added intro docs on running workloads.
This adds a new document containing an introduction for
scheduler authors to the available methods for running
workloads in a Mesos cluster.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/home.md",
"new_path": "docs/home.md",
"diff": "@@ -74,6 +74,7 @@ layout: documentation\n* [Container Storage Interface (CSI) Support](csi.md)\n## Scheduler and Executor Development\n+* [Running Workloads in Mesos](running-workloads.md) explains how a sche... | C++ | Apache License 2.0 | apache/mesos | Added intro docs on running workloads.
This adds a new document containing an introduction for
scheduler authors to the available methods for running
workloads in a Mesos cluster.
Review: https://reviews.apache.org/r/72409/ |
46,128 | 06.05.2020 16:40:23 | 25,200 | 06cc8acd7d52970c05dcc2ec7548f76b933269ac | Updated existing documentation for resource limits.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/nested-container-and-task-group.md",
"new_path": "docs/nested-container-and-task-group.md",
"diff": "@@ -44,31 +44,72 @@ run in separate nested containers inside this top level container,\nwhile the container image can be specified for each container.\n-#... | C++ | Apache License 2.0 | apache/mesos | Updated existing documentation for resource limits.
Review: https://reviews.apache.org/r/72410/ |
46,072 | 14.04.2020 18:55:59 | -7,200 | a32513a1fc6a149b30f04721f866e3cbb6003661 | Added test for reactivation of a disconnected drained agent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_draining_tests.cpp",
"new_path": "src/tests/master_draining_tests.cpp",
"diff": "@@ -69,8 +69,10 @@ using std::vector;\nusing testing::_;\nusing testing::AllOf;\nusing testing::DoAll;\n+using testing::Not;\nusing testing::Return;\nusing testin... | C++ | Apache License 2.0 | apache/mesos | Added test for reactivation of a disconnected drained agent.
Review: https://reviews.apache.org/r/72364 |
46,072 | 07.05.2020 12:55:00 | -7,200 | cbea4d9c112ad61ed9d1586d41ab34bbf926ec83 | Updated Mesos version to 1.11.0. | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -24,7 +24,7 @@ endif ()\nproject(Mesos)\nset(MESOS_MAJOR_VERSION 1)\n-set(MESOS_MINOR_VERSION 10)\n+set(MESOS_MINOR_VERSION 11)\nset(MESOS_PATCH_VERSION 0)\nset(PACKAGE_VERSION\n${MESOS_MAJOR_VERSION}.... | C++ | Apache License 2.0 | apache/mesos | Updated Mesos version to 1.11.0. |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.