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,109 | 13.07.2017 17:44:03 | 25,200 | 9e208293ba482d843e5c56a40d997ba18e764b58 | Refactored authorization acceptors into a single class.
Replaced different authorization-related Acceptor classes with one
AuthorizationAcceptor class.
Removed the ObjectAcceptor parent class, since no inheritance features
are provided by it.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/http.cpp",
"new_path": "src/common/http.cpp",
"diff": "@@ -1143,49 +1143,24 @@ void logRequest(const process::http::Request& request)\n}\n-Future<Owned<AuthorizeFrameworkInfoAcceptor>>\n- AuthorizeFrameworkInfoAcceptor::create(\n+Future<Owned<Author... | C++ | Apache License 2.0 | apache/mesos | Refactored authorization acceptors into a single class.
Replaced different authorization-related Acceptor classes with one
AuthorizationAcceptor class.
Removed the ObjectAcceptor parent class, since no inheritance features
are provided by it.
Review: https://reviews.apache.org/r/60716/ |
46,114 | 14.07.2017 10:36:15 | 25,200 | 5645fddf07eab0fcd195a3514e9e5ad3ef25628d | Windows: Fixed long path support in `reparsepoint.hpp`.
This patch fixes an error where two reparsepoint helpers did
not use `longpath` helper, but instead just `wide_stringify`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp",
"new_path": "3rdparty/stout/include/stout/internal/windows/reparsepoint.hpp",
"diff": "@@ -180,7 +180,7 @@ inline Try<SymbolicLink> build_symbolic_link(const REPARSE_DATA_BUFFER& data)\ninline Tr... | C++ | Apache License 2.0 | apache/mesos | Windows: Fixed long path support in `reparsepoint.hpp`.
This patch fixes an error where two reparsepoint helpers did
not use `longpath` helper, but instead just `wide_stringify`.
Review: https://reviews.apache.org/r/60788/ |
46,055 | 16.07.2017 16:19:25 | -28,800 | 400d3002d4aa82cbae4b55bced608e95225176e4 | Fixed an incorrect field name in fetcher.md. | [
{
"change_type": "MODIFY",
"old_path": "docs/fetcher.md",
"new_path": "docs/fetcher.md",
"diff": "@@ -71,7 +71,7 @@ each URI are determined based on the following protobuf structure. (See\noptional bool executable = 2;\noptional bool extract = 3 [default = true];\noptional bool cache = 4;\n- optiona... | C++ | Apache License 2.0 | apache/mesos | Fixed an incorrect field name in fetcher.md. |
46,066 | 17.07.2017 14:38:07 | 25,200 | 3c264284e5ae00d431813d015d5f459d01b4e9d0 | Added resource provider ID to calls.
The resource provider manager needs to know from which resource provider
calls originated.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/resource_provider/resource_provider.proto",
"new_path": "include/mesos/resource_provider/resource_provider.proto",
"diff": "@@ -83,7 +83,17 @@ message Call {\nrepeated Resource converted_resources = 3;\n}\n- optional Type type = 1;\n- optional Su... | C++ | Apache License 2.0 | apache/mesos | Added resource provider ID to calls.
The resource provider manager needs to know from which resource provider
calls originated.
Review: https://reviews.apache.org/r/60768/ |
46,114 | 17.07.2017 10:07:35 | 25,200 | 0df6892e0792e94c6624b5a86f99260b2a59a43a | CMake: Defined GIT_SHA, GIT_BRANCH, and GIT_TAG variables.
This emits some extra build information into a generated header
file (much like BUILD_DATE, BUILD_TIME, and BUILD_USER).
This only has an effect when building from a git clone and results
in some extra fields showing up in the Master/Agent state results.
Review... | [
{
"change_type": "MODIFY",
"old_path": "cmake/CompilationConfigure.cmake",
"new_path": "cmake/CompilationConfigure.cmake",
"diff": "@@ -344,7 +344,33 @@ else ()\nset(BUILD_USER \"$ENV{USER}\")\nendif ()\n+# When building from source, from a git clone, emit some extra build info.\n+if (IS_DIRECTORY \... | C++ | Apache License 2.0 | apache/mesos | CMake: Defined GIT_SHA, GIT_BRANCH, and GIT_TAG variables.
This emits some extra build information into a generated header
file (much like BUILD_DATE, BUILD_TIME, and BUILD_USER).
This only has an effect when building from a git clone and results
in some extra fields showing up in the Master/Agent state results.
Revi... |
46,172 | 17.07.2017 11:16:23 | 25,200 | c0e51a8d729aa6b06d70fa18259354536bc59b43 | Linted support/post-reviews.py.
This will allow us to use PyLint on the
entire support directory in the future.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/post-reviews.py",
"new_path": "support/post-reviews.py",
"diff": "#!/usr/bin/env python\n-# This is a wrapper around the 'post-review'/'rbt' tool provided by\n-# Review Board. This is currently used by Apache Mesos development.\n#\n-# What does this do... | C++ | Apache License 2.0 | apache/mesos | Linted support/post-reviews.py.
This will allow us to use PyLint on the
entire support directory in the future.
Review: https://reviews.apache.org/r/60233/ |
46,172 | 17.07.2017 11:41:55 | 25,200 | a536d101a52e21b32cb584d4df9d468e8b76b6a2 | Linted support/push-commits.py.
This will allow us to use PyLint on the
entire support directory in the future.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/push-commits.py",
"new_path": "support/push-commits.py",
"diff": "#!/usr/bin/env python\n-\n-# This script is typically used by Mesos committers to push a locally applied\n-# review chain to ASF git repo and mark the reviews as submitted on ASF\n-# Rev... | C++ | Apache License 2.0 | apache/mesos | Linted support/push-commits.py.
This will allow us to use PyLint on the
entire support directory in the future.
Review: https://reviews.apache.org/r/60234/ |
46,172 | 17.07.2017 16:33:56 | 25,200 | 92896871bdb9f02066a403da789cdb70e6e496e4 | Linted support/verify-reviews.py.
This will allow us to use PyLint on the
entire support directory in the future.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/verify-reviews.py",
"new_path": "support/verify-reviews.py",
"diff": "-#!/usr/bin/env python2.7\n-\n-# Provides a tool to verify Mesos reviews that are submitted to\n-# Review Board.\n+#!/usr/bin/env python\n+#\n+# Licensed to the Apache Software Found... | C++ | Apache License 2.0 | apache/mesos | Linted support/verify-reviews.py.
This will allow us to use PyLint on the
entire support directory in the future.
Review: https://reviews.apache.org/r/60236/ |
46,053 | 17.07.2017 17:41:17 | 25,200 | 38a268428160373444187911d121dafc66023fc1 | Added a method in the agent exposing an executor's allocated resources.
This allows us to call a method to get the executor's allocated
resources, instead of call-sites having to each iterate over the
executor's queued and launched tasks.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -7836,6 +7836,22 @@ Option<TaskGroupInfo> Executor::getQueuedTaskGroup(const TaskID& taskId)\n}\n+Resources Executor::allocatedResources() const\n+{\n+ Resources allocatedResources = info.res... | C++ | Apache License 2.0 | apache/mesos | Added a method in the agent exposing an executor's allocated resources.
This allows us to call a method to get the executor's allocated
resources, instead of call-sites having to each iterate over the
executor's queued and launched tasks.
Review: https://reviews.apache.org/r/60867/ |
46,053 | 17.07.2017 18:42:07 | 25,200 | 2120b76b165defb936e15504e79f0d7aa77b104c | Exposed allocated resources per each role in /state endpoint on agent.
The JSON key for this information is "reserved_resources_allocated"
and "unreserved_resources_allocated". Note that this info might differ
from the master's view about resource allocations due to command
executor oversubscription.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/http.cpp",
"new_path": "src/slave/http.cpp",
"diff": "@@ -1336,6 +1336,20 @@ Future<Response> Http::state(\n}\n});\n+ // TODO(abudnik): Consider storing the allocatedResources in the Slave\n+ // struct rather than computing it here each time.\n+ Reso... | C++ | Apache License 2.0 | apache/mesos | Exposed allocated resources per each role in /state endpoint on agent.
The JSON key for this information is "reserved_resources_allocated"
and "unreserved_resources_allocated". Note that this info might differ
from the master's view about resource allocations due to command
executor oversubscription.
Review: https://... |
46,053 | 17.07.2017 20:07:04 | 25,200 | 197fc042ec0120bb872517c9faf7f08fb74837b1 | Tested the per-role allocated resources in the agent endpoint.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/reservation_endpoints_tests.cpp",
"new_path": "src/tests/reservation_endpoints_tests.cpp",
"diff": "@@ -1528,17 +1528,17 @@ TEST_F(ReservationEndpointsTest, DifferentPrincipalsSameRole)\n}\n-// This test verifies that unreserved resources and dynamic... | C++ | Apache License 2.0 | apache/mesos | Tested the per-role allocated resources in the agent endpoint.
Review: https://reviews.apache.org/r/60539/ |
46,123 | 17.07.2017 17:37:21 | 25,200 | 1e4f30ed37fdf4050e3a8fe31831e71924a9f816 | Updated documentation for
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -2,6 +2,8 @@ Release Notes - Mesos - Version 1.4.0 (WIP)\n-------------------------------------------\nThis release contains the following new features:\n+ * [MESOS-6223] - Agents are now allowed to recover the ... | C++ | Apache License 2.0 | apache/mesos | Updated documentation for MESOS-6223.
Review: https://reviews.apache.org/r/60925/ |
46,078 | 17.07.2017 11:26:21 | 25,200 | d5b85d2b9063b5fb4a40108ec4801cc5ed2f5155 | Used a real UPID to send `LearnedMessage`.
Previously an empty UPID `@0.0.0.0:0` was used which could result in
the message being dropped due to certain security check
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/log/network.hpp",
"new_path": "src/log/network.hpp",
"diff": "@@ -216,7 +216,7 @@ public:\nreturn watch->promise.future();\n}\n- // Sends a request to each of the groups members and returns a set\n+ // Sends a request to each of the group members and retur... | C++ | Apache License 2.0 | apache/mesos | Used a real UPID to send `LearnedMessage`.
Previously an empty UPID `@0.0.0.0:0` was used which could result in
the message being dropped due to certain security check (MESOS-7401).
Review: https://reviews.apache.org/r/60917 |
46,074 | 18.07.2017 11:23:48 | 25,200 | 91b3abcfa98de3c2b6231eec7ab0f3df3c53dcd8 | Perform agent GC asynchronously.
Previously, rmdir operations were serialized
through the garbage collector. Expensive removal
events had the potential to delay task launches.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/gc.cpp",
"new_path": "src/slave/gc.cpp",
"diff": "#include <list>\n+#include <process/async.hpp>\n+#include <process/check.hpp>\n+#include <process/defer.hpp>\n#include <process/delay.hpp>\n#include <process/dispatch.hpp>\n#include <stout/foreach.hpp... | C++ | Apache License 2.0 | apache/mesos | Perform agent GC asynchronously.
Previously, rmdir operations were serialized
through the garbage collector. Expensive removal
events had the potential to delay task launches.
Review: https://reviews.apache.org/r/53479/ |
46,109 | 18.07.2017 17:06:56 | 25,200 | aa244baa45d8db84e98e6dca9944a3f679da70d1 | Added class definition for the 'IDAcceptor'.
This commit contains the class definition for 'IDAcceptor', which is
used to filter IDs in the '/master/frameworks', '/master/slaves',
'/master/tasks', and '/slave/containers' endpoints.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/http.cpp",
"new_path": "src/common/http.cpp",
"diff": "@@ -1165,45 +1165,4 @@ Future<Owned<AuthorizationAcceptor>> AuthorizationAcceptor::create(\n}\n-FrameworkIDAcceptor::FrameworkIDAcceptor(\n- const Option<std::string>& _frameworkId)\n-{\n- if (_... | C++ | Apache License 2.0 | apache/mesos | Added class definition for the 'IDAcceptor'.
This commit contains the class definition for 'IDAcceptor', which is
used to filter IDs in the '/master/frameworks', '/master/slaves',
'/master/tasks', and '/slave/containers' endpoints.
Review: https://reviews.apache.org/r/60820/ |
46,109 | 18.07.2017 17:06:59 | 25,200 | 8363449c130298b9c77560c5df583dc1226dd17c | Added filtering to /slaves, /containers and /frameworks endpoints.
Added query parameter support for the '/slaves', '/frameworks' and
'/containers' endpoints.
This allows slaves, frameworks and containers to be queried
by ID.
If no ID is specified, all records are returned, consistent
with current behavior.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -219,11 +219,11 @@ static void json(JSON::ObjectWriter* writer, const Summary<Framework>& summary);\n// user is authorized to view them.\nstruct FullFrameworkWriter {\nFullFrameworkWriter(\n-... | C++ | Apache License 2.0 | apache/mesos | Added filtering to /slaves, /containers and /frameworks endpoints.
Added query parameter support for the '/slaves', '/frameworks' and
'/containers' endpoints.
This allows slaves, frameworks and containers to be queried
by ID.
If no ID is specified, all records are returned, consistent
with current behavior.
Review:... |
46,109 | 18.07.2017 17:07:02 | 25,200 | 916a5c9fdbc7619b7c9356c21afb83e043feef88 | Added test cases for /slaves, /containers, /frameworks endpoints.
Added query parameter test cases for '/slaves' and '/frameworks' on
the master, and '/containers' on the agent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_tests.cpp",
"new_path": "src/tests/master_tests.cpp",
"diff": "@@ -2505,6 +2505,125 @@ TEST_F(MasterTest, SlavesEndpointTwoSlaves)\n}\n+// Ensures that the '/slaves' endpoint returns the correct slave and it's in\n+// the correct field of the ... | C++ | Apache License 2.0 | apache/mesos | Added test cases for /slaves, /containers, /frameworks endpoints.
Added query parameter test cases for '/slaves' and '/frameworks' on
the master, and '/containers' on the agent.
Review: https://reviews.apache.org/r/60847/ |
46,181 | 19.07.2017 12:44:53 | 25,200 | b1eb4accdf307416075b3533d49ab8ec7083228a | Copy-edited the documentation for GPU support. | [
{
"change_type": "MODIFY",
"old_path": "docs/gpu-support.md",
"new_path": "docs/gpu-support.md",
"diff": "@@ -20,7 +20,7 @@ accepting offers that contain GPUs and launching tasks that consume\nthem should be just as straightforward as launching a traditional task\nthat only consumes CPUs, memory, an... | C++ | Apache License 2.0 | apache/mesos | Copy-edited the documentation for GPU support. |
46,136 | 19.07.2017 12:36:08 | 25,200 | 4e6eb4ec53bd1c8ce77944ce13828072627ce76e | Used move semantics when returning gzip compressed responses.
We used to copy the compressed body into the eventual response.
For large responses especially from `/state` endpoint made by the
Web UI, these can be pretty expensive. This change replaces the
copy by a move operation.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/encoder.hpp",
"new_path": "3rdparty/libprocess/src/encoder.hpp",
"diff": "@@ -201,7 +201,8 @@ public:\nif (compressed.isError()) {\nLOG(WARNING) << \"Failed to gzip response body: \" << compressed.error();\n} else {\n- body = compressed... | C++ | Apache License 2.0 | apache/mesos | Used move semantics when returning gzip compressed responses.
We used to copy the compressed body into the eventual response.
For large responses especially from `/state` endpoint made by the
Web UI, these can be pretty expensive. This change replaces the
copy by a move operation.
Review: https://reviews.apache.org/r... |
46,076 | 18.07.2017 22:26:46 | 25,200 | 4936a32bcf4bbd0b74778d327d047cb8fe17e4f2 | Added --enable-lock-free-run-queue configuration to Mesos.
Review: | [
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -148,6 +148,11 @@ AC_CONFIG_FILES([mpi/mpiexec-mesos], [chmod +x mpi/mpiexec-mesos])\n# Optional features.\n###############################################################################\n+AC_ARG_ENABLE([... | C++ | Apache License 2.0 | apache/mesos | Added --enable-lock-free-run-queue configuration to Mesos.
Review: https://reviews.apache.org/r/60979 |
46,076 | 22.06.2017 23:49:00 | 25,200 | 0d2a4940bc118c9ace7be5ca25065e42c454130c | Replaced std::map with hashmap for ProcessManager::processes.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/process.cpp",
"new_path": "3rdparty/libprocess/src/process.cpp",
"diff": "@@ -566,7 +566,7 @@ private:\nconst Option<string> delegate;\n// Map of all local spawned and running processes.\n- map<string, ProcessBase*> processes;\n+ hashma... | C++ | Apache License 2.0 | apache/mesos | Replaced std::map with hashmap for ProcessManager::processes.
Review: https://reviews.apache.org/r/60829 |
46,076 | 23.06.2017 00:15:52 | 25,200 | c1b6d978d0193ff34c28b83228f85c3e4a348153 | Replaced std::map with hashmap for ProcessBase::handlers.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/process.hpp",
"new_path": "3rdparty/libprocess/include/process/process.hpp",
"diff": "#include <process/pid.hpp>\n#include <stout/duration.hpp>\n+#include <stout/hashmap.hpp>\n#include <stout/lambda.hpp>\n#include <stout/opt... | C++ | Apache License 2.0 | apache/mesos | Replaced std::map with hashmap for ProcessBase::handlers.
Review: https://reviews.apache.org/r/60830 |
46,076 | 11.07.2017 17:38:01 | 25,200 | 7413a3c43a82287519712f24151126453f0d82f6 | Removed extra/unnecessary allocations of Message.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/event.hpp",
"new_path": "3rdparty/libprocess/include/process/event.hpp",
"diff": "@@ -86,30 +86,25 @@ struct Event\nstruct MessageEvent : Event\n{\n- explicit MessageEvent(Message* _message)\n- : message(_message) {}\n+ expl... | C++ | Apache License 2.0 | apache/mesos | Removed extra/unnecessary allocations of Message.
Review: https://reviews.apache.org/r/60831 |
46,076 | 14.07.2017 16:40:29 | 25,200 | 102e86946d1f467cf30da7bd3f0fb89440866456 | Changes for libprocess Message optimization.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -1489,9 +1489,9 @@ void Master::visit(const MessageEvent& event)\n// framework and whether the framework has a principal so we use\n// these two temp variables to simplify the condition c... | C++ | Apache License 2.0 | apache/mesos | Changes for libprocess Message optimization.
Review: https://reviews.apache.org/r/60884 |
46,139 | 19.07.2017 14:13:17 | 25,200 | f78a5822b838fe9ad361cbeba9611992c2225551 | Set the `LIBPROCESS_IP` env variable before starting the fetcher.
This patch updates the containerizer to manually set the `LIBPROCESS_IP`
environment variable to `127.0.0.1` when launching the fetcher POSIX
process.
This environment variable is needed so that libprocess can be
initialized without depending on an exter... | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/fetcher.cpp",
"new_path": "src/slave/containerizer/fetcher.cpp",
"diff": "@@ -833,6 +833,13 @@ Future<Nothing> FetcherProcess::run(\nenvironment[\"HADOOP_HOME\"] = flags.hadoop_home;\n}\n+ // TODO(jieyu): This is to make sure the libpro... | C++ | Apache License 2.0 | apache/mesos | Set the `LIBPROCESS_IP` env variable before starting the fetcher.
This patch updates the containerizer to manually set the `LIBPROCESS_IP`
environment variable to `127.0.0.1` when launching the fetcher POSIX
process.
This environment variable is needed so that libprocess can be
initialized without depending on an ext... |
46,114 | 19.07.2017 18:27:54 | 25,200 | 696f9ec78ea3cf783f21fb5d1734dcb5736b646e | Added concurrentqueue to CMake build.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -31,6 +31,7 @@ endif ()\n# library (located in `3rdparty/`, i.e. not the `mesos-3rdparty` repository).\n###############################################################################... | C++ | Apache License 2.0 | apache/mesos | Added concurrentqueue to CMake build.
Review: https://reviews.apache.org/r/60987/ |
46,114 | 19.07.2017 18:28:11 | 25,200 | 52f8291537b444ad0dcbf220a45aedb7dddbf04c | Added concurrentqueue to libprocess' CMake build.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"new_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"diff": "set(STOUT ${MESOS_3RDPARTY_SRC}/stout)\nEXTERNAL(\"boost\" ${BOOST_VERSION} \"${MESOS_3RDPARTY_BIN}\")\n+EXTERNAL(\"conc... | C++ | Apache License 2.0 | apache/mesos | Added concurrentqueue to libprocess' CMake build.
Review: https://reviews.apache.org/r/60988/ |
46,078 | 13.07.2017 15:49:59 | 25,200 | b43ceb8b97e4eca507a699113adcd311a071936f | Changed the way tests capture agent state transitioning.
The existing way captures the registrar operation which may not
occur after but regardless of that, capturing the agent
authorization is equivalent and arguably more straightforward.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_tests.cpp",
"new_path": "src/tests/master_tests.cpp",
"diff": "@@ -546,18 +546,11 @@ TEST_F(MasterTest, KillUnknownTaskSlaveInTransition)\nEXPECT_CALL(sched, disconnected(&driver))\n.WillOnce(FutureSatisfy(&disconnected));\n- // Restart master... | C++ | Apache License 2.0 | apache/mesos | Changed the way tests capture agent state transitioning.
The existing way captures the registrar operation which may not
occur after MESOS-7711 but regardless of that, capturing the agent
authorization is equivalent and arguably more straightforward.
Review: https://reviews.apache.org/r/60854 |
46,078 | 22.06.2017 14:01:27 | 25,200 | ef66225896be26fd4e7b0bb914e2820366613470 | Skipped consulting registry if the agent is in `slaves.recovered`.
Agents in `slaves.recovered` haven't been marked unreachable and
would have been in `slaves.registered` if the master has not failed
over. So this is consistent with how the master in steady state handles
reregistering agents by checking against `slaves... | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -6182,6 +6182,25 @@ void Master::_reregisterSlave(\nLOG(INFO) << \"Re-registering agent \" << slaveInfo.id() << \" at \" << pid\n<< \" (\" << slaveInfo.hostname() << \")\";\n+ if (slaves.... | C++ | Apache License 2.0 | apache/mesos | Skipped consulting registry if the agent is in `slaves.recovered`.
Agents in `slaves.recovered` haven't been marked unreachable and
would have been in `slaves.registered` if the master has not failed
over. So this is consistent with how the master in steady state handles
reregistering agents by checking against `slave... |
46,076 | 19.07.2017 13:56:28 | 25,200 | 7c90f18603223474652722c78e46b0aa65a528e5 | Added a message passing benchmark.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/Makefile.am",
"new_path": "3rdparty/libprocess/Makefile.am",
"diff": "@@ -249,6 +249,7 @@ check_PROGRAMS = libprocess-tests benchmarks\nlibprocess_tests_SOURCES = \\\nsrc/tests/after_tests.cpp \\\nsrc/tests/collect_tests.cpp \\\n+ src/tests... | C++ | Apache License 2.0 | apache/mesos | Added a message passing benchmark.
Review: https://reviews.apache.org/r/60983 |
46,076 | 19.07.2017 19:25:42 | 25,200 | 818aa53acfae579a6aecf7016c675c7a389a9ed6 | Finalize when the tests finish. | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/tests/benchmarks.cpp",
"new_path": "3rdparty/libprocess/src/tests/benchmarks.cpp",
"diff": "@@ -66,7 +66,10 @@ int main(int argc, char** argv)\nlisteners.Append(process::ClockTestEventListener::instance());\nlisteners.Append(process::Fi... | C++ | Apache License 2.0 | apache/mesos | Finalize when the tests finish. |
46,114 | 20.07.2017 11:35:07 | 25,200 | cce7f5f6e8bea0972dab003cd84959d044350f5f | Windows: Fixed `CreateProcess` error message.
The buffer conversion of the argument string was being printed instead
of the argument string itself, leading to an error message with a bunch
of bytes.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/shell.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/shell.hpp",
"diff": "@@ -294,7 +294,7 @@ inline Try<ProcessData> create_process(\nif (!create_process_result) {\nreturn WindowsError(\n- \"Failed to call `... | C++ | Apache License 2.0 | apache/mesos | Windows: Fixed `CreateProcess` error message.
The buffer conversion of the argument string was being printed instead
of the argument string itself, leading to an error message with a bunch
of bytes.
Review: https://reviews.apache.org/r/61001/ |
46,078 | 20.07.2017 17:06:31 | 25,200 | 1b15ff7a82a1b7da8cf1b73d9923d8f3e1a7e945 | Print the `resource` that fails CHECK.
This patch focuses on the CHECKs added in 1e2200. | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources.cpp",
"new_path": "src/common/resources.cpp",
"diff": "@@ -1047,8 +1047,8 @@ Option<Error> Resources::validate(const RepeatedPtrField<Resource>& resources)\nbool Resources::isEmpty(const Resource& resource)\n{\n- CHECK(!resource.has_role()... | C++ | Apache License 2.0 | apache/mesos | Print the `resource` that fails CHECK.
This patch focuses on the CHECKs added in 1e2200. |
46,078 | 20.07.2017 17:49:23 | 25,200 | d687808e416f93657f7651d9854ef7b86d63a422 | Minor fix to use the more idiomatic `send` method.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/log/network.hpp",
"new_path": "src/log/network.hpp",
"diff": "@@ -245,10 +245,10 @@ public:\nfor (iterator = pids.begin(); iterator != pids.end(); ++iterator) {\nconst process::UPID& pid = *iterator;\nif (filter.count(pid) == 0) {\n- // NOTE: Here we just ... | C++ | Apache License 2.0 | apache/mesos | Minor fix to use the more idiomatic `send` method.
Review: https://reviews.apache.org/r/61018 |
46,103 | 24.07.2017 09:38:54 | 25,200 | b406780fc60f523d175467729c5b81b7529b652c | Considered ResourceProvider 'name' and 'type' in equality checks.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/type_utils.cpp",
"new_path": "src/common/type_utils.cpp",
"diff": "@@ -366,6 +366,14 @@ bool operator==(\nreturn false;\n}\n+ if (left.type() != right.type()) {\n+ return false;\n+ }\n+\n+ if (left.name() != right.name()) {\n+ return false;\n+ }\n+\... | C++ | Apache License 2.0 | apache/mesos | Considered ResourceProvider 'name' and 'type' in equality checks.
Review: https://reviews.apache.org/r/61081/ |
46,103 | 24.07.2017 09:38:58 | 25,200 | 9a45267c51d7fbc68947d6721623b8004b912ddc | Removed tracking ResourceProvider total resources in its info.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -970,7 +970,6 @@ message SlaveInfo {\nmessage ResourceProviderInfo {\noptional ResourceProviderID id = 1;\nrepeated Attribute attributes = 2;\n- repeated Resource resources = 3;\n... | C++ | Apache License 2.0 | apache/mesos | Removed tracking ResourceProvider total resources in its info.
Review: https://reviews.apache.org/r/61082/ |
46,114 | 24.07.2017 16:30:10 | 25,200 | 803d18b72bd9e0ed2b7adaa16b581c4552e5e2bd | Windows: Fixed rvalue cast bug.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/shell.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/shell.hpp",
"diff": "@@ -349,16 +349,16 @@ inline int spawn(\n::WaitForSingleObject(\nprocess_data.get().process_handle.get_handle(), INFINITE);\n- int sta... | C++ | Apache License 2.0 | apache/mesos | Windows: Fixed rvalue cast bug.
Review: https://reviews.apache.org/r/61092/ |
46,114 | 24.07.2017 16:37:42 | 25,200 | 2215600f4ba86afbe510cf96d3ff518b8602e43f | Windows: Disabled permissive building.
This flag enables warnings for non-standards conformant code.
Review: | [
{
"change_type": "MODIFY",
"old_path": "cmake/CompilationConfigure.cmake",
"new_path": "cmake/CompilationConfigure.cmake",
"diff": "@@ -231,7 +231,7 @@ if (WIN32)\n# COFF/PE and friends are somewhat limited in the number of sections they\n# allow for an object file. We use this to avoid those proble... | C++ | Apache License 2.0 | apache/mesos | Windows: Disabled permissive building.
This flag enables warnings for non-standards conformant code.
https://blogs.msdn.microsoft.com/vcblog/2016/11/16/permissive-switch/
Review: https://reviews.apache.org/r/61093/ |
46,062 | 24.07.2017 16:14:05 | 25,200 | 096e5e3abf1d0d82ebd2f4585111fb88371242a6 | Multi-role: Adjusted `long-lived-framework` to use allocated resources.
With multi-role support, resources have an explicit notion of
an allocation role. The allocation role is used in the `contains` check
for example. The task/executor resources that the long-lived-framework
uses therefore need to be updated such that... | [
{
"change_type": "MODIFY",
"old_path": "src/examples/long_lived_framework.cpp",
"new_path": "src/examples/long_lived_framework.cpp",
"diff": "@@ -106,9 +106,13 @@ public:\nmaster(_master),\nframework(_framework),\nexecutor(_executor),\n- taskResources(Resources::parse(\n+ taskResources([&_framework]... | C++ | Apache License 2.0 | apache/mesos | Multi-role: Adjusted `long-lived-framework` to use allocated resources.
With multi-role support, resources have an explicit notion of
an allocation role. The allocation role is used in the `contains` check
for example. The task/executor resources that the long-lived-framework
uses therefore need to be updated such tha... |
46,145 | 24.07.2017 18:23:14 | 25,200 | b80e239cd6e629d1e524184ad3fed93726313401 | Added a copy assignment operator to `net::IP::Network`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/ip.hpp",
"new_path": "3rdparty/stout/include/stout/ip.hpp",
"diff": "@@ -248,7 +248,17 @@ public:\n// `unique_ptr`.\nNetwork(const Network& network)\n: address_(new IP(network.address())),\n- netmask_(new IP(network.netmask())) {};... | C++ | Apache License 2.0 | apache/mesos | Added a copy assignment operator to `net::IP::Network`.
Review: https://reviews.apache.org/r/61004/ |
46,145 | 24.07.2017 18:24:51 | 25,200 | cd3380c4e9521b4b26f9030658816eee7a4b89a1 | Added a test to check for copy assignment of `net::IP::Network`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/ip_tests.cpp",
"new_path": "3rdparty/stout/tests/ip_tests.cpp",
"diff": "@@ -238,3 +238,21 @@ TEST(NetTest, ConstructIPv6Network)\nASSERT_SOME(network2);\nEXPECT_EQ(network.get(), network2.get());\n}\n+\n+\n+// Check the copy assignment op... | C++ | Apache License 2.0 | apache/mesos | Added a test to check for copy assignment of `net::IP::Network`.
Review: https://reviews.apache.org/r/61005/ |
46,078 | 16.07.2017 11:10:00 | 25,200 | 95fe8b367a94da6da0a580026519bf07a4f65ec7 | Added more tests for agent reregistration.
These new tests are specifically for verifying whether the registrar
is involved when an agent reregisters, depending on whether it has
been marked unreachable.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_tests.cpp",
"new_path": "src/tests/slave_tests.cpp",
"diff": "@@ -3453,6 +3453,152 @@ TEST_F(SlaveTest, HealthCheckUnregisterRace)\n#endif // __WINDOWS__\n+// This test verifies that when an unreachable agent reregisters after\n+// master failo... | C++ | Apache License 2.0 | apache/mesos | Added more tests for agent reregistration.
These new tests are specifically for verifying whether the registrar
is involved when an agent reregisters, depending on whether it has
been marked unreachable.
Review: https://reviews.apache.org/r/60898 |
46,066 | 26.07.2017 17:04:44 | 25,200 | 610ef401fead9a028108e3b1ef11544166a6c5f2 | Added evolve functions for resource provider Event/Call.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/internal/evolve.cpp",
"new_path": "src/internal/evolve.cpp",
"diff": "@@ -231,6 +231,19 @@ v1::master::Response evolve(const mesos::master::Response& response)\n}\n+v1::resource_provider::Call evolve(const mesos::resource_provider::Call& call)\n+{\n+ retur... | C++ | Apache License 2.0 | apache/mesos | Added evolve functions for resource provider Event/Call.
Review: https://reviews.apache.org/r/60769/ |
46,066 | 26.07.2017 17:04:48 | 25,200 | 7528f595534c9c182ee82468a3e0e8520449283f | Added validation functions for resource provider calls.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/CMakeLists.txt",
"new_path": "src/CMakeLists.txt",
"diff": "@@ -403,6 +403,7 @@ set(RESOURCE_PROVIDER_SRC\nresource_provider/driver.cpp\nresource_provider/local.cpp\nresource_provider/manager.cpp\n+ resource_provider/validation.cpp\nresource_provider/stora... | C++ | Apache License 2.0 | apache/mesos | Added validation functions for resource provider calls.
Review: https://reviews.apache.org/r/60770/ |
46,066 | 26.07.2017 17:04:51 | 25,200 | 6827a48398a4db9306de2e23ed14f5abbb3780b2 | Implemented the 'SUBSCRIBE' call in the resource provider manager.
Using HTTP, resource providers are expected to subscribe to the resource
provider manager. The resource provider manager will assign a unique ID
to subscribed resource providers and use events to communicate with
them.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/resource_provider/manager.cpp",
"new_path": "src/resource_provider/manager.cpp",
"diff": "#include <glog/logging.h>\n+#include <string>\n+#include <utility>\n+\n+#include <mesos/http.hpp>\n+\n+#include <mesos/resource_provider/resource_provider.hpp>\n+\n+#... | C++ | Apache License 2.0 | apache/mesos | Implemented the 'SUBSCRIBE' call in the resource provider manager.
Using HTTP, resource providers are expected to subscribe to the resource
provider manager. The resource provider manager will assign a unique ID
to subscribed resource providers and use events to communicate with
them.
Review: https://reviews.apache.o... |
46,068 | 27.07.2017 00:43:22 | -7,200 | fc27129a1f63fb48da5ed41b82c150be2ce45121 | Added documentation for LIBPROCESS_SSL_ECDH_CURVE environment variable.
This adds the adequate documentation entry for the new
`LIBPROCESS_SSL_ECDH_CURVE` environment variable, which allow the
configuration of ECDHE key exchange while establishing TLS sessions.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/ssl.md",
"new_path": "docs/ssl.md",
"diff": "@@ -74,6 +74,10 @@ The above switches enable / disable the specified protocols. By default only TLS\n_SSLv2 is disabled completely because modern versions of OpenSSL disable it using multiple compile time confi... | C++ | Apache License 2.0 | apache/mesos | Added documentation for LIBPROCESS_SSL_ECDH_CURVE environment variable.
This adds the adequate documentation entry for the new
`LIBPROCESS_SSL_ECDH_CURVE` environment variable, which allow the
configuration of ECDHE key exchange while establishing TLS sessions.
Review: https://reviews.apache.org/r/60996/ |
46,111 | 27.07.2017 14:30:30 | 25,200 | 5073717e79dce38de51214cf437f58da1b8a1085 | Added 'FRAMEWORK_ADDED' event for master streaming api.
Added event 'FRAMEWORK_ADDED' for master's v1 streaming operator API.
It will be generated when the framework registers for the first time.
Review:
Author: Zhitao Li
Date: Thu Jul 27 14:30:30 2017 -0700 | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/master/master.proto",
"new_path": "include/mesos/master/master.proto",
"diff": "@@ -480,6 +480,7 @@ message Event {\nTASK_UPDATED = 3; // See `TaskUpdated` below.\nAGENT_ADDED = 4; // See `AgentAdded` below.\nAGENT_REMOVED = 5; // See `AgentRemov... | C++ | Apache License 2.0 | apache/mesos | Added 'FRAMEWORK_ADDED' event for master streaming api.
Added event 'FRAMEWORK_ADDED' for master's v1 streaming operator API.
It will be generated when the framework registers for the first time.
Review: https://reviews.apache.org/r/60928/
Author: Zhitao Li <zhitaoli.cs@gmail.com>
Date: Thu Jul 27 14:30:30 2... |
46,109 | 27.07.2017 14:31:23 | 25,200 | 77486d777973bc4e7e4a2098c66e128a56702a94 | Added 'FRAMEWORK_UPDATED' event for master streaming api.
Added event 'FRAMEWORK_UPDATED' for master's v1 streaming operator API.
It will be generated when the framework re-registers with the master.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/master/master.proto",
"new_path": "include/mesos/master/master.proto",
"diff": "@@ -481,6 +481,7 @@ message Event {\nAGENT_ADDED = 4; // See `AgentAdded` below.\nAGENT_REMOVED = 5; // See `AgentRemoved` below.\nFRAMEWORK_ADDED = 6; // See `Framew... | C++ | Apache License 2.0 | apache/mesos | Added 'FRAMEWORK_UPDATED' event for master streaming api.
Added event 'FRAMEWORK_UPDATED' for master's v1 streaming operator API.
It will be generated when the framework re-registers with the master.
Review: https://reviews.apache.org/r/60929/ |
46,111 | 27.07.2017 14:31:32 | 25,200 | bb0e4f2c3ac4a24d995acc14440838b11932b95a | Added 'FRAMEWORK_REMOVED' event for master streaming api.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/master/master.proto",
"new_path": "include/mesos/master/master.proto",
"diff": "@@ -482,6 +482,7 @@ message Event {\nAGENT_REMOVED = 5; // See `AgentRemoved` below.\nFRAMEWORK_ADDED = 6; // See `FrameworkAdded` below.\nFRAMEWORK_UPDATED = 7; // S... | C++ | Apache License 2.0 | apache/mesos | Added 'FRAMEWORK_REMOVED' event for master streaming api.
Review: https://reviews.apache.org/r/60930/ |
46,109 | 27.07.2017 14:32:01 | 25,200 | a5ad763d1c3a2a35b897255fe75e19b65ccea269 | Added test cases for framework streaming events.
Added test cases for 'FRAMEWORK_ADDED', 'FRAMEWORK_UPDATED' and
'FRAMEWORK_REMOVED' events in v1 operator API.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/api_tests.cpp",
"new_path": "src/tests/api_tests.cpp",
"diff": "@@ -1922,6 +1922,191 @@ TEST_P(MasterAPITest, Subscribe)\n}\n+// This test tries to verify that a client subscribed to the 'api/v1' endpoint\n+// can receive `FRAMEWORK_ADDED`, `FRAMEWOR... | C++ | Apache License 2.0 | apache/mesos | Added test cases for framework streaming events.
Added test cases for 'FRAMEWORK_ADDED', 'FRAMEWORK_UPDATED' and
'FRAMEWORK_REMOVED' events in v1 operator API.
Review: https://reviews.apache.org/r/60931/ |
46,078 | 27.07.2017 23:37:41 | 25,200 | 68d1357b5cf752f59ac3c1b60916f907db026171 | Logged each container state transition.
Currently when container launch is blocked silently, it's hard to tell
which state it is in. Logging state transition helps with triaging.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/containerizer.cpp",
"new_path": "src/slave/containerizer/mesos/containerizer.cpp",
"diff": "@@ -1166,7 +1166,7 @@ Future<Nothing> MesosContainerizerProcess::prepare(\nCHECK_EQ(container->state, PROVISIONING);\n- container->state =... | C++ | Apache License 2.0 | apache/mesos | Logged each container state transition.
Currently when container launch is blocked silently, it's hard to tell
which state it is in. Logging state transition helps with triaging.
Review: https://reviews.apache.org/r/61089/ |
46,078 | 27.07.2017 23:37:52 | 25,200 | bdf274044b7cd1c1938fc69e8b9f9510e2a35357 | Store container reference in a variable if it will be used repeatedly.
The containerizer already does it in some places, this patch makes it
more consistent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/containerizer.cpp",
"new_path": "src/slave/containerizer/mesos/containerizer.cpp",
"diff": "@@ -1779,11 +1779,13 @@ Future<bool> MesosContainerizerProcess::isolate(\nreturn Failure(\"Container destroyed during preparing\");\n}\n- ... | C++ | Apache License 2.0 | apache/mesos | Store container reference in a variable if it will be used repeatedly.
The containerizer already does it in some places, this patch makes it
more consistent.
Review: https://reviews.apache.org/r/61090/ |
46,124 | 28.07.2017 17:21:33 | -28,800 | 85af46f93d5625006d01bdcf78bba9fa547b3313 | Added Kakao to powered-by-mesos.md.
This closes | [
{
"change_type": "MODIFY",
"old_path": "docs/powered-by-mesos.md",
"new_path": "docs/powered-by-mesos.md",
"diff": "@@ -54,9 +54,10 @@ layout: documentation\n* [Hootsuite](https://hootsuite.com)\n* [HubSpot](http://www.hubspot.com)\n* [Ignidata](http://www.ignidata.com)\n+* [iQIYI](http://www.iqiyi.... | C++ | Apache License 2.0 | apache/mesos | Added Kakao to powered-by-mesos.md.
This closes #225 |
46,056 | 28.07.2017 16:42:11 | -7,200 | ff24beadf48cbf5ec6d3ffe09f0f3cd898dff894 | Minor style cleanups in process.cpp.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/process.cpp",
"new_path": "3rdparty/libprocess/src/process.cpp",
"diff": "@@ -295,7 +295,7 @@ class HttpProxy : public Process<HttpProxy>\n{\npublic:\nexplicit HttpProxy(const Socket& _socket);\n- virtual ~HttpProxy() {};\n+ virtual ~Ht... | C++ | Apache License 2.0 | apache/mesos | Minor style cleanups in process.cpp.
Review: https://reviews.apache.org/r/61034/ |
46,056 | 28.07.2017 16:42:21 | -7,200 | 155285d3d5815aacda4d8fcc1c02c58ddb572a31 | Removed almost identical master and slave metrics tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_tests.cpp",
"new_path": "src/tests/master_tests.cpp",
"diff": "@@ -2242,10 +2242,12 @@ TEST_F(MasterTest, MetricsInMetricsEndpoint)\nEXPECT_EQ(1u, snapshot.values.count(\"master/tasks_staging\"));\nEXPECT_EQ(1u, snapshot.values.count(\"master/... | C++ | Apache License 2.0 | apache/mesos | Removed almost identical master and slave metrics tests.
Review: https://reviews.apache.org/r/61031/ |
46,129 | 28.07.2017 12:27:52 | 25,200 | f99a7170716bba52b05732833fb26df1d01e2b42 | Added regression test for sandbox_path volume ownership issue.
Added regression test for sandbox_path volume ownership issue.
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": "@@ -147,6 +147,100 @@ TEST_F(VolumeSandboxPathIsolatorTest, SharedVolume)\nEXPECT_WTERMSIG_EQ(SIGKILL, wait.... | C++ | Apache License 2.0 | apache/mesos | Added regression test for sandbox_path volume ownership issue.
Added regression test for sandbox_path volume ownership issue.
Review: https://reviews.apache.org/r/61121/ |
46,129 | 28.07.2017 12:27:58 | 25,200 | 8edfbaaf49c0b09ed02bd07334fb65b29d088a40 | Added regression test for sandbox volume ownership issue.
Added regression test for sandbox volume ownership issue.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp",
"new_path": "src/tests/containerizer/linux_filesystem_isolator_tests.cpp",
"diff": "@@ -239,6 +239,67 @@ TEST_F(LinuxFilesystemIsolatorTest, ROOT_VolumeFromSandbox)\n}\n+// This is a regression test... | C++ | Apache License 2.0 | apache/mesos | Added regression test for sandbox volume ownership issue.
Added regression test for sandbox volume ownership issue.
Review: https://reviews.apache.org/r/61123/ |
46,062 | 28.07.2017 17:55:36 | 25,200 | 23c84de3b80bb92ca277e3b67466d49f3079b678 | Sorted the tickets in 1.3.1 CHANGELOG. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -40,8 +40,8 @@ All Issues:\n* [MESOS-5187] - The filesystem/linux isolator does not set the permissions of the host_path.\n* [MESOS-7252] - Need to fix resource check in long-lived framework.\n* [MESOS-7429] - A... | C++ | Apache License 2.0 | apache/mesos | Sorted the tickets in 1.3.1 CHANGELOG. |
46,092 | 31.07.2017 09:06:57 | 25,200 | 6887bdcd4956c422c5e094037162964ef39ff5bf | Add Verizon Labs to list of organizations using Mesos.
This closes | [
{
"change_type": "MODIFY",
"old_path": "docs/powered-by-mesos.md",
"new_path": "docs/powered-by-mesos.md",
"diff": "@@ -111,6 +111,7 @@ layout: documentation\n* [Udacity](https://udacity.com)\n* [Uninett AS](http://www.uninett.no)\n* [URX](http://www.urx.com)\n+* [Verizon Labs](https://www.verizon.c... | C++ | Apache License 2.0 | apache/mesos | Add Verizon Labs to list of organizations using Mesos.
This closes #226 |
46,078 | 26.07.2017 16:15:15 | 25,200 | dbe1fbcba21a2419616f9632b599bb43161ae042 | Convert resource format for completed frameworks.
This patch is similar to We need to convert all resources
from old agents without reservation-refinement capability, including
task resources from completed frameworks.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -6261,7 +6261,7 @@ void Master::__reregisterSlave(\nconst vector<ExecutorInfo>& executorInfos_,\nconst vector<Task>& tasks_,\nconst vector<FrameworkInfo>& frameworks,\n- const vector<Arch... | C++ | Apache License 2.0 | apache/mesos | Convert resource format for completed frameworks.
This patch is similar to 4ec820709. We need to convert all resources
from old agents without reservation-refinement capability, including
task resources from completed frameworks.
Review: https://reviews.apache.org/r/61193 |
46,129 | 31.07.2017 15:45:29 | 25,200 | 03b77fb4643c5e7e2957ae09a5a6ca38b6407437 | Changed Device::path to optional and introduced Device::Number.
A device in cgroup can be represented as either a path or a major:minor
number. Need to change the `required` Device::path to `optional` to
add Number in the device protobuf.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -3084,7 +3084,13 @@ message FileInfo {\n* Describes information abount a device.\n*/\nmessage Device {\n- required string path = 1;\n+ message Number {\n+ required uint64 major = ... | C++ | Apache License 2.0 | apache/mesos | Changed Device::path to optional and introduced Device::Number.
A device in cgroup can be represented as either a path or a major:minor
number. Need to change the `required` Device::path to `optional` to
add Number in the device protobuf.
Review: https://reviews.apache.org/r/60991/ |
46,129 | 31.07.2017 15:45:33 | 25,200 | 9ed68402988502d29eb6a510a3686def2bfd451b | Added protobuf scheme for blkio subsystem in CgroupInfo.
Only statistics information for blkio in protobuf.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -1584,6 +1584,9 @@ message ResourceStatistics {\n// Per disk (resource) statistics.\nrepeated DiskStatistics disk_statistics = 43;\n+ // Cgroups blkio statistics.\n+ optional Cgro... | C++ | Apache License 2.0 | apache/mesos | Added protobuf scheme for blkio subsystem in CgroupInfo.
Only statistics information for blkio in protobuf.
Review: https://reviews.apache.org/r/60932/ |
46,129 | 31.07.2017 15:45:36 | 25,200 | 1b89fb07419aa53cae661a1715b3258a8e75c140 | Added stats/control helpers for the Blkio cgroup subsystem.
Data structure for Blkio entities
Stats helpers for blkio.throttle.io* (generic blkio stats)
Stats helpers for blkio.io* (CFQ related stats)
Comments from the kernel blkio doc for helper functions
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/linux/cgroups.cpp",
"new_path": "src/linux/cgroups.cpp",
"diff": "@@ -1925,6 +1925,351 @@ Result<string> cgroup(pid_t pid, const string& subsystem)\n} // namespace internal {\n+namespace blkio {\n+\n+Result<string> cgroup(pid_t pid)\n+{\n+ return internal:... | C++ | Apache License 2.0 | apache/mesos | Added stats/control helpers for the Blkio cgroup subsystem.
- Data structure for Blkio entities
- Stats helpers for blkio.throttle.io* (generic blkio stats)
- Stats helpers for blkio.io* (CFQ related stats)
- Comments from the kernel blkio doc for helper functions
Review: https://reviews.apache.org/r/60933/ |
46,129 | 31.07.2017 15:45:40 | 25,200 | d5325188689c903513f0d9fa121dfdda06fb0de3 | Implemented blkio subsystem usage() for resource statistics.
Implemented blkio subsystem usage() for resource statistics.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/cgroups/subsystems/blkio.cpp",
"diff": "#include <process/id.hpp>\n+#include <stout/foreach.hpp>\n+#include <stout/hashmap.hpp>\n+\n+#in... | C++ | Apache License 2.0 | apache/mesos | Implemented blkio subsystem usage() for resource statistics.
Implemented blkio subsystem usage() for resource statistics.
Review: https://reviews.apache.org/r/60934/ |
46,129 | 31.07.2017 15:45:43 | 25,200 | c65fb009e452e9a6cb0c9e2f8541423b74dd64cc | Fixed cgroup device Entry.Selector major/minor number type.
A cgroup device is identified by a major and a minor number. They
are 'unsigned int' type. A pair of <major:minor> represents a
'dev_t'. For details:
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/linux/cgroups.cpp",
"new_path": "src/linux/cgroups.cpp",
"diff": "@@ -2914,8 +2914,7 @@ Try<Entry> Entry::parse(const string& s)\nentry.selector.minor = None();\nif (deviceNumbers[0] != \"*\") {\n- Try<dev_t> major = numify<dev_t>(deviceNumbers[0]);\n-\n+ ... | C++ | Apache License 2.0 | apache/mesos | Fixed cgroup device Entry.Selector major/minor number type.
A cgroup device is identified by a major and a minor number. They
are 'unsigned int' type. A pair of <major:minor> represents a
'dev_t'. For details:
http://man7.org/linux/man-pages/man3/makedev.3.html
Review: https://reviews.apache.org/r/61015/ |
46,172 | 01.08.2017 12:13:45 | -7,200 | e3741930e87c3898a08460f038e3d58c63a57699 | Added `--executor_uris` flag to long lived and balloon frameworks.
Allows to set URIs that will be fetched before running the executor.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/examples/balloon_framework.cpp",
"new_path": "src/examples/balloon_framework.cpp",
"diff": "#include <stout/option.hpp>\n#include <stout/os.hpp>\n#include <stout/path.hpp>\n+#include <stout/protobuf.hpp>\n#include <stout/stringify.hpp>\n+#include \"common/... | C++ | Apache License 2.0 | apache/mesos | Added `--executor_uris` flag to long lived and balloon frameworks.
Allows to set URIs that will be fetched before running the executor.
Review: https://reviews.apache.org/r/61112/ |
46,056 | 01.08.2017 13:56:00 | -7,200 | 9dee6e4458d060c8a4a4c4ded5c96d9b8addef77 | Added missing blank lines to help messages in mesos-execute. | [
{
"change_type": "MODIFY",
"old_path": "src/cli/execute.cpp",
"new_path": "src/cli/execute.cpp",
"diff": "@@ -105,7 +105,7 @@ public:\n\"task\",\n\"The value could be a JSON-formatted string of `TaskInfo` or a\\n\"\n\"file path containing the JSON-formatted `TaskInfo`. Path must\\n\"\n- \"be of the ... | C++ | Apache License 2.0 | apache/mesos | Added missing blank lines to help messages in mesos-execute. |
46,076 | 20.07.2017 23:35:32 | 25,200 | fb9f0e785975f13e0e6bb7a80274868b5c300a16 | Minor clean ups for run queue. | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/process.cpp",
"new_path": "3rdparty/libprocess/src/process.cpp",
"diff": "@@ -586,9 +586,9 @@ private:\n// Queue of runnable processes.\n//\n- // See run_queue.hpp for more information about the RUN_QUEUE\n- // preprocessor definition.\... | C++ | Apache License 2.0 | apache/mesos | Minor clean ups for run queue. |
46,076 | 20.07.2017 17:28:24 | 25,200 | b1f4c93f742efe6c0a7fd6d77a4b5ef6411d919e | Refactored Gate and updated Gate per Process implementation.
In the original implementation we needed a Gate to potentially outlive
a Process so we stored it in a global map. This patch instead uses
std::shared_ptr to simplfy the code.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/process.hpp",
"new_path": "3rdparty/libprocess/include/process/process.hpp",
"diff": "#include <stdint.h>\n+#include <memory>\n#include <map>\n#include <queue>\n#include <vector>\nnamespace process {\n// Forward declaration.... | C++ | Apache License 2.0 | apache/mesos | Refactored Gate and updated Gate per Process implementation.
In the original implementation we needed a Gate to potentially outlive
a Process so we stored it in a global map. This patch instead uses
std::shared_ptr to simplfy the code.
Review: https://reviews.apache.org/r/61052 |
46,076 | 20.07.2017 20:28:09 | 25,200 | 90cc4f16f5a693bf3af377cd98ebd3cb01c7ac20 | Removed unnecessary states RUNNING and TERMINATED.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/process.hpp",
"new_path": "3rdparty/libprocess/include/process/process.hpp",
"diff": "@@ -401,14 +401,16 @@ private:\nfriend void* schedule(void*);\n// Process states.\n+ //\n+ // Transitioning from BLOCKED to READY also req... | C++ | Apache License 2.0 | apache/mesos | Removed unnecessary states RUNNING and TERMINATED.
Review: https://reviews.apache.org/r/61053 |
46,076 | 20.07.2017 23:36:29 | 25,200 | b28548f14d356d274ce9f6ba802a5beae7723ba6 | Added a functional "map" abstraction.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/Makefile.am",
"new_path": "3rdparty/stout/Makefile.am",
"diff": "@@ -143,6 +143,7 @@ stout_tests_SOURCES = \\\ntests/ip_tests.cpp \\\ntests/json_tests.cpp \\\ntests/jsonify_tests.cpp \\\n+ tests/lambda_tests.cpp \\\ntests/linkedhashmap_tests.cpp... | C++ | Apache License 2.0 | apache/mesos | Added a functional "map" abstraction.
Review: https://reviews.apache.org/r/61054 |
46,076 | 31.07.2017 19:25:53 | 25,200 | e33d4d3cc35af1f7cbf0f7cfed2bebac87678826 | Changes in Mesos for ProcessBase::State. | [
{
"change_type": "MODIFY",
"old_path": "src/master/registrar.cpp",
"new_path": "src/master/registrar.cpp",
"diff": "@@ -83,6 +83,8 @@ using process::http::Request;\nclass RegistrarProcess : public Process<RegistrarProcess>\n{\npublic:\n+ using State = mesos::state::State; // `ProcessBase::State` con... | C++ | Apache License 2.0 | apache/mesos | Changes in Mesos for ProcessBase::State. |
46,076 | 20.07.2017 23:40:15 | 25,200 | e122312ddb0e85be27ce4a83b3215fb10433e18f | Removed unused mutex.
This mutex has been made obsolute by previous changes.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/process.hpp",
"new_path": "3rdparty/libprocess/include/process/process.hpp",
"diff": "@@ -408,10 +408,6 @@ private:\nstd::atomic<State> state = ATOMIC_VAR_INIT(State::BOTTOM);\n- // Mutex protecting internals.\n- // TODO(ben... | C++ | Apache License 2.0 | apache/mesos | Removed unused mutex.
This mutex has been made obsolute by previous changes.
Review: https://reviews.apache.org/r/61056 |
46,076 | 21.07.2017 00:05:19 | 25,200 | 535e77ed2b0702988af0ccf41eaee8bd5e9f6e69 | Removed ProcessBase::inject to support future event queues.
However, to support immediate termination a TerminateEvent can still
be injected and it is handled appropriately.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/event.hpp",
"new_path": "3rdparty/libprocess/include/process/event.hpp",
"diff": "@@ -197,8 +197,8 @@ private:\nstruct TerminateEvent : Event\n{\n- explicit TerminateEvent(const UPID& _from)\n- : from(_from) {}\n+ TerminateE... | C++ | Apache License 2.0 | apache/mesos | Removed ProcessBase::inject to support future event queues.
However, to support immediate termination a TerminateEvent can still
be injected and it is handled appropriately.
Review: https://reviews.apache.org/r/61057 |
46,076 | 21.07.2017 15:12:03 | 25,200 | 1a8b36e2cf0fe339be40f17ddadf81c5fc9844c7 | Added a lock-free event queue.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/configure.ac",
"new_path": "3rdparty/libprocess/configure.ac",
"diff": "@@ -69,6 +69,13 @@ AC_CONFIG_FILES([3rdparty/gmock_sources.cc])\n# Optional features.\n###############################################################################\n... | C++ | Apache License 2.0 | apache/mesos | Added a lock-free event queue.
Review: https://reviews.apache.org/r/61058 |
46,076 | 21.07.2017 15:06:54 | 25,200 | 3924617d7cd0a41f248ca959147d61b99bd99a36 | Added --enable-lock-free-event-queue configuration in Mesos.
Review: | [
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -148,6 +148,13 @@ AC_CONFIG_FILES([mpi/mpiexec-mesos], [chmod +x mpi/mpiexec-mesos])\n# Optional features.\n###############################################################################\n+# TODO(benh): E... | C++ | Apache License 2.0 | apache/mesos | Added --enable-lock-free-event-queue configuration in Mesos.
Review: https://reviews.apache.org/r/61059 |
46,076 | 21.07.2017 17:56:17 | 25,200 | c70a564731aec2f409729df89c1bc4b668a74760 | Cached a reference to a ProcessBase in every UPID.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/pid.hpp",
"new_path": "3rdparty/libprocess/include/process/pid.hpp",
"diff": "@@ -40,20 +40,21 @@ struct UPID\n{\nUPID() = default;\n- UPID(const UPID& that)\n- : id(that.id), address(that.address), addresses(that.addresses)... | C++ | Apache License 2.0 | apache/mesos | Cached a reference to a ProcessBase in every UPID.
Review: https://reviews.apache.org/r/61060 |
46,076 | 23.07.2017 18:22:27 | 25,200 | 7952332ee32c4a964766f8b51d69495da82efd82 | Added 'process::workers'.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/process.hpp",
"new_path": "3rdparty/libprocess/include/process/process.hpp",
"diff": "@@ -546,6 +546,14 @@ network::inet::Address address();\nPID<Logging> logging();\n+/**\n+ * Returns the number of worker threads the librar... | C++ | Apache License 2.0 | apache/mesos | Added 'process::workers'.
Review: https://reviews.apache.org/r/61066 |
46,076 | 23.07.2017 16:14:29 | 25,200 | c51cc96098a5fa6c1e4ce4f14bc8e4bf1065ab64 | Introduced and used an optimized LIFO fixed-size semaphore.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/configure.ac",
"new_path": "3rdparty/libprocess/configure.ac",
"diff": "@@ -69,16 +69,22 @@ AC_CONFIG_FILES([3rdparty/gmock_sources.cc])\n# Optional features.\n###############################################################################\... | C++ | Apache License 2.0 | apache/mesos | Introduced and used an optimized LIFO fixed-size semaphore.
Review: https://reviews.apache.org/r/61069 |
46,076 | 23.07.2017 15:14:29 | 25,200 | 2b398a728bc5168def1c08c1942adbfdfc9c6e70 | More optimizations for creating a MessageEvent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/event.hpp",
"new_path": "3rdparty/libprocess/include/process/event.hpp",
"diff": "@@ -93,6 +93,22 @@ struct MessageEvent : Event\nexplicit MessageEvent(Message&& _message)\n: message(std::move(_message)) {}\n+ MessageEvent(\... | C++ | Apache License 2.0 | apache/mesos | More optimizations for creating a MessageEvent.
Review: https://reviews.apache.org/r/61067 |
46,076 | 23.07.2017 15:17:03 | 25,200 | b036199cf130552a189827512939e1221d6ea05c | Added a copy-on-write optimization for UPID 'id' field.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/pid.hpp",
"new_path": "3rdparty/libprocess/include/process/pid.hpp",
"diff": "@@ -101,7 +101,72 @@ struct UPID\n// to which this UPID refers.\nvoid resolve();\n- std::string id;\n+ // TODO(benh): store all of the members of ... | C++ | Apache License 2.0 | apache/mesos | Added a copy-on-write optimization for UPID 'id' field.
Review: https://reviews.apache.org/r/61068 |
46,076 | 01.08.2017 13:41:39 | 25,200 | 0ed2f7206aacf9e60e4890bc1a9c2bad96e7803c | Added configuration option for LIFO fixed-size semaphore to Mesos. | [
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -148,16 +148,22 @@ AC_CONFIG_FILES([mpi/mpiexec-mesos], [chmod +x mpi/mpiexec-mesos])\n# Optional features.\n###############################################################################\n-# TODO(benh): ... | C++ | Apache License 2.0 | apache/mesos | Added configuration option for LIFO fixed-size semaphore to Mesos. |
46,076 | 01.08.2017 15:30:39 | 25,200 | 49c34f77d40e5e198da09c9b99dcd2a21ef03b10 | Added documentation for run queue and event queue optimizations. | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/README.md",
"new_path": "3rdparty/libprocess/README.md",
"diff": "# Libprocess Developer Guide\n-*Note* This Developer Guide is Work in Progress.\n+*Note:* this Developer Guide is Work in Progress.\nThe library _libprocess_ provides high le... | C++ | Apache License 2.0 | apache/mesos | Added documentation for run queue and event queue optimizations. |
46,076 | 01.08.2017 16:59:42 | 25,200 | 3cbe00421bdb225649e4bf8dbe9acb3ecc8064b5 | Revised bulk dequeue for event queue. | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/event_queue.hpp",
"new_path": "3rdparty/libprocess/src/event_queue.hpp",
"diff": "@@ -324,7 +324,18 @@ private:\n// If we can bulk dequeue more items then keep looking for the\n// out of order event!\n- } while (queue.try_dequeue_bulk(s... | C++ | Apache License 2.0 | apache/mesos | Revised bulk dequeue for event queue. |
46,062 | 01.08.2017 19:33:32 | 25,200 | 24bcfb3eca0e5fc13b88a82ab9b92e9b3efc30a6 | Downgraded the `task.executor.resources` in `TASK_GROUP`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -5008,6 +5008,11 @@ void Master::_accept(\nforeach (\nTaskInfo& task, *message.mutable_task_group()->mutable_tasks()) {\nCHECK_SOME(downgradeResources(task.mutable_resources()));\n+\n+ if... | C++ | Apache License 2.0 | apache/mesos | Downgraded the `task.executor.resources` in `TASK_GROUP`.
Review: https://reviews.apache.org/r/61367/ |
46,062 | 01.08.2017 19:33:37 | 25,200 | 613883085ea93e5ac2c78336aa32c8bd57473066 | Minor clean up: Pulled out the reference to `TaskInfo`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -4801,13 +4801,13 @@ void Master::_accept(\n// since the master rejects attempts to create refined\n// reservations on non-capable agents.\nif (!slave->capabilities.reservationRefinement)... | C++ | Apache License 2.0 | apache/mesos | Minor clean up: Pulled out the reference to `TaskInfo`.
Review: https://reviews.apache.org/r/61368/ |
46,110 | 02.08.2017 01:00:19 | 25,200 | 2ec2e48d1793031c55090cd7d8bea6f3dacd249b | Updated CHANGELOG with for 1.2.2. | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -333,7 +333,7 @@ All Resolved Issues:\n* [MESOS-7439] - Bump the default timeout value for docker volume driver unmount operation.\n-Release Notes - Mesos - Version 1.2.2 (WIP)\n+Release Notes - Mesos - Version ... | C++ | Apache License 2.0 | apache/mesos | Updated CHANGELOG with MESOS-7728 for 1.2.2. |
46,110 | 02.08.2017 01:24:10 | 25,200 | 498a000ac1bb8f51dc871f22aea265424a407a17 | Updated configuration.md for --executor_reregistration_retry_interval. | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration.md",
"new_path": "docs/configuration.md",
"diff": "@@ -1540,7 +1540,32 @@ master until this timeout has elapsed (see MESOS-7539). (default: 2secs)\n</tr>\n<tr>\n<td>\n- --max_completed_executors_per_framework\n+ --executor_reregistration_ret... | C++ | Apache License 2.0 | apache/mesos | Updated configuration.md for --executor_reregistration_retry_interval. |
46,165 | 02.08.2017 12:25:50 | 25,200 | 00290fffa8e2429da298201985a468c5b9eda546 | Added (hierarchical role support) to the 1.4.0 CHANGELOG.
This comes with a disclaimer that the feature is experimental and has
known issues (see that make is not recommended for
production usage.
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -5,6 +5,19 @@ This release contains the following new features:\n* [MESOS-6223] - Agents are now allowed to recover the agent ID\nafter a host reboot. See docs/upgrades.md for details.\n+ * [MESOS-6375] - **Expe... | C++ | Apache License 2.0 | apache/mesos | Added MESOS-6375 (hierarchical role support) to the 1.4.0 CHANGELOG.
This comes with a disclaimer that the feature is experimental and has
known issues (see MESOS-7402) that make is not recommended for
production usage.
Review: https://reviews.apache.org/r/61382 |
46,068 | 02.08.2017 13:14:01 | 25,200 | 2fe2562455d899545f2f6cbace989489867b8ee7 | Enabled filtering of the 'GET_AGENTS' v1 API call.
Enables filtering of the results of calls to the 'GET_AGENTS' v1
API. It filters the contents of different resources entries based
on the 'VIEW_ROLE' permissions of the principal doing the request
based on resource roles, allocation roles and reservations.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/http.cpp",
"new_path": "src/common/http.cpp",
"diff": "@@ -976,6 +976,39 @@ bool approveViewRole(\nreturn approved.get();\n}\n+\n+bool authorizeResource(\n+ const Resource& resource,\n+ const Option<Owned<AuthorizationAcceptor>>& acceptor)\n+{\n+ if... | C++ | Apache License 2.0 | apache/mesos | Enabled filtering of the 'GET_AGENTS' v1 API call.
Enables filtering of the results of calls to the 'GET_AGENTS' v1
API. It filters the contents of different resources entries based
on the 'VIEW_ROLE' permissions of the principal doing the request
based on resource roles, allocation roles and reservations.
Review: ht... |
46,068 | 02.08.2017 13:14:07 | 25,200 | e87569b2ae3c7f8303ce146f882c340b4fdd5ca4 | Added full authz for non summarized fields of `/slaves` endpoint.
Fields were authorized based on partial elements of each
resource. Moreover, some fields which required authorization were not
being authorized at all. This patch enables full authorization of all
fields.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/http.cpp",
"new_path": "src/master/http.cpp",
"diff": "@@ -484,11 +484,14 @@ struct SlavesWriter\nconst Resources& resources,\nreserved) {\nif (authorizeRole_->accept(role)) {\n- writer->field(role, [&resources](JSON::ArrayWriter* writer) {\n+ write... | C++ | Apache License 2.0 | apache/mesos | Added full authz for non summarized fields of `/slaves` endpoint.
Fields were authorized based on partial elements of each
resource. Moreover, some fields which required authorization were not
being authorized at all. This patch enables full authorization of all
fields.
Review: https://reviews.apache.org/r/61257/ |
46,109 | 02.08.2017 16:23:33 | 25,200 | 52214ead9e63b60c4a4988515b211b52e8b13006 | Updated the docs for V1 Events.
Added documentation for 'AgentAdded', 'AgentRemoved',
'FrameworkAdded', 'FrameworkUpdated' and 'FrameworkRemoved' events.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/operator-http-api.md",
"new_path": "docs/operator-http-api.md",
"diff": "@@ -2430,6 +2430,192 @@ TASK_UPDATED Event (JSON)\n}\n```\n+### FRAMEWORK_ADDED\n+\n+Sent whenever a framework becomes known to the master. This can happen when a new framework regis... | C++ | Apache License 2.0 | apache/mesos | Updated the docs for V1 Events.
Added documentation for 'AgentAdded', 'AgentRemoved',
'FrameworkAdded', 'FrameworkUpdated' and 'FrameworkRemoved' events.
Review: https://reviews.apache.org/r/61194/ |
46,055 | 28.06.2017 14:10:01 | -28,800 | ebfccf4ea12ccc4b02700b44e69ab17affd50019 | Introduced `--default_container_dns` agent flag.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration.md",
"new_path": "docs/configuration.md",
"diff": "@@ -1327,6 +1327,52 @@ Example:\n}</code></pre>\n</td>\n</tr>\n+<tr>\n+ <td>\n+ --default_container_dns=VALUE\n+ </td>\n+ <td>\n+JSON-formatted DNS information for CNI networks (Mesos contai... | C++ | Apache License 2.0 | apache/mesos | Introduced `--default_container_dns` agent flag.
Review: https://reviews.apache.org/r/60500 |
46,055 | 28.06.2017 22:26:02 | -28,800 | 48b5ef036905ae5a112af26ab6985953f8179c8c | Passed default container DNS info to Docker executor.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/docker/executor.cpp",
"new_path": "src/docker/executor.cpp",
"diff": "#include \"logging/flags.hpp\"\n#include \"logging/logging.hpp\"\n+#include \"messages/flags.hpp\"\n#include \"messages/messages.hpp\"\n#include \"slave/constants.hpp\"\n@@ -87,6 +88,7 @... | C++ | Apache License 2.0 | apache/mesos | Passed default container DNS info to Docker executor.
Review: https://reviews.apache.org/r/60557 |
46,055 | 30.06.2017 09:53:41 | -28,800 | 3da83b3318a612b3bbf1223fbafe506c1ed4bcc4 | Set container DNS with `--default_container_dns` in Docker executor.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/docker/docker.cpp",
"new_path": "src/docker/docker.cpp",
"diff": "@@ -59,6 +59,8 @@ using std::map;\nusing std::string;\nusing std::vector;\n+using mesos::internal::ContainerDNSInfo;\n+\ntemplate <typename T>\nstatic Future<T> failure(\n@@ -505,7 +507,8 @@... | C++ | Apache License 2.0 | apache/mesos | Set container DNS with `--default_container_dns` in Docker executor.
Review: https://reviews.apache.org/r/60558 |
46,055 | 24.07.2017 14:38:22 | -28,800 | cf841cdd482d78e2872f04539cf82d151dffd689 | Set container DNS with `--default_container_dns` in DockerContainerizer.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/docker.cpp",
"new_path": "src/slave/containerizer/docker.cpp",
"diff": "@@ -1330,6 +1330,13 @@ Future<Docker::Container> DockerContainerizerProcess::launchExecutorContainer(\nself(),\n[=](const ContainerIO& containerIO)\n-> Future<Docke... | C++ | Apache License 2.0 | apache/mesos | Set container DNS with `--default_container_dns` in DockerContainerizer.
Review: https://reviews.apache.org/r/61075 |
46,055 | 03.07.2017 21:50:17 | -28,800 | 30b49016adc30a9598d426ee35af14ee73963f77 | Set container DNS with `--default_container_dns` in CNI isolator.
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": "@@ -86,7 +86,8 @@ Try<Isolator*> NetworkCniIsolatorProcess::create(const Flags& flags)\nreturn new MesosIsolator(O... | C++ | Apache License 2.0 | apache/mesos | Set container DNS with `--default_container_dns` in CNI isolator.
Review: https://reviews.apache.org/r/60600 |
46,055 | 11.07.2017 14:41:17 | -28,800 | 28faca0ae2b3aeeddd078a978f4b7b2483d03c20 | Parsed DNS related info from the output of `docker inspect`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/docker/docker.cpp",
"new_path": "src/docker/docker.cpp",
"diff": "@@ -409,7 +409,79 @@ Try<Docker::Container> Docker::Container::create(const string& output)\n}\n}\n- return Container(output, id, name, optionalPid, started, ipAddress, devices);\n+ vector<s... | C++ | Apache License 2.0 | apache/mesos | Parsed DNS related info from the output of `docker inspect`.
Review: https://reviews.apache.org/r/60760 |
46,055 | 11.07.2017 16:58:43 | -28,800 | d67595cdeff45f54aa227e5ae33afe6b7ac1c53a | Added a test `DockerContainerizerTest.ROOT_DOCKER_DefaultDNS`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"diff": "@@ -4352,6 +4352,159 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_Non_Root_Sandbox)\n}\n+// This test verifies the DNS con... | C++ | Apache License 2.0 | apache/mesos | Added a test `DockerContainerizerTest.ROOT_DOCKER_DefaultDNS`.
Review: https://reviews.apache.org/r/60761 |
46,055 | 12.07.2017 14:48:08 | -28,800 | 18ad7fb7473849ba67b1ff007e2d131556eb42d8 | Added a test `DefaultContainerDNSCniTest.ROOT_VerifyDefaultDNS`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/cni_isolator_tests.cpp",
"new_path": "src/tests/containerizer/cni_isolator_tests.cpp",
"diff": "@@ -1732,6 +1732,185 @@ TEST_F(CniIsolatorPortMapperTest, ROOT_INTERNET_CURL_PortMapper)\ndriver.join();\n}\n+\n+class DefaultContainerDNSCn... | C++ | Apache License 2.0 | apache/mesos | Added a test `DefaultContainerDNSCniTest.ROOT_VerifyDefaultDNS`.
Review: https://reviews.apache.org/r/60793 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.