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,188
13.09.2017 11:16:36
25,200
e80aaa7eba5b0e5b37ff129f6c7a8670ed9924b6
Moved shared filesystem isolator doc to the isolators folder. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/isolators/filesystem-shared.md", "diff": "+---\n+title: Apache Mesos - Shared Filesystem Isolator in Mesos Containerizer\n+layout: documentation\n+---\n+\n+# Shared Filesystem Isolator in Mesos Containerizer\n+\n+This document describes the...
C++
Apache License 2.0
apache/mesos
Moved shared filesystem isolator doc to the isolators folder. Review: https://reviews.apache.org/r/62296
46,188
13.09.2017 11:21:47
25,200
74593230ac580ed1a31e4977acf333f582f3393b
Moved pid namespace isolator doc to the isolators folder. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/isolators/namespaces-pid.md", "diff": "+---\n+title: Apache Mesos - Pid Namespace Isolator in Mesos Containerizer\n+layout: documentation\n+---\n+\n+# Pid Namespace Isolator in Mesos Containerizer\n+\n+The `namespaces/pid` isolator can be u...
C++
Apache License 2.0
apache/mesos
Moved pid namespace isolator doc to the isolators folder. Review: https://reviews.apache.org/r/62297
46,188
13.09.2017 11:43:04
25,200
533ac06daae23eb712e98224fd2877d0f9cd1d3e
Moved disk du isolator doc to the isolators folder. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/isolators/disk-du.md", "diff": "+---\n+title: Apache Mesos - Disk Isolator Based on 'du' in Mesos Containerizer\n+layout: documentation\n+---\n+\n+# Disk Isolator Based on 'du' in Mesos Containerizer\n+\n+The `disk/du` (previously `posix/di...
C++
Apache License 2.0
apache/mesos
Moved disk du isolator doc to the isolators folder. Review: https://reviews.apache.org/r/62298
46,188
13.09.2017 11:50:12
25,200
7f967f2432647aea5eebe51d433e206317be3f97
Moved xfs disk isolator doc to the isolators folder. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/isolators/disk-xfs.md", "diff": "+---\n+title: Apache Mesos - XFS Disk Isolator in Mesos Containerizer\n+layout: documentation\n+---\n+\n+# XFS Disk Isolator in Mesos Containerizer\n+\n+The `disk/xfs` isolator uses XFS project quotas to tra...
C++
Apache License 2.0
apache/mesos
Moved xfs disk isolator doc to the isolators folder. Review: https://reviews.apache.org/r/62299
46,188
13.09.2017 11:58:02
25,200
839d8eb210711a1e010699609c7bbdf779fd10d4
Moved docker runtime isolator doc to the isolators folder. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/isolators/docker-runtime.md", "diff": "+---\n+title: Apache Mesos - Docker Runtime Isolator in Mesos Containerizer\n+layout: documentation\n+---\n+\n+# Docker Runtime Isolator in Mesos Containerizer\n+\n+The Docker Runtime isolator is used ...
C++
Apache License 2.0
apache/mesos
Moved docker runtime isolator doc to the isolators folder. Review: https://reviews.apache.org/r/62300
46,188
13.09.2017 12:06:37
25,200
5d9ceb2162b43333bdfe87ed50c162551b1d0f23
Moved cgroups net_cls isolator doc to the isolators folder. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/isolators/cgroups-net-cls.md", "diff": "+---\n+title: Apache Mesos - Cgroups 'net_cls' Subsystem Support in Mesos Containerizer\n+layout: documentation\n+---\n+\n+# Cgroups 'net_cls' Subsystem Support in Mesos Containerizer\n+\n+The `cgroup...
C++
Apache License 2.0
apache/mesos
Moved cgroups net_cls isolator doc to the isolators folder. Review: https://reviews.apache.org/r/62301
46,188
13.09.2017 12:17:33
25,200
4bc48b64702caa5a506271ba094b730d22414bd9
Moved docker volume isolator doc to the isolators folder. Review:
[ { "change_type": "MODIFY", "old_path": "docs/home.md", "new_path": "docs/home.md", "diff": "@@ -25,7 +25,7 @@ layout: documentation\n* [Docker Containerizer](docker-containerizer.md) for launching a Docker image as a Task, or as an Executor.\n* [Mesos Containerizer](mesos-containerizer.md) default c...
C++
Apache License 2.0
apache/mesos
Moved docker volume isolator doc to the isolators folder. Review: https://reviews.apache.org/r/62302
46,188
13.09.2017 12:24:59
25,200
c201c51e2677b1bf23ef8ee4a5f81e6139dda083
Moved IPC namespace isolator doc to the isolators folder. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/isolators/namespaces-ipc.md", "diff": "+---\n+title: Apache Mesos - IPC Namespace Isolator in Mesos Containerizer\n+layout: documentation\n+---\n+\n+# IPC Namespace Isolator in Mesos Containerizer\n+\n+The IPC Namespace isolator can be used...
C++
Apache License 2.0
apache/mesos
Moved IPC namespace isolator doc to the isolators folder. Review: https://reviews.apache.org/r/62303
46,188
13.09.2017 12:32:46
25,200
5a1823e36c4a2b255913d97aad084b3f9213bf99
Moved linux capabilities isolator doc to the isolators folder. Review:
[ { "change_type": "MODIFY", "old_path": "docs/container-image.md", "new_path": "docs/container-image.md", "diff": "@@ -236,7 +236,7 @@ user is not specified, `root` will be used by default. The operator or\nthe framework can limit the\n[capabilities](http://man7.org/linux/man-pages/man7/capabilities....
C++
Apache License 2.0
apache/mesos
Moved linux capabilities isolator doc to the isolators folder. Review: https://reviews.apache.org/r/62304
46,188
13.09.2017 12:38:39
25,200
9ab7a62ace99e209fac044676ea5e66decd7c443
Moved posix rlimits isolator doc to the isolators folder. Review:
[ { "change_type": "RENAME", "old_path": "docs/posix_rlimits.md", "new_path": "docs/isolators/posix-rlimits.md", "diff": "@@ -7,8 +7,10 @@ layout: documentation\nThis document describes the `posix/rlimits` isolator. The isolator adds support\nfor setting POSIX resource limits (rlimits) for containers ...
C++
Apache License 2.0
apache/mesos
Moved posix rlimits isolator doc to the isolators folder. Review: https://reviews.apache.org/r/62305
46,188
13.09.2017 12:44:59
25,200
ac854fc110c747330fbe8a016dbea22869d3f437
Added an index in the mesos containerizer doc about isolators. Review:
[ { "change_type": "MODIFY", "old_path": "docs/mesos-containerizer.md", "new_path": "docs/mesos-containerizer.md", "diff": "@@ -13,6 +13,17 @@ can selectively enable different isolators.\nIt also provides basic support for POSIX systems (e.g., OSX) but\nwithout any actual isolation, only resource usag...
C++
Apache License 2.0
apache/mesos
Added an index in the mesos containerizer doc about isolators. Review: https://reviews.apache.org/r/62306
46,188
13.09.2017 13:15:06
25,200
21a42e199233592f476505f930fb4fa5699a815c
Added gpu/nvidia isolator to the index. Review:
[ { "change_type": "MODIFY", "old_path": "docs/mesos-containerizer.md", "new_path": "docs/mesos-containerizer.md", "diff": "@@ -21,6 +21,7 @@ without any actual isolation, only resource usage reporting.\n- [docker/runtime](isolators/docker-runtime.md)\n- [docker/volume](isolators/docker-volume.md)\n- ...
C++
Apache License 2.0
apache/mesos
Added gpu/nvidia isolator to the index. Review: https://reviews.apache.org/r/62307
46,188
13.09.2017 13:46:39
25,200
344bf40bdc99ae22d2416c8ef7ab860ad4ea9bf3
Added the description for the isolators section. Review:
[ { "change_type": "MODIFY", "old_path": "docs/mesos-containerizer.md", "new_path": "docs/mesos-containerizer.md", "diff": "@@ -8,13 +8,24 @@ layout: documentation\nThe Mesos Containerizer provides lightweight containerization and\nresource isolation of executors using Linux-specific functionality\nsu...
C++
Apache License 2.0
apache/mesos
Added the description for the isolators section. Review: https://reviews.apache.org/r/62308
46,188
13.09.2017 22:21:58
25,200
175ce43ef3b0580c69599f43bb36925d532b1bda
Added initial doc for container volumes. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/container-volume.md", "diff": "+---\n+title: Apache Mesos - Container Volumes\n+layout: documentation\n+---\n+\n+# Container Volumes\n+\n+For each volume a container specifies (i.e., `ContainerInfo.volumes`),\n+the following fields must be ...
C++
Apache License 2.0
apache/mesos
Added initial doc for container volumes. Review: https://reviews.apache.org/r/62322
46,188
15.09.2017 18:00:41
25,200
c7bd862ab1c104272f5d0af8086862ce44a2f454
Added the missing isolators to the doc. Review:
[ { "change_type": "MODIFY", "old_path": "docs/mesos-containerizer.md", "new_path": "docs/mesos-containerizer.md", "diff": "@@ -24,20 +24,38 @@ policies are applied.\nSince the isolator interface is [modularized](modules.md), operators\ncan write modules that implement custom isolators.\n-Mesos suppor...
C++
Apache License 2.0
apache/mesos
Added the missing isolators to the doc. Review: https://reviews.apache.org/r/62365
46,188
18.09.2017 12:13:08
25,200
b214d7ae3591831ae494f03f0d9fab028b1cdf79
Added missing links to secrets related isolator docs.
[ { "change_type": "MODIFY", "old_path": "docs/mesos-containerizer.md", "new_path": "docs/mesos-containerizer.md", "diff": "@@ -26,7 +26,7 @@ can write modules that implement custom isolators.\nMesos supports the following built-in isolators.\n-- environment\\_secret\n+- [environment\\_secret](secrets...
C++
Apache License 2.0
apache/mesos
Added missing links to secrets related isolator docs.
46,172
18.09.2017 21:06:59
-7,200
0b83432c06bec8e7bd04a0ed94dd1c27bc9cc432
Fixed parameter name in uri/fetcher.hpp. The parameter used in uri/fetcher.cpp is named '_flags', it is also now the case in uri/fetcher.hpp. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetcher.hpp", "new_path": "src/uri/fetcher.hpp", "diff": "@@ -52,7 +52,7 @@ class Flags :\n/**\n* Factory method for creating a Fetcher instance.\n*/\n-Try<process::Owned<Fetcher>> create(const Option<Flags>& flags = None());\n+Try<process::Owned<Fetch...
C++
Apache License 2.0
apache/mesos
Fixed parameter name in uri/fetcher.hpp. The parameter used in uri/fetcher.cpp is named '_flags', it is also now the case in uri/fetcher.hpp. Review: https://reviews.apache.org/r/62122/
46,172
18.09.2017 20:44:05
-7,200
0cd254f0f9aea2d638da36fb50a41318e5ba1d16
Updated `logging::initialize()` to make flags optional. This will be used to initialize logging in the main functions that do not use `mesos::internal::logging::Flags`. Review:
[ { "change_type": "MODIFY", "old_path": "src/logging/logging.cpp", "new_path": "src/logging/logging.cpp", "diff": "@@ -48,6 +48,8 @@ using fLB::FLAGS_drop_log_memory;\nusing process::Once;\n+using std::cerr;\n+using std::endl;\nusing std::string;\n// Captures the stack trace and exits when a pure vir...
C++
Apache License 2.0
apache/mesos
Updated `logging::initialize()` to make flags optional. This will be used to initialize logging in the main functions that do not use `mesos::internal::logging::Flags`. Review: https://reviews.apache.org/r/62018/
46,172
18.09.2017 20:51:39
-7,200
387ec70e2514a4b9eb55593d04046a034c532dc2
Added `logging::initialize()` to main functions that use glog. This change reduces the number of messages "WARNING: Logging before InitGoogleLogging() is written to STDERR". Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/tcp_connect.cpp", "new_path": "src/checks/tcp_connect.cpp", "diff": "@@ -116,30 +116,25 @@ int testTCPConnect(const string& ip, int port)\nint main(int argc, char *argv[])\n{\n-#ifdef __WINDOWS__\n- if (!net::wsa_initialize()) {\n- EXIT(EXIT_FAILURE...
C++
Apache License 2.0
apache/mesos
Added `logging::initialize()` to main functions that use glog. This change reduces the number of messages "WARNING: Logging before InitGoogleLogging() is written to STDERR". Review: https://reviews.apache.org/r/62037/
46,056
18.09.2017 22:58:50
-7,200
dcfa2f905569121290af048df6b3801804235db3
Removed extra new lines in example frameworks.
[ { "change_type": "MODIFY", "old_path": "src/examples/dynamic_reservation_framework.cpp", "new_path": "src/examples/dynamic_reservation_framework.cpp", "diff": "@@ -364,7 +364,6 @@ public:\nint main(int argc, char** argv)\n{\nFlags flags;\n-\nTry<flags::Warnings> load = flags.load(None(), argc, argv)...
C++
Apache License 2.0
apache/mesos
Removed extra new lines in example frameworks.
46,188
19.09.2017 10:58:45
25,200
bcf87ad771708b63572bb294c4538243e00ac559
Added a link to secrets doc from container volume doc.
[ { "change_type": "MODIFY", "old_path": "docs/container-volume.md", "new_path": "docs/container-volume.md", "diff": "@@ -132,3 +132,7 @@ the parent container.\n## `DOCKER_VOLUME` Volume Source\nSee more details in this [doc](isolators/docker-volume.md).\n+\n+## `SECRET` Volume Source\n+\n+See more de...
C++
Apache License 2.0
apache/mesos
Added a link to secrets doc from container volume doc.
46,188
19.09.2017 11:30:34
25,200
87a3ce946a2629e3488a80414e27adbba2217e93
Added index in the container volume doc.
[ { "change_type": "MODIFY", "old_path": "docs/container-volume.md", "new_path": "docs/container-volume.md", "diff": "@@ -17,7 +17,14 @@ the following fields must be specified:\n- `source`: Describe where the volume originates from. See more\ndetails in the following section.\n-## `HOST_PATH` Volume S...
C++
Apache License 2.0
apache/mesos
Added index in the container volume doc.
46,111
19.09.2017 14:06:02
25,200
af483f507ef992832423b29b2c5b4ee2397a78f7
Log the virtual path of attached files in the agent. Files exposed via the /files endpoints are exposed via "virtual" paths that may be different from the real path. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/constants.hpp", "new_path": "src/slave/constants.hpp", "diff": "@@ -164,6 +164,9 @@ Duration DEFAULT_MASTER_PING_TIMEOUT();\n// Name of the executable for default executor.\nconstexpr char MESOS_DEFAULT_EXECUTOR[] = \"mesos-default-executor\";\n+// V...
C++
Apache License 2.0
apache/mesos
Log the virtual path of attached files in the agent. Files exposed via the /files endpoints are exposed via "virtual" paths that may be different from the real path. Review: https://reviews.apache.org/r/62040/
46,111
19.09.2017 14:09:05
25,200
f4cd0eee2c3194fae02bd7460f8c0958d1a51f0f
Rename 'name' to 'virtualPath' in the files API. Since we expose real paths under a "virtual" path, this makes the API clearer to the reader. Review:
[ { "change_type": "MODIFY", "old_path": "src/files/files.cpp", "new_path": "src/files/files.cpp", "diff": "@@ -103,11 +103,11 @@ public:\n// Files implementation.\nFuture<Nothing> attach(\nconst string& path,\n- const string& name,\n+ const string& virtualPath,\nconst Option<lambda::function<Future<b...
C++
Apache License 2.0
apache/mesos
Rename 'name' to 'virtualPath' in the files API. Since we expose real paths under a "virtual" path, this makes the API clearer to the reader. Review: https://reviews.apache.org/r/62174/
46,111
19.09.2017 14:10:14
25,200
219ce65f17669570fa2fe9f7e5bd346bf23d7544
Added a minimal /files path for the executor sandbox. This patch added support to attach a virtual path /frameworks/FID/executors/EID/latest to the /files endpoint of the agent, which can be used to navigate an executor's latest sandbox without needing to know the agent's work directory. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/paths.cpp", "new_path": "src/slave/paths.cpp", "diff": "@@ -303,6 +303,20 @@ string getExecutorSentinelPath(\n}\n+string getExecutorVirtualPath(\n+ const FrameworkID& frameworkId,\n+ const ExecutorID& executorId)\n+{\n+ return path::join(\n+ stringif...
C++
Apache License 2.0
apache/mesos
Added a minimal /files path for the executor sandbox. This patch added support to attach a virtual path /frameworks/FID/executors/EID/latest to the /files endpoint of the agent, which can be used to navigate an executor's latest sandbox without needing to know the agent's work directory. Review: https://reviews.apach...
46,111
19.09.2017 14:14:50
25,200
c644a35e699cb4f9414dc111a184ea6acd9e8aad
Added a test for browsing and reading the executor sandbox. This tests the new path format `/framework/FID/executor/EID/latest`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "#include \"slave/gc_process.hpp\"\n#include \"slave/flags.hpp\"\n#include \"slave/slave.hpp\"\n+#include \"slave/paths.hpp\"\n#include \"slave/containerizer/fetcher.hpp\"\n#include \...
C++
Apache License 2.0
apache/mesos
Added a test for browsing and reading the executor sandbox. This tests the new path format `/framework/FID/executor/EID/latest`. Review: https://reviews.apache.org/r/62263/
46,172
19.09.2017 15:13:49
25,200
01b7041faf2217bc5b8a5781b8adb80071bad777
Fixed linting issues in the webui JavaScript files. In a future patch, we will enable JavaScript linting. This patch is an update of our current JavaScript files removing the errors that would otherwise return ESLint. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/js/app.js", "new_path": "src/webui/master/static/js/app.js", "diff": "+// Licensed to the Apache Software Foundation (ASF) under one\n+// or more contributor license agreements. See the NOTICE file\n+// distributed with this work for ad...
C++
Apache License 2.0
apache/mesos
Fixed linting issues in the webui JavaScript files. In a future patch, we will enable JavaScript linting. This patch is an update of our current JavaScript files removing the errors that would otherwise return ESLint. Review: https://reviews.apache.org/r/62332/
46,103
21.09.2017 15:03:22
-7,200
91e279ad1855ac7f1ae628778731173aa603d5e3
Added 'id' and 'metadata' fields to 'Resource.DiskInfo.Source'. IDs will allow to create distinguishable resources, e.g., of RAW or BLOCK type. We also add a metadata field which can be used to expose additional disk information. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1340,6 +1340,9 @@ message Resource {\nrequired Type type = 1;\noptional Path path = 2;\noptional Mount mount = 3;\n+\n+ optional string id = 4; // EXPERIMENTAL.\n+ optional Label...
C++
Apache License 2.0
apache/mesos
Added 'id' and 'metadata' fields to 'Resource.DiskInfo.Source'. IDs will allow to create distinguishable resources, e.g., of RAW or BLOCK type. We also add a metadata field which can be used to expose additional disk information. Review: https://reviews.apache.org/r/58048/
46,103
21.09.2017 15:03:46
-7,200
8c453362356b644ddb5f780eb741ba18997d0e25
Used a namespace alias for 'process::http'. This patch introduces 'http' as an alias for 'process::http'. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "#include <slave/posix_signalhandler.hpp>\n#endif // __WINDOWS__\n+namespace http = process::http;\n+\nusing google::protobuf::RepeatedPtrField;\nusing mesos::SecretGenerator;\n@@ -423,7 +425,7 @...
C++
Apache License 2.0
apache/mesos
Used a namespace alias for 'process::http'. This patch introduces 'http' as an alias for 'process::http'. Review: https://reviews.apache.org/r/62439/
46,100
21.09.2017 16:16:06
25,200
548aaee3a8f5935457767db1e3b761d873b09cbf
Display task state counters in the framework page. Fixes This closes
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/framework.html", "new_path": "src/webui/master/static/framework.html", "diff": "<dd>{{framework.tasks.length | number}}</dd>\n</dl>\n+ <h4>Tasks</h4>\n+ <table class=\"table table-condensed\">\n+ <tbody>\n+ <tr>\n+ <td>Staging</td>\n+ <...
C++
Apache License 2.0
apache/mesos
Display task state counters in the framework page. Fixes MESOS-7962. This closes #234
46,172
22.09.2017 04:58:57
25,200
ae89b19ff4bb31d34645ead58edc5ccc98959807
Added the ability for a plugin command to have an alias in the CLI. This will be used by future plugins. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/plugins/base.py", "new_path": "src/python/cli_new/lib/cli/plugins/base.py", "diff": "@@ -171,6 +171,9 @@ class PluginBase(object):\nversion=self.VERSION,\noptions_first=True)\n+ if \"alias\" in self.COMMANDS[cmd]:\n+ cmd = self.COMMA...
C++
Apache License 2.0
apache/mesos
Added the ability for a plugin command to have an alias in the CLI. This will be used by future plugins. Review: https://reviews.apache.org/r/60087/
46,172
22.09.2017 05:36:25
25,200
5d4f588eb85cdf5f79ebcffb213cfd0ca63c2215
Renamed constants for CLI tests. These constants are now prefixed by 'TEST' instead of 'DEFAULT'. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/tests/base.py", "new_path": "src/python/cli_new/lib/cli/tests/base.py", "diff": "@@ -30,10 +30,10 @@ import parse\nimport cli.http as http\n-from cli.tests.constants import DEFAULT_AGENT_IP\n-from cli.tests.constants import DEFAULT_A...
C++
Apache License 2.0
apache/mesos
Renamed constants for CLI tests. These constants are now prefixed by 'TEST' instead of 'DEFAULT'. Review: https://reviews.apache.org/r/61210/
46,172
22.09.2017 06:07:42
25,200
84a8ff1a4b39a6a42e73ff16ca8e666d0c9d1f19
Updated Python linter to work with multiple directories. This allows us to have different Pylint configurations depending on the directory we lint. This will be useful in the future to lint our standard Python packages and the list of scripts in support/ differently. Review:
[ { "change_type": "RENAME", "old_path": "src/python/cli_new/pylint.config", "new_path": "src/python/pylint.config", "diff": "" }, { "change_type": "MODIFY", "old_path": "support/mesos-style.py", "new_path": "support/mesos-style.py", "diff": "@@ -279,9 +279,6 @@ class PyLinter(Lint...
C++
Apache License 2.0
apache/mesos
Updated Python linter to work with multiple directories. This allows us to have different Pylint configurations depending on the directory we lint. This will be useful in the future to lint our standard Python packages and the list of scripts in support/ differently. Review: https://reviews.apache.org/r/60900/
46,172
26.09.2017 15:27:19
-7,200
1b23456aa28f0cf3e12666b5470fcc12e0ddfa34
Added constants for the Mesos CLI. This will be used by future commands and functions of the CLI. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "src/python/cli_new/lib/cli/constants.py", "diff": "+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distributed with this work for additional information\n+# regard...
C++
Apache License 2.0
apache/mesos
Added constants for the Mesos CLI. This will be used by future commands and functions of the CLI. Review: https://reviews.apache.org/r/62572/
46,172
26.09.2017 16:32:28
-7,200
016a565f3c8f0b2028fa6e70816531bc3b13bcc5
Added CLI utility function to verify addresses. This will be used by future plugins. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/util.py", "new_path": "src/python/cli_new/lib/cli/util.py", "diff": "@@ -22,6 +22,7 @@ import imp\nimport importlib\nimport os\nimport re\n+import socket\nimport textwrap\nfrom cli.exceptions import CLIException\n@@ -152,6 +153,37 @@...
C++
Apache License 2.0
apache/mesos
Added CLI utility function to verify addresses. This will be used by future plugins. Review: https://reviews.apache.org/r/61212/
46,172
26.09.2017 16:35:42
-7,200
b35e8169d200d41118793993f5007e2c573ece06
Added 'master' key as an acceptable key in the CLI's config.toml. This key is a field that has to be composed of an `address` or `zookeeper` field, but not both. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/README.md", "new_path": "src/python/cli_new/README.md", "diff": "@@ -77,6 +77,20 @@ plugins = [\n\"</absolute/path/to/plugin-1/directory>\",\n\"</absolute/path/to/plugin-2/directory>\"\n]\n+\n+# The `master` is a field that has to be compose...
C++
Apache License 2.0
apache/mesos
Added 'master' key as an acceptable key in the CLI's config.toml. This key is a field that has to be composed of an `address` or `zookeeper` field, but not both. Review: https://reviews.apache.org/r/60088/
46,172
26.09.2017 16:38:36
-7,200
ebc277c324b6a88aa86c1f1fcb3a47876d37c8a2
Added default configuration file for CLI tests. This will be used by future tests, it overwrites the configuration file defined by the user. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "src/python/cli_new/tests/default_config.toml", "diff": "+[master]\n+ address = \"127.0.0.1:9090\"\n" }, { "change_type": "MODIFY", "old_path": "src/python/cli_new/tests/main.py", "new_path": "src/python/cli_new/tests/main.py", ...
C++
Apache License 2.0
apache/mesos
Added default configuration file for CLI tests. This will be used by future tests, it overwrites the configuration file defined by the user. Review: https://reviews.apache.org/r/61211/
46,172
26.09.2017 16:43:42
-7,200
d1a430886feac2b79afc6c1a8af05ea2046d9761
Added CLI utility function to get agent address. This will be used by future plugins. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/lib/cli/util.py", "new_path": "src/python/cli_new/lib/cli/util.py", "diff": "@@ -25,6 +25,8 @@ import re\nimport socket\nimport textwrap\n+import cli.http as http\n+\nfrom cli.exceptions import CLIException\n@@ -184,6 +186,24 @@ def verify_a...
C++
Apache License 2.0
apache/mesos
Added CLI utility function to get agent address. This will be used by future plugins. Review: https://reviews.apache.org/r/62573/
46,172
26.09.2017 16:57:24
-7,200
3d4c1cec5ee655654e24c75509bda594c7980f05
Added 'mesos task list' command to CLI. This command displays the active tasks in a cluster by hitting the tasks endpoint of a master. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/bin/settings.py", "new_path": "src/python/cli_new/bin/settings.py", "diff": "@@ -38,7 +38,8 @@ PROJECT_DIR = os.path.join(os.path.dirname(__file__), os.pardir)\n# The builtin plugins.\nPLUGINS = [\n- os.path.join(PROJECT_DIR, \"lib\", \"meso...
C++
Apache License 2.0
apache/mesos
Added 'mesos task list' command to CLI. This command displays the active tasks in a cluster by hitting the tasks endpoint of a master. Review: https://reviews.apache.org/r/61213/
46,165
26.09.2017 18:43:52
25,200
062b04deee771e5c86fa0c7ad84a9ab5aaa161b6
Shortened the mesos ID truncation in the webui. As the tables get more crowded, it helps to shorten IDs further than we currently do. Input: 9d4b2f2b-a759-4458-bebf-7d3507a6f0ca-S9 Output before this change: ...bebf-7d3507a6f0ca-S9 Output after this change: ...7d3507a6f0ca-S9
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/js/app.js", "new_path": "src/webui/master/static/js/app.js", "diff": ".filter('truncateMesosID', function() {\n// Returns a truncated ID, for example:\n// Input: 9d4b2f2b-a759-4458-bebf-7d3507a6f0ca-S9\n- // Output: ...bebf-7d3507a6f0ca...
C++
Apache License 2.0
apache/mesos
Shortened the mesos ID truncation in the webui. As the tables get more crowded, it helps to shorten IDs further than we currently do. Input: 9d4b2f2b-a759-4458-bebf-7d3507a6f0ca-S9 Output before this change: ...bebf-7d3507a6f0ca-S9 Output after this change: ...7d3507a6f0ca-S9
46,165
26.09.2017 18:45:28
25,200
53b56117befae94cdec9599c7b9bfe47ff36c968
Fixed some inconsistent display of framework IDs in the webui. There was inconsistency around whether the ID was being truncated, whether the copy to clipboard button was present, and whether the ID was a link to the framework page.
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/frameworks.html", "new_path": "src/webui/master/static/frameworks.html", "diff": "<tr ng-repeat=\"framework in $data | filter: { active: true }\">\n<td>\n<a href=\"{{'#/frameworks/' + framework.id}}\">\n- {{(framework.id | truncateMesos...
C++
Apache License 2.0
apache/mesos
Fixed some inconsistent display of framework IDs in the webui. There was inconsistency around whether the ID was being truncated, whether the copy to clipboard button was present, and whether the ID was a link to the framework page.
46,172
27.09.2017 15:02:04
-7,200
1270703291a132d8d959d71bf99e4dfe4cf4292e
Added 'mesos agent list' command to CLI. This command displays the agents in a cluster by reaching the slaves endpoint of a master. Review:
[ { "change_type": "MODIFY", "old_path": "src/python/cli_new/bin/settings.py", "new_path": "src/python/cli_new/bin/settings.py", "diff": "@@ -38,6 +38,7 @@ PROJECT_DIR = os.path.join(os.path.dirname(__file__), os.pardir)\n# The builtin plugins.\nPLUGINS = [\n+ os.path.join(PROJECT_DIR, \"lib\", \"meso...
C++
Apache License 2.0
apache/mesos
Added 'mesos agent list' command to CLI. This command displays the agents in a cluster by reaching the slaves endpoint of a master. Review: https://reviews.apache.org/r/62065/
46,092
27.09.2017 08:37:34
25,200
17fa33de531489df37ca1c30b8e548231ea1b00f
Add framework development SDK from Verizon Labs. This closes
[ { "change_type": "MODIFY", "old_path": "docs/api-client-libraries.md", "new_path": "docs/api-client-libraries.md", "diff": "@@ -52,6 +52,11 @@ run into any issues, file them with the library maintainers.*\nmesos-go-http</a></td>\n<td>Go</td>\n</tr>\n+<tr>\n+ <td><a href=\"https://github.com/verizonl...
C++
Apache License 2.0
apache/mesos
Add framework development SDK from Verizon Labs. This closes #235
46,150
27.09.2017 08:57:44
25,200
a90ed2bf57c1f0bf67b395c57ebd0991aac2c5b0
Add OLA to 'powered by mesos' list. This closes
[ { "change_type": "MODIFY", "old_path": "docs/powered-by-mesos.md", "new_path": "docs/powered-by-mesos.md", "diff": "@@ -73,6 +73,7 @@ layout: documentation\n* [Ndustrial.io](http://www.ndustrial.io)\n* [Netflix](http://www.netflix.com)\n* [Oakmore Labs](http://www.oakmorelabs.com)\n+* [OLA](https://...
C++
Apache License 2.0
apache/mesos
Add OLA to 'powered by mesos' list. This closes #236
46,111
27.09.2017 13:46:11
25,200
89c6cea11427fef36b0161620c451d0587f1d205
Validated that quota requests contain unique resource names. This also adds a test. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/quota.cpp", "new_path": "src/master/quota.cpp", "diff": "@@ -133,6 +133,8 @@ Option<Error> quotaInfo(const QuotaInfo& quotaInfo)\nreturn Error(\"QuotaInfo with empty 'guarantee'\");\n}\n+ hashset<string> names;\n+\nforeach (const Resource& resource,...
C++
Apache License 2.0
apache/mesos
Validated that quota requests contain unique resource names. This also adds a test. Review: https://reviews.apache.org/r/52284/
46,076
26.09.2017 20:13:11
25,200
d47641039f5e2dd18af007250ef7ae2a34258a2d
Protect against Future callbacks deleting instance. See Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/future.hpp", "new_path": "3rdparty/libprocess/include/process/future.hpp", "diff": "@@ -880,21 +880,24 @@ void discard(const std::list<Future<T>>& futures)\ntemplate <typename T>\nbool Promise<T>::discard(Future<T> future)\n...
C++
Apache License 2.0
apache/mesos
Protect against Future callbacks deleting instance. See MESOS-8010. Review: https://reviews.apache.org/r/62609
46,139
29.09.2017 12:14:39
25,200
f429f4070935ad006f57e460e1db53ae65801809
Added a test using a file URI and the DefaultExecutor. This test verifies that URIs set on tasks are fetched and made available to them when started by the DefaultExecutor. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -1372,6 +1372,103 @@ struct LauncherAndIsolationParam\n};\n+// This test verifies that URIs set on tasks are fetched and made available to\n+// them when sta...
C++
Apache License 2.0
apache/mesos
Added a test using a file URI and the DefaultExecutor. This test verifies that URIs set on tasks are fetched and made available to them when started by the DefaultExecutor. Review: https://reviews.apache.org/r/62168/
46,139
29.09.2017 12:14:44
25,200
6eefc685ccf304d0fb8ed4ff9bc314197d77f078
Added a test using Docker, a file URI, and the DefaultExecutor. This test verifies that URIs set on Docker tasks are fetched and made available to them when started by the DefaultExecutor. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -1469,6 +1469,117 @@ TEST_P(DefaultExecutorTest, TaskWithFileURI)\n}\n+// This test verifies that URIs set on Docker tasks are fetched and made\n+// availabl...
C++
Apache License 2.0
apache/mesos
Added a test using Docker, a file URI, and the DefaultExecutor. This test verifies that URIs set on Docker tasks are fetched and made available to them when started by the DefaultExecutor. Review: https://reviews.apache.org/r/62632/
46,136
29.09.2017 11:56:04
25,200
50f35499ce41f0024053fb2557b69b5e03d5973b
Added `MARK_AGENT_GONE` call to the v1 Master API. This change introduces the `MARK_AGENT_GONE` call that can be used by operators to assert that a given agent has failed. It is specially useful for stateful frameworks to ascertain whether its safe to move the workload to a new agent. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/master/master.proto", "new_path": "include/mesos/master/master.proto", "diff": "@@ -89,6 +89,8 @@ message Call {\nREMOVE_QUOTA = 30; // See 'RemoveQuota' below.\nTEARDOWN = 31; // See 'Teardown' below.\n+\n+ MARK_AGENT_GONE = 32; // See 'MarkAgen...
C++
Apache License 2.0
apache/mesos
Added `MARK_AGENT_GONE` call to the v1 Master API. This change introduces the `MARK_AGENT_GONE` call that can be used by operators to assert that a given agent has failed. It is specially useful for stateful frameworks to ascertain whether its safe to move the workload to a new agent. Review: https://reviews.apache.o...
46,136
29.09.2017 11:56:22
25,200
ec1e98df48dc53cc31e93265a996b4cccefba32e
Added the `REASON_AGENT_REMOVED_BY_OPERATOR` to the mesos protos. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2201,6 +2201,7 @@ message TaskStatus {\nREASON_RESOURCES_UNKNOWN = 18;\nREASON_SLAVE_DISCONNECTED = 10;\nREASON_SLAVE_REMOVED = 11;\n+ REASON_SLAVE_REMOVED_BY_OPERATOR = 31;\nREA...
C++
Apache License 2.0
apache/mesos
Added the `REASON_AGENT_REMOVED_BY_OPERATOR` to the mesos protos. Review: https://reviews.apache.org/r/62476/
46,136
29.09.2017 11:56:28
25,200
22f72a46f84ba518b39d714381b37a512b1d93cc
Added the gone agents to the master registry. This change adds the list of gone agents to the registry and also introduces the \`MarkSlaveGone\` operation on the Mesos master. This would be used by the Master Operator API handler to insert an agent into the list of gone agents. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.hpp", "new_path": "src/master/master.hpp", "diff": "@@ -2287,6 +2287,77 @@ private:\n};\n+// Move a slave from the list of admitted/unreachable slaves\n+// to the list of gone slaves.\n+class MarkSlaveGone : public Operation\n+{\n+public:\n+ ...
C++
Apache License 2.0
apache/mesos
Added the gone agents to the master registry. This change adds the list of gone agents to the registry and also introduces the \`MarkSlaveGone\` operation on the Mesos master. This would be used by the Master Operator API handler to insert an agent into the list of gone agents. Review: https://reviews.apache.org/r/62...
46,136
29.09.2017 11:56:50
25,200
ff07dd82a0b99e5b7777c72ae844dd1ab409b2ed
Added `__removeSlave` function and made `_markUnreachable` use it. This would also be used by the `markGone()` function in the next review to remove agents. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -7175,107 +7175,9 @@ void Master::_markUnreachable(\n++metrics->slave_removals;\n++metrics->slave_removals_reason_unhealthy;\n- // We want to remove the slave first, to avoid the allocato...
C++
Apache License 2.0
apache/mesos
Added `__removeSlave` function and made `_markUnreachable` use it. This would also be used by the `markGone()` function in the next review to remove agents. Review: https://reviews.apache.org/r/62581/
46,136
29.09.2017 11:57:59
25,200
b491239f1b177c1e5ca70ddeb302f4c388debe93
Added tests for the agent gone operation. This change adds tests for marking an active agent as gone and also another test for ensuring that running task on an agent marked as gone are correctly transitioned to 'TASK_GONE_BY_OPERATOR'. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -355,7 +355,7 @@ TEST_P(MasterAPITest, GetExecutors)\nASSERT_SOME(slave);\nAWAIT_READY(slaveRegisteredMessage);\n- SlaveID slaveId = slaveRegisteredMessage->slave_id();\n+ const Slave...
C++
Apache License 2.0
apache/mesos
Added tests for the agent gone operation. This change adds tests for marking an active agent as gone and also another test for ensuring that running task on an agent marked as gone are correctly transitioned to 'TASK_GONE_BY_OPERATOR'. Review: https://reviews.apache.org/r/62480/
46,136
29.09.2017 11:58:26
25,200
c0468b240842d4aaf04249cb0a58c59c43d1850d
Fixed tests impacted by no longer removing the agent symlink. This change fixes tests that relied on the agent work directory symlink being removed when the agent receives the shutdown message from the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/gc_tests.cpp", "new_path": "src/tests/gc_tests.cpp", "diff": "@@ -281,9 +281,11 @@ TEST_F(GarbageCollectorTest, Prune)\nclass GarbageCollectorIntegrationTest : public MesosTest {};\n-// This test ensures that garbage collection removes\n+// This test...
C++
Apache License 2.0
apache/mesos
Fixed tests impacted by no longer removing the agent symlink. This change fixes tests that relied on the agent work directory symlink being removed when the agent receives the shutdown message from the master. Review: https://reviews.apache.org/r/62481/
46,136
29.09.2017 11:58:34
25,200
6001e8aefed87864b6ab289cbacb9dcf394fe538
Added documentation about 'MARK_AGENT_GONE' call. Review:
[ { "change_type": "MODIFY", "old_path": "docs/operator-http-api.md", "new_path": "docs/operator-http-api.md", "diff": "@@ -2324,6 +2324,41 @@ HTTP/1.1 202 Accepted\n```\n+### MARK_AGENT_GONE\n+\n+This call can be used by operators to assert that an agent instance has\n+failed and is never coming back...
C++
Apache License 2.0
apache/mesos
Added documentation about 'MARK_AGENT_GONE' call. Review: https://reviews.apache.org/r/62529
46,136
29.09.2017 11:58:41
25,200
11dbb52a6b9339e1ad243f00c92601e108499997
Added authorization for 'MARK_AGENT_GONE' call. This change adds the relevant ACL's for doing AuthZ (any or none access). Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/acls.proto", "new_path": "include/mesos/authorizer/acls.proto", "diff": "@@ -404,6 +404,16 @@ message ACL {\n// access.\nrequired Entity machines = 2;\n}\n+\n+ // Which principals are authorized to mark an agent as gone.\n+ message Mar...
C++
Apache License 2.0
apache/mesos
Added authorization for 'MARK_AGENT_GONE' call. This change adds the relevant ACL's for doing AuthZ (any or none access). Review: https://reviews.apache.org/r/62531/
46,136
29.09.2017 11:58:53
25,200
3515cd0a94f257d8d2257075ccb4be8e26e2bbc4
Added the ability to prune the gone agent list from the registry. This change uses the existing master options `register_max_agent_age` and `registry_max_agent_count` for GC'ing the list of gone agents in the registry. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/flags.cpp", "new_path": "src/master/flags.cpp", "diff": "@@ -591,18 +591,18 @@ mesos::internal::master::Flags::Flags()\n\"Maximum length of time to store information in the registry about\\n\"\n\"agents that are not currently connected to the cluste...
C++
Apache License 2.0
apache/mesos
Added the ability to prune the gone agent list from the registry. This change uses the existing master options `register_max_agent_age` and `registry_max_agent_count` for GC'ing the list of gone agents in the registry. Review: https://reviews.apache.org/r/62554/
46,147
02.10.2017 10:23:28
25,200
1be4ff755d339b362528739cd27af43a01ab886b
Windows: Rebundled Cyrus SASL CRAM MD5 3rdparty library. This adds a rebundled library for the `sasl2` dependency of Mesos and patches the bundle with a minimalistic CMake build. We do not intend to upstream this CMake build as it only builds a small subset of the library. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -47,6 +47,7 @@ if (WIN32)\nset(CURL_URL ${3RDPARTY_DEPENDENCIES}/curl-${CURL_VERSION}.tar.gz)\nset(LIBAPR_URL ${3RDPARTY_DEPENDENCIES}/libapr-${LIBAPR_VERSION}.tar.gz)\nset(ZLIB_URL $...
C++
Apache License 2.0
apache/mesos
Windows: Rebundled Cyrus SASL CRAM MD5 3rdparty library. This adds a rebundled library for the `sasl2` dependency of Mesos and patches the bundle with a minimalistic CMake build. We do not intend to upstream this CMake build as it only builds a small subset of the library. Review: https://reviews.apache.org/r/62105/
46,147
02.10.2017 11:05:14
25,200
e7b3f3bacab5ea1694ae4ef43b1a19921597509a
Windows: Enabled CRAM MD5 Authentication and associated tests. This effectively reverts a past decision to make Mesos's SASL dependency optional. See: This removes the `HAS_AUTHENTICATION` compile-time definition, updates documentation, and cleans up special-case code which conditionally disabled Authentication. Review...
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -106,19 +106,6 @@ option(\n\"Build libprocess with lock free run queue\"\nFALSE)\n-option(\n- HAS_AUTHENTICATION\n- \"Build Mesos against authentication libraries\"\...
C++
Apache License 2.0
apache/mesos
Windows: Enabled CRAM MD5 Authentication and associated tests. This effectively reverts a past decision to make Mesos's SASL dependency optional. See: https://issues.apache.org/jira/browse/MESOS-5450 This removes the `HAS_AUTHENTICATION` compile-time definition, updates documentation, and cleans up special-case code ...
46,147
02.10.2017 11:50:07
25,200
90458f1e6b6281f2bd06b625aef283d021976485
CMake: Added dependency check for sasl2. This explicitly checks for the existence of the sasl2 library on non-Windows platforms during the configuration step. Prior to this patch, we simply assumed the existence of the library and would only potentially error out later during the build. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -215,6 +215,12 @@ if (WIN32)\nINSTALL_COMMAND ${CMAKE_NOOP}\nURL ${SASL2_URL}\nURL_HASH ${SASL2_HASH})\n+else ()\n+ find_library(SASL2_LIB sasl2)\n+\n+ if (NOT SASL2_LIB)\n+ message(F...
C++
Apache License 2.0
apache/mesos
CMake: Added dependency check for sasl2. This explicitly checks for the existence of the sasl2 library on non-Windows platforms during the configuration step. Prior to this patch, we simply assumed the existence of the library and would only potentially error out later during the build. Review: https://reviews.apach...
46,100
02.10.2017 13:10:45
25,200
5d4328b9204f4ae7a2b48e2cbc656be54afe6198
Display task health in the Web UI. Fixes: This closes
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/agent_executor.html", "new_path": "src/webui/master/static/agent_executor.html", "diff": "<th data-key=\"name\">Name</th>\n<th data-key=\"role\">Role</th>\n<th data-key=\"state\">State</th>\n+ <th data-key=\"healthy\">Health</th>\n<th d...
C++
Apache License 2.0
apache/mesos
Display task health in the Web UI. Fixes: MESOS-7961. This closes #233
46,114
02.10.2017 13:57:20
25,200
0ee21fb49ec5b443ed3a29c66846923e386f3c46
CMake: Cleaned up `External.cmake`. This removes a variable export which was made superfluous due to consistency introduced by `Versions.cmake`. In effect we would export the version of a 3rdparty dependency to the same variable passed into the `EXTERNAL` function. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/cmake/External.cmake", "new_path": "3rdparty/cmake/External.cmake", "diff": "# directory structure of a dependency. In particular, if our library's name is\n# boost, we will define the following variables:\n#\n-# BOOST_VERSION (e.g., 1.53.0)\n-# BOOST...
C++
Apache License 2.0
apache/mesos
CMake: Cleaned up `External.cmake`. This removes a variable export which was made superfluous due to consistency introduced by `Versions.cmake`. In effect we would export the version of a 3rdparty dependency to the same variable passed into the `EXTERNAL` function. Review: https://reviews.apache.org/r/62729/
46,114
02.10.2017 14:12:30
25,200
3f15dedb221a6882fd01b172f584527c496d4e1e
CMake: Used `TRUE|FALSE` instead of `ON|OFF` consistently. While these are equivalent values to CMake, we should be consistent. Also made uses of `option` consistent, and moved `ENABLE_JAVA` to the 3rdparty section. Review:
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "# GENERAL OPTIONS.\n##################\n-option(VERBOSE \"Enable verbose CMake statements and compilation output\" ON)\n+option(VERBOSE\n+ \"Enable verbose CMake statem...
C++
Apache License 2.0
apache/mesos
CMake: Used `TRUE|FALSE` instead of `ON|OFF` consistently. While these are equivalent values to CMake, we should be consistent. Also made uses of `option` consistent, and moved `ENABLE_JAVA` to the 3rdparty section. Review: https://reviews.apache.org/r/62730/
46,114
02.10.2017 14:33:52
25,200
bd5e874c22f0d16fc5494213d319065cf9107d0f
CMake: Removed `MESOS_CPPFLAGS` variable. This was a magic variable that was used to add compiler definitions globally. Instead, global definitions are now added explicitly with `add_definitions`, and others with `target_compile_definitions`. Review:
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -299,13 +299,13 @@ if (WIN32)\n# to give the build system fine-grained control over what code is #ifdef'd\n# out in the future. Using only flags defined by our build...
C++
Apache License 2.0
apache/mesos
CMake: Removed `MESOS_CPPFLAGS` variable. This was a magic variable that was used to add compiler definitions globally. Instead, global definitions are now added explicitly with `add_definitions`, and others with `target_compile_definitions`. Review: https://reviews.apache.org/r/62731/
46,055
25.07.2017 23:03:43
-28,800
b10a4ea59231d134662d49417add2ccd7779cde7
Fixed JSON protobuf deserialization to ignore unrecognized enum values. Protobuf deserialization will discard any unrecognized enum values. This patch fixes our custom JSON -> protobuf conversion code to be consistent with this behavior. See for why this matters when dealing with upgrades. Fixes Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/protobuf.hpp", "new_path": "3rdparty/stout/include/stout/protobuf.hpp", "diff": "@@ -451,9 +451,21 @@ struct Parser : boost::static_visitor<Try<Nothing>>\nfield->enum_type()->FindValueByName(string.value);\nif (descriptor == nullpt...
C++
Apache License 2.0
apache/mesos
Fixed JSON protobuf deserialization to ignore unrecognized enum values. Protobuf deserialization will discard any unrecognized enum values. This patch fixes our custom JSON -> protobuf conversion code to be consistent with this behavior. See MESOS-4997 for why this matters when dealing with upgrades. Fixes MESOS-782...
46,055
27.07.2017 16:15:44
-28,800
2f3ceb45106e79586f2c32bfd26db0318d608075
Added a test `ProtobufTest.ParseJSONUnrecognizedEnum`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/protobuf_tests.cpp", "new_path": "3rdparty/stout/tests/protobuf_tests.cpp", "diff": "@@ -418,6 +418,39 @@ TEST(ProtobufTest, ParseJSONNestedError)\n}\n+// Tests when parsing protobuf from JSON, for the optional enum field which\n+// has an...
C++
Apache License 2.0
apache/mesos
Added a test `ProtobufTest.ParseJSONUnrecognizedEnum`. Review: https://reviews.apache.org/r/61174
46,053
03.10.2017 06:30:24
14,400
0292d4216306a9758610a8f0e4e41ed2c458d097
Updated error messages in `getMountNamespaceTarget()`. Previously, `getMountNamespaceTarget()` ignored error messages returned by `ns::getns()` and `os::children()`. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/utils.cpp", "new_path": "src/slave/containerizer/mesos/utils.cpp", "diff": "@@ -60,22 +60,22 @@ Try<pid_t> getMountNamespaceTarget(pid_t parent)\n{\nTry<ino_t> parentNamespace = ns::getns(parent, \"mnt\");\nif (parentNamespace.isE...
C++
Apache License 2.0
apache/mesos
Updated error messages in `getMountNamespaceTarget()`. Previously, `getMountNamespaceTarget()` ignored error messages returned by `ns::getns()` and `os::children()`. Review: https://reviews.apache.org/r/62696/
46,139
03.10.2017 10:45:53
25,200
32ea75b8426fb3972680a397dc3a05ff266d166d
Added a test using DefaultExecutor + health check + persistent volume. This test verifies that the command health checks initiated by the default executor are able to read files in a persistent volume. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/default_executor_tests.cpp", "new_path": "src/tests/default_executor_tests.cpp", "diff": "@@ -2300,6 +2300,154 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(\nEXPECT_SOME_EQ(\"abc\\n\", os::read(filePath));\n}\n+\n+// This test verifies that the command health ...
C++
Apache License 2.0
apache/mesos
Added a test using DefaultExecutor + health check + persistent volume. This test verifies that the command health checks initiated by the default executor are able to read files in a persistent volume. Review: https://reviews.apache.org/r/62739/
46,143
03.10.2017 12:31:42
25,200
ae24a4bfc54d14096333f4b3324a835eb634c1bb
Updated CHANGELOG for v1 operator API graduation.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -11,6 +11,8 @@ Additional API Changes:\nUnresolved Critical Issues:\nFeature Graduations:\n+* v1 Operator API is now considered stable.\n+\nAll Experimental Features:\n" }, { "change_type": "MODIFY", ...
C++
Apache License 2.0
apache/mesos
Updated CHANGELOG for v1 operator API graduation.
46,188
02.10.2017 20:58:28
25,200
9dfc36b49f9564f4284a0bf5e4fc0d53847011a3
Handled discarded case in launch nested container handler. Previously, only the failure case is handled. This patch fix the issue by handling discarded case as well. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -2405,17 +2405,33 @@ Future<Response> Http::_launchNestedContainer(\nmap<string, string>(),\nNone());\n+ // TODO(jieyu): If the http connection breaks, the handler will\n+ // trigger a discard ...
C++
Apache License 2.0
apache/mesos
Handled discarded case in launch nested container handler. Previously, only the failure case is handled. This patch fix the issue by handling discarded case as well. Review: https://reviews.apache.org/r/62742
46,053
04.10.2017 08:00:09
14,400
d863620e5cb82b7f22cade0da0a0d18afbdf9136
Added --disable-libtool-wrapper configuration to Mesos. This flag is used to force libtool to generate executables instead of wrapper scripts. A wrapper script might trigger relinking, which takes quite a while on slow machines, thus causing failure of tests. Review:
[ { "change_type": "MODIFY", "old_path": "configure.ac", "new_path": "configure.ac", "diff": "@@ -231,6 +231,16 @@ AC_ARG_ENABLE([install-module-dependencies],\nfor module development]),\n[], [enable_install_module_dependencies=no])\n+AC_ARG_ENABLE([libtool-wrappers],\n+ AS_HELP_STRING([--disable-libt...
C++
Apache License 2.0
apache/mesos
Added --disable-libtool-wrapper configuration to Mesos. This flag is used to force libtool to generate executables instead of wrapper scripts. A wrapper script might trigger relinking, which takes quite a while on slow machines, thus causing failure of tests. Review: https://reviews.apache.org/r/62661/
46,172
05.10.2017 15:24:07
-7,200
b1570606acbea3d78850c57d622fb552ef695499
Added helper functions for linters using a virtual environment. This is used by the Python linter and will be used by the Javascript linter. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-style.py", "new_path": "support/mesos-style.py", "diff": "@@ -153,7 +153,63 @@ class LinterBase(object):\nreturn error_count\n- def main(self, file_list):\n+ def should_build_virtualenv(self, modified_files):\n+ \"\"\"\n+ Check if we should build...
C++
Apache License 2.0
apache/mesos
Added helper functions for linters using a virtual environment. This is used by the Python linter and will be used by the Javascript linter. Review: https://reviews.apache.org/r/62333/
46,103
15.08.2017 11:35:15
-7,200
46db7e4f27831d20244a57b22a70312f2a574395
Added a master-registry backed resource provider manager registry. This patch adds an implementation of the resource provider registrar backed by the master's registrar. With that it becomes possible to persist resource provider manager state in a single master registrar, but use the narrowly defined resource provider ...
[ { "change_type": "MODIFY", "old_path": "src/master/registry.proto", "new_path": "src/master/registry.proto", "diff": "syntax = \"proto2\";\nimport \"mesos/mesos.proto\";\n+\nimport \"mesos/maintenance/maintenance.proto\";\n+\nimport \"mesos/quota/quota.proto\";\n+import \"resource_provider/registry....
C++
Apache License 2.0
apache/mesos
Added a master-registry backed resource provider manager registry. This patch adds an implementation of the resource provider registrar backed by the master's registrar. With that it becomes possible to persist resource provider manager state in a single master registrar, but use the narrowly defined resource provider...
46,178
05.10.2017 12:16:21
14,400
f9d784bc36cc4c1c4768ec33a380d9e8a4d9207b
Updated website for 1.4.0.
[ { "change_type": "MODIFY", "old_path": "docs/getting-started.md", "new_path": "docs/getting-started.md", "diff": "@@ -11,8 +11,8 @@ There are different ways you can get Mesos:\n1\\. Download the latest stable release from [Apache](http://mesos.apache.org/downloads/) (***Recommended***)\n- $ wget htt...
C++
Apache License 2.0
apache/mesos
Updated website for 1.4.0.
46,108
05.10.2017 21:11:15
-7,200
7b1ab03204d57dd2c6cf6df05662d95f657d1bcb
Added cpplint.py to be skipped by python linter (for now). This file needs to be modified properly to pass the linter before removing the directive introduced in this commit.
[ { "change_type": "MODIFY", "old_path": "support/cpplint.py", "new_path": "support/cpplint.py", "diff": "@@ -46,6 +46,7 @@ In particular, we can get very confused by /* and // inside strings!\nWe do a small hack, which is to ignore //'s with \"'s after them on the\nsame line, but it is far from perfe...
C++
Apache License 2.0
apache/mesos
Added cpplint.py to be skipped by python linter (for now). This file needs to be modified properly to pass the linter before removing the directive introduced in this commit.
46,166
05.10.2017 17:50:33
25,200
c87db8c8c8cef3d95e8ddaf7c75353732919edf7
Added Gitential and Lensa to powered-by list. This closes
[ { "change_type": "MODIFY", "old_path": "docs/powered-by-mesos.md", "new_path": "docs/powered-by-mesos.md", "diff": "@@ -46,6 +46,7 @@ layout: documentation\n* [Foursquare](http://www.foursquare.com)\n* [GenOuest](http://www.genouest.org)\n* [Gigawatt IO](http://gigawatt.io)\n+* [Gitential](https://g...
C++
Apache License 2.0
apache/mesos
Added Gitential and Lensa to powered-by list. This closes #238
46,184
06.10.2017 10:12:41
25,200
93eee727feb0a36e806ad38c9686d2d66d11b166
Added Nathan Jackson to contributors list. This closes
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: bernadinm\nreviewboard_user: bernadinm\n+- name: Nathan Jackson\n+ emails:\n+ - nate.ds.jackson@gmail.com\n+ jira_user: csnate\n+ reviewboard_user: csnate\n+\n- name: Neil Conwa...
C++
Apache License 2.0
apache/mesos
Added Nathan Jackson to contributors list. This closes #239
46,053
06.10.2017 11:11:35
25,200
74121798f24fca372180b8c4bc00b4df07d46240
Added `--disable-libtool-wrappers` to reviewbot. Review:
[ { "change_type": "MODIFY", "old_path": "support/verify-reviews.py", "new_path": "support/verify-reviews.py", "diff": "@@ -189,7 +189,8 @@ def verify_review(review_request):\n\"OS='ubuntu:14.04' \"\n\"BUILDTOOL='autotools' \"\n\"COMPILER='gcc' \"\n- \"CONFIGURATION='--verbose' \"\n+ \"CONFIGURATION='...
C++
Apache License 2.0
apache/mesos
Added `--disable-libtool-wrappers` to reviewbot. Review: https://reviews.apache.org/r/62806/
46,053
06.10.2017 12:12:34
25,200
cd516ab65b03045dba7f1cbfd40e72a1d5267539
Added `--disable-libtool-wrappers` to support scripts. Review:
[ { "change_type": "MODIFY", "old_path": "support/coverage.sh", "new_path": "support/coverage.sh", "diff": "@@ -19,7 +19,7 @@ fi\npushd build\n# Reconfigure with gcov support.\n-CXXFLAGS=\"-pg --coverage\" CFLAGS=\"-pg --coverage\" LDFLAGS=\"-lgcov\" ../configure --disable-optimize\n+CXXFLAGS=\"-pg --...
C++
Apache License 2.0
apache/mesos
Added `--disable-libtool-wrappers` to support scripts. Review: https://reviews.apache.org/r/62814/
46,139
06.10.2017 14:12:24
25,200
5e5ed4db273179101eee90d752c1622315987949
Mesos UI: extract the agent URL generation to a function. This path extracts the generation of URLs of agent endpoints to a single function. Having this logic in just one place makes it easier to modify it, e.g., to make it possible to use the UI via a reverse proxy. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/browse.html", "new_path": "src/webui/master/static/browse.html", "diff": "</td>\n<td>\n<a data-ng-show=\"file.mode[0] != 'd'\"\n- href=\"//{{agent_host}}/files/download?path={{encodeURIComponent(file.path)}}\">\n+ href=\"{{agent_url_pre...
C++
Apache License 2.0
apache/mesos
Mesos UI: extract the agent URL generation to a function. This path extracts the generation of URLs of agent endpoints to a single function. Having this logic in just one place makes it easier to modify it, e.g., to make it possible to use the UI via a reverse proxy. Review: https://reviews.apache.org/r/62781/
46,139
09.10.2017 17:33:30
25,200
b229764369f0939f697ac125e5e23c62fde5e32b
Mesos UI: renamed a parameter of the `agentURLPrefix` function. Rename `includeId` to `includeProcessId` and update comments to make it clear that the parameter refers to the libprocess process id and not to the agent's id. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/js/controllers.js", "new_path": "src/webui/master/static/js/controllers.js", "diff": "// to consider:\n//\n// (1) Some endpoints for the agent process itself require\n- // the agent PID.name in the path, this is to ensure\n- // that the...
C++
Apache License 2.0
apache/mesos
Mesos UI: renamed a parameter of the `agentURLPrefix` function. Rename `includeId` to `includeProcessId` and update comments to make it clear that the parameter refers to the libprocess process id and not to the agent's id. Review: https://reviews.apache.org/r/62852/
46,210
10.10.2017 20:17:31
-7,200
185b64fa05194b4350fcadc1fce6c9b9620ed34b
Added HTTP authenticatee interface definition. Defines an interface for the scheduler library authentication, providing the means of an HTTP authenticatee. This interface allows consumers of HTTP APIs to use replaceable authentication mechanisms. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "include/mesos/authentication/http/authenticatee.hpp", "diff": "+// Licensed to the Apache Software Foundation (ASF) under one\n+// or more contributor license agreements. See the NOTICE file\n+// distributed with this work for additional informa...
C++
Apache License 2.0
apache/mesos
Added HTTP authenticatee interface definition. Defines an interface for the scheduler library authentication, providing the means of an HTTP authenticatee. This interface allows consumers of HTTP APIs to use replaceable authentication mechanisms. Review: https://reviews.apache.org/r/62587/
46,210
10.10.2017 20:17:38
-7,200
a687d975e41ce162cf5806278f3ca78a69f67571
Modularized HTTP authenticatee. Introduces an HTTP authenticatee module kind. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "include/mesos/module/http_authenticatee.hpp", "diff": "+// Licensed to the Apache Software Foundation (ASF) under one\n+// or more contributor license agreements. See the NOTICE file\n+// distributed with this work for additional information\n+/...
C++
Apache License 2.0
apache/mesos
Modularized HTTP authenticatee. Introduces an HTTP authenticatee module kind. Review: https://reviews.apache.org/r/62591/
46,210
10.10.2017 20:17:46
-7,200
e89cdc2551c77c6951a30e9007c85cbfef58de32
Added basic HTTP authenticatee implementation. Moves the hardcoded basic HTTP authentication code from within the scheduler library into the modularized HTTP authenticatee interface. Review:
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -310,6 +310,7 @@ set(AUTHENTICATION_SRC\nauthentication/cram_md5/authenticatee.cpp\nauthentication/cram_md5/authenticator.cpp\nauthentication/cram_md5/auxprop.cpp\n+ authentication/http/basic_a...
C++
Apache License 2.0
apache/mesos
Added basic HTTP authenticatee implementation. Moves the hardcoded basic HTTP authentication code from within the scheduler library into the modularized HTTP authenticatee interface. Review: https://reviews.apache.org/r/62592/
46,210
10.10.2017 20:17:51
-7,200
28f882795014ca4f47e3efc99a41453f5a3b68a9
Updated scheduler library for modularized HTTP authenticatee use. Allows the scheduler library to load an HTTP authenticatee module providing custom mechanisms for authentication. Review:
[ { "change_type": "MODIFY", "old_path": "src/scheduler/flags.hpp", "new_path": "src/scheduler/flags.hpp", "diff": "#ifndef __SCHEDULER_FLAGS_HPP__\n#define __SCHEDULER_FLAGS_HPP__\n+#include <string>\n+\n+#include <mesos/mesos.hpp>\n+\n+#include \"common/parse.hpp\"\n+\n#include \"local/flags.hpp\"\n...
C++
Apache License 2.0
apache/mesos
Updated scheduler library for modularized HTTP authenticatee use. Allows the scheduler library to load an HTTP authenticatee module providing custom mechanisms for authentication. Review: https://reviews.apache.org/r/62594/
46,143
10.10.2017 14:58:49
25,200
de7beab4fc9ea71d7a9f52f1ce33463f6b76b352
Fixed CHANGELOG for 1.4.0 and 1.4.1. Removed the WIP from 1.4.0 CHANGELOG since it was already released. Made sure 1.4.1 CHANGELOG contains entries that are in the CHANGELOG of 1.4.x branch.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -21,8 +21,14 @@ Release Notes - Mesos - Version 1.4.1 (WIP)\n-------------------------------------------\n* This is a bug fix release.\n+**Bug\n+ * [MESOS-7873] - Expose `ExecutorInfo.ContainerInfo.NetworkInfo` ...
C++
Apache License 2.0
apache/mesos
Fixed CHANGELOG for 1.4.0 and 1.4.1. Removed the WIP from 1.4.0 CHANGELOG since it was already released. Made sure 1.4.1 CHANGELOG contains entries that are in the CHANGELOG of 1.4.x branch.
46,103
11.10.2017 12:06:07
-7,200
0908303142f641c1697547eb7f8e82a205d6c362
Installed newer cmake version in mesos-tidy Docker image. As of '85bc58196fc2bcb94e8e3193dacf5cc8a2af4301' the Mesos cmake setup requires at least cmake-3.7.0. This patch install cmake-3.8.2 in the mesos-tidy Docker image so we can build Mesos in that image as well. Review:
[ { "change_type": "MODIFY", "old_path": "support/mesos-tidy/Dockerfile", "new_path": "support/mesos-tidy/Dockerfile", "diff": "@@ -24,11 +24,19 @@ RUN apt-get update\nRUN apt-get install -qy --no-install-recommends \\\nbuild-essential \\\nca-certificates \\\n- cmake \\\n+ curl \\\ngit \\\npython-dev ...
C++
Apache License 2.0
apache/mesos
Installed newer cmake version in mesos-tidy Docker image. As of '85bc58196fc2bcb94e8e3193dacf5cc8a2af4301' the Mesos cmake setup requires at least cmake-3.7.0. This patch install cmake-3.8.2 in the mesos-tidy Docker image so we can build Mesos in that image as well. Review: https://reviews.apache.org/r/62417/
46,085
11.10.2017 11:37:59
25,200
f1ecdd0f6d33383a0888a8c54a42713cc9cfea5c
Added FORTH-ICS 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": "@@ -43,6 +43,7 @@ layout: documentation\n* [eBay](http://www.ebay.com)\n* [Ericsson](http://www.ericsson.com/)\n* [Football Radar](http://www.footballradar.com)\n+* [FORTH-ICS](https:/...
C++
Apache License 2.0
apache/mesos
Added FORTH-ICS to powered-by-mesos.md. This closes #241
46,114
11.10.2017 14:26:30
25,200
1cf13ee96d5411580b325020440624dff357a2ed
Windows: Added `intptr_t` constructor for `WindowsFD`. This is the inverse of the existing explicit cast required for the socket type used by libevent on Windows. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/fd.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/fd.hpp", "diff": "@@ -81,6 +81,11 @@ public:\nWindowsFD(SOCKET socket) : type_(FD_SOCKET), socket_(socket) {}\n+ // On Windows, libevent's `evutil_socket_t` i...
C++
Apache License 2.0
apache/mesos
Windows: Added `intptr_t` constructor for `WindowsFD`. This is the inverse of the existing explicit cast required for the socket type used by libevent on Windows. Review: https://reviews.apache.org/r/62509/
46,177
11.10.2017 14:48:02
25,200
e76759a366c60f4525f38bd10739066f7ce67fa0
CMake: Added documentation about `CMAKE_SSL_FORWARD_ARGS`. This is a variable that is used by Libevent and cURL during configuration time. The variable is used to syncronize the options used to build/link OpenSSL between 3rdparty dependencies.
[ { "change_type": "MODIFY", "old_path": "docs/cmake.md", "new_path": "docs/cmake.md", "diff": "@@ -309,6 +309,12 @@ CMake project. If either the `CONFIGURE_COMMAND` or `BUILD_COMMAND` arguments of\nThis variable ensures that compilation configurations are properly propagated to\nthird-party dependenc...
C++
Apache License 2.0
apache/mesos
CMake: Added documentation about `CMAKE_SSL_FORWARD_ARGS`. This is a variable that is used by Libevent and cURL during configuration time. The variable is used to syncronize the options used to build/link OpenSSL between 3rdparty dependencies.
46,082
11.10.2017 18:51:20
25,200
4b13bbfed5a6e826057ca63a8a7afca897d051f4
Used variadic templates for protobuf handlers. This simplifies code of `ProtobufProcess` by replacing it with variadic templates implementation. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/protobuf.hpp", "new_path": "3rdparty/libprocess/include/process/protobuf.hpp", "diff": "@@ -128,7 +128,6 @@ protected:\nsend(from, message);\n}\n- // TODO(vinod): Use ENUM_PARAMS for the overloads.\n// Installs that take the...
C++
Apache License 2.0
apache/mesos
Used variadic templates for protobuf handlers. This simplifies code of `ProtobufProcess` by replacing it with variadic templates implementation. Review: https://reviews.apache.org/r/62898/
46,082
11.10.2017 18:59:46
25,200
a4eed9235492f7d90fe80890a308707ab3d7ed38
Enabled protobuf arenas code generation. This adds `option cc_enable_arenas = true;` to those protobuf files that have messages used within `install` handlers. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authentication/authentication.proto", "new_path": "include/mesos/authentication/authentication.proto", "diff": "@@ -18,6 +18,8 @@ syntax = \"proto2\";\npackage mesos.internal;\n+option cc_enable_arenas = true;\n+\noption java_package = \"org.apac...
C++
Apache License 2.0
apache/mesos
Enabled protobuf arenas code generation. This adds `option cc_enable_arenas = true;` to those protobuf files that have messages used within `install` handlers. Review: https://reviews.apache.org/r/62900/
46,056
11.10.2017 15:14:24
25,200
e4f982155deccbaaf42e881c1fdfc6d92fca5600
Fixed flaky ROOT_DynamicAddDelofCniConfig test. Due to clock manipulation, a TASK_RUNNING status update could have been resent by the status update manager, triggering an expectation failure. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/cni_isolator_tests.cpp", "new_path": "src/tests/containerizer/cni_isolator_tests.cpp", "diff": "@@ -857,12 +857,20 @@ TEST_F(CniIsolatorTest, ROOT_DynamicAddDelofCniConfig)\nEXPECT_CALL(sched, statusUpdate(&driver, _))\n.WillOnce(Future...
C++
Apache License 2.0
apache/mesos
Fixed flaky ROOT_DynamicAddDelofCniConfig test. Due to clock manipulation, a TASK_RUNNING status update could have been resent by the status update manager, triggering an expectation failure. Review: https://reviews.apache.org/r/62913
46,057
12.10.2017 08:19:55
25,200
f43710eabb1c0956b368e9f855b26bebcf8cbc7a
Sent TASK_STARTING from the built-in executors. This gives schedulers more information about a tasks status, in particular it gives a better estimate of a tasks start time and helps differentiating between tasks stuck in TASK_STAGING and tasks stuck in TASK_STARTING. Review:
[ { "change_type": "MODIFY", "old_path": "docs/high-availability-framework-guide.md", "new_path": "docs/high-availability-framework-guide.md", "diff": "@@ -189,10 +189,11 @@ initial state and several possible terminal states:\nhas not yet started to run. In this state, the task's dependencies are\nfet...
C++
Apache License 2.0
apache/mesos
Sent TASK_STARTING from the built-in executors. This gives schedulers more information about a tasks status, in particular it gives a better estimate of a tasks start time and helps differentiating between tasks stuck in TASK_STAGING and tasks stuck in TASK_STARTING. Review: https://reviews.apache.org/r/62212/
46,057
12.10.2017 08:25:27
25,200
f7cf56c0bc82adb1189f8b384c178025587bb755
Added to changelog and to upgrade guidelines. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -7,6 +7,8 @@ Deprecations/Removals:\nAdditional API Changes:\n* [MESOS-7660] `Filter::refuse_seconds` is now capped to 31536000\nseconds (365 days).\n+ * [MESOS-7941] Built-in executors will now send a TASK_STAR...
C++
Apache License 2.0
apache/mesos
Added MESOS-7941 to changelog and to upgrade guidelines. Review: https://reviews.apache.org/r/62897/
46,078
12.10.2017 11:03:55
25,200
615f1f0bcdfab4df264f37d2ebf528da2e6aa426
Fixed flaky test SharedPersistentVolumeRescindOnDestroy. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/persistent_volume_tests.cpp", "new_path": "src/tests/persistent_volume_tests.cpp", "diff": "@@ -1121,6 +1121,11 @@ TEST_P(PersistentVolumeTest, SharedPersistentVolumeRescindOnDestroy)\nFilters filters;\nfilters.set_refuse_seconds(0);\n+ // We don't c...
C++
Apache License 2.0
apache/mesos
Fixed flaky test SharedPersistentVolumeRescindOnDestroy. Review: https://reviews.apache.org/r/62944
46,082
12.10.2017 14:45:26
25,200
834053d976e2db18c16e1612b3b723fe1c8ca1ac
Used protobuf arenas for creating messages in ProtobufProcess. When passing const protobuf messages and fields, we can allocate the protobuf message within an arena. Arenas dramatically reduce the number of malloc's involved. The use of arenas also improves the cache locality of the protobuf memory. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/protobuf.hpp", "new_path": "3rdparty/libprocess/include/process/protobuf.hpp", "diff": "#include <glog/logging.h>\n+#include <google/protobuf/arena.h>\n#include <google/protobuf/message.h>\n#include <google/protobuf/repeated...
C++
Apache License 2.0
apache/mesos
Used protobuf arenas for creating messages in ProtobufProcess. When passing const protobuf messages and fields, we can allocate the protobuf message within an arena. Arenas dramatically reduce the number of malloc's involved. The use of arenas also improves the cache locality of the protobuf memory. Review: https://r...
46,129
12.10.2017 16:03:53
25,200
7305855320f0c093f3bfb3bd07a37962f64fbbd2
Updated doc for the changes of pid namespace sharing. Review:
[ { "change_type": "MODIFY", "old_path": "docs/isolators/namespaces-pid.md", "new_path": "docs/isolators/namespaces-pid.md", "diff": "@@ -27,3 +27,22 @@ to freezing cgroups under OOM conditions.\n`/proc` will be mounted for containers so tools such as `ps` will work\ncorrectly.\n+\n+To enable the PID ...
C++
Apache License 2.0
apache/mesos
Updated doc for the changes of pid namespace sharing. Review: https://reviews.apache.org/r/61675/
46,159
12.10.2017 17:45:35
25,200
8186f032d43ff5d969eb0117921c67e6d32420cd
Added doc for cgroups/cpu isolator. Review:
[ { "change_type": "MODIFY", "old_path": "docs/mesos-containerizer.md", "new_path": "docs/mesos-containerizer.md", "diff": "@@ -29,7 +29,7 @@ Mesos supports the following built-in isolators.\n- [environment\\_secret](secrets.md#environment-based-secrets)\n- appc/runtime\n- cgroups/blkio\n-- cgroups/cp...
C++
Apache License 2.0
apache/mesos
Added doc for cgroups/cpu isolator. Review: https://reviews.apache.org/r/62962/
46,129
12.10.2017 17:15:12
25,200
ca69c77fc49903d7c913b0b5cd6198f811636253
Added Linux Namespaces semantic doc. This patch adds a table showing the current semantics that the linux launcher supports namespaces for top level and nested container. Review:
[ { "change_type": "MODIFY", "old_path": "docs/containerizer-internals.md", "new_path": "docs/containerizer-internals.md", "diff": "@@ -114,14 +114,65 @@ Launcher is responsible for forking/destroying containers.\n* Signals the child process to continue (exec'ing) by writing a\ncharacter to the write ...
C++
Apache License 2.0
apache/mesos
Added Linux Namespaces semantic doc. This patch adds a table showing the current semantics that the linux launcher supports namespaces for top level and nested container. Review: https://reviews.apache.org/r/54073/