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,181
14.03.2017 11:53:57
25,200
33d1acfae2a8a98eef4c5888c08a5611987c02f2
Don't mark a value parameter `const`. This has no effect on the function's signature. Spotted using the "readability-avoid-const-params-in-decls" clang-tidy check. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/fetcher_cache_tests.cpp", "new_path": "src/tests/fetcher_cache_tests.cpp", "diff": "@@ -142,7 +142,7 @@ protected:\n// recovery testing.\nvoid stopSlave();\n- Try<Task> launchTask(const CommandInfo& commandInfo, const size_t taskIndex);\n+ Try<Task> ...
C++
Apache License 2.0
apache/mesos
Don't mark a value parameter `const`. This has no effect on the function's signature. Spotted using the "readability-avoid-const-params-in-decls" clang-tidy check. Review: https://reviews.apache.org/r/58041
46,181
18.03.2017 19:58:30
25,200
a5b3c49a7048a47e8a68b619580ce06fd183a212
Cleaned up usage of namespace-qualified identifiers. Review:
[ { "change_type": "MODIFY", "old_path": "src/authentication/executor/jwt_secret_generator.cpp", "new_path": "src/authentication/executor/jwt_secret_generator.cpp", "diff": "@@ -35,7 +35,7 @@ using process::http::authentication::Principal;\nusing std::string;\n-JWTSecretGenerator::JWTSecretGenerator(c...
C++
Apache License 2.0
apache/mesos
Cleaned up usage of namespace-qualified identifiers. Review: https://reviews.apache.org/r/58043
46,181
18.03.2017 19:58:47
25,200
38dffd735649a43317c01673a3184f4fabf2229f
Removed unused "using" statements. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/network/cni/plugins/port_mapper/port_mapper.cpp", "new_path": "src/slave/containerizer/mesos/isolators/network/cni/plugins/port_mapper/port_mapper.cpp", "diff": "@@ -30,7 +30,6 @@ using std::cerr;\nusing std::endl;\nusin...
C++
Apache License 2.0
apache/mesos
Removed unused "using" statements. Review: https://reviews.apache.org/r/58044
46,181
30.03.2017 09:40:44
25,200
631ed6412b3f14f0bf117282be203f6cc71d1d24
Adjust `using` style in a few places. When an identifier is used many times in an implementation file, we typically add a `using` statement for that identifier. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/build.cpp", "new_path": "src/common/build.cpp", "diff": "#include \"common/build_config.hpp\"\n#endif // USE_CMAKE_BUILD_CONFIG\n+using std::string;\n+\nnamespace mesos {\nnamespace internal {\nnamespace build {\n-const std::string DATE = BUILD_DATE...
C++
Apache License 2.0
apache/mesos
Adjust `using` style in a few places. When an identifier is used many times in an implementation file, we typically add a `using` statement for that identifier. Review: https://reviews.apache.org/r/58084
46,128
04.04.2017 10:43:04
25,200
c2ce0cc3f2c41e0c57ba30c8be06c1faaa324a2e
Fixed the signatures of some test helpers. This patch fixes some test helpers for 'CombinedAuthenticatorTest.MultipleAuthenticators' to accept their parameters as const ref. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/http_authentication_tests.cpp", "new_path": "src/tests/http_authentication_tests.cpp", "diff": "@@ -278,7 +278,7 @@ private:\n};\n-AuthenticationResult createUnauthorized(MockAuthenticator& authenticator)\n+AuthenticationResult createUnauthorized(con...
C++
Apache License 2.0
apache/mesos
Fixed the signatures of some test helpers. This patch fixes some test helpers for 'CombinedAuthenticatorTest.MultipleAuthenticators' to accept their parameters as const ref. Review: https://reviews.apache.org/r/58174/
46,128
04.04.2017 10:43:10
25,200
61fe4732d3d8eeaf9ee10c15314c91ebc4cf333f
Fixed an iterator bug in 'CombinedAuthenticator::authenticate()'. This patch updates the `loop()` logic within `CombinedAuthenticatorProcess::authenticate()` to fix a bug in which an iterator is incremented past the end of its vector. Review:
[ { "change_type": "MODIFY", "old_path": "src/authentication/http/combined_authenticator.cpp", "new_path": "src/authentication/http/combined_authenticator.cpp", "diff": "@@ -265,7 +265,7 @@ Future<AuthenticationResult> CombinedAuthenticatorProcess::authenticate(\nconst Request& request)\n{\n// Variabl...
C++
Apache License 2.0
apache/mesos
Fixed an iterator bug in 'CombinedAuthenticator::authenticate()'. This patch updates the `loop()` logic within `CombinedAuthenticatorProcess::authenticate()` to fix a bug in which an iterator is incremented past the end of its vector. Review: https://reviews.apache.org/r/58175/
46,188
04.04.2017 15:54:20
25,200
e670ce7a5f249e52928a7959ef1e5c221a53413f
Fixed some consistency issues in the type utils.
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -99,6 +99,14 @@ inline bool operator==(const OfferID& left, const OfferID& right)\n}\n+inline bool operator==(\n+ const ResourceProviderID& left,\n+ const ResourceProviderID...
C++
Apache License 2.0
apache/mesos
Fixed some consistency issues in the type utils.
46,188
31.03.2017 17:10:13
25,200
ea09704c2db6f6600688c1e2af8fe7999a5e6672
Added resource provider API protobuf template. Resource provider API will be Event/Call based, similar to the scheduler or executor API. Resource providers will use this API to interact with the master, sending Calls to the master and receiving Event from the master. Review:
[ { "change_type": "ADD", "old_path": null, "new_path": "include/mesos/resource_provider/resource_provider.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 infor...
C++
Apache License 2.0
apache/mesos
Added resource provider API protobuf template. Resource provider API will be Event/Call based, similar to the scheduler or executor API. Resource providers will use this API to interact with the master, sending Calls to the master and receiving Event from the master. Review: https://reviews.apache.org/r/58133
46,136
04.04.2017 15:01:03
25,200
476c2f2d490703cb1e4a1ca6671e44161173482d
Linked task group doc from home.md. Review:
[ { "change_type": "MODIFY", "old_path": "docs/home.md", "new_path": "docs/home.md", "diff": "@@ -36,6 +36,7 @@ layout: documentation\n* [Operational Guide](operational-guide.md)\n* [Roles](roles.md)\n* [SSL](ssl.md) for enabling and enforcing SSL communication.\n+* [Nested Container and Task Group (P...
C++
Apache License 2.0
apache/mesos
Linked task group doc from home.md. Review: https://reviews.apache.org/r/58188
46,114
03.04.2017 11:57:32
25,200
176c09d8debb64e98fed14ef499f9205132b9180
Windows: Stout: Adapted `os::killtree` to terminate job objects. On Windows, a "process tree" is in fact a job object. Thus, the implementation of `os::killtree` on Windows is an adapter which terminates the job object corresponding to the process group represented by the given PID. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/killtree.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/killtree.hpp", "diff": "#include <stout/os.hpp>\n-#include <stout/os/pstree.hpp>\n+#include <stout/os.hpp> // For `kill_job`.\n+#include <stout/try.hpp>...
C++
Apache License 2.0
apache/mesos
Windows: Stout: Adapted `os::killtree` to terminate job objects. On Windows, a "process tree" is in fact a job object. Thus, the implementation of `os::killtree` on Windows is an adapter which terminates the job object corresponding to the process group represented by the given PID. Review: https://reviews.apache.org...
46,114
03.04.2017 13:38:17
25,200
cb23605674027cd4c7ee0a877b8af31ca01c85e9
Windows: Combined Posix/Windows-Launcher into SubprocessLauncher. This commit renames the `PosixLauncher` into the SubprocessLauncher` and deletes the trivially derived class `WindowsLauncher`. With the improved job object support in stout/libprocess, the same launcher is now suitable for both POSIX systems and Window...
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -226,7 +226,7 @@ Try<MesosContainerizer*> MesosContainerizer::create(\nif (flags_.launcher == \"linux\") {\nreturn LinuxLauncher::creat...
C++
Apache License 2.0
apache/mesos
Windows: Combined Posix/Windows-Launcher into SubprocessLauncher. This commit renames the `PosixLauncher` into the SubprocessLauncher` and deletes the trivially derived class `WindowsLauncher`. With the improved job object support in stout/libprocess, the same launcher is now suitable for both POSIX systems and Windo...
46,114
03.04.2017 14:20:52
25,200
0f812d6816db80e2e1fe0a38f73e7d1d45d19fe2
Refactored command executor to unify launch paths. This commit reverses the file split done in Since `launchTaskPosix` and `launchTaskWindows` were reconciled using `Subprocess`, the files were pulled back into just `src/launcher/executor.cpp` with `launchTaskSubprocess`. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1024,9 +1024,6 @@ libmesos_no_3rdparty_la_SOURCES += \\\nhook/manager.hpp \\\ninternal/devolve.hpp \\\ninternal/evolve.hpp \\\n- launcher/executor.hpp \\\n- launcher/posix/executor.hpp \\\n- launche...
C++
Apache License 2.0
apache/mesos
Refactored command executor to unify launch paths. This commit reverses the file split done in e821978. Since `launchTaskPosix` and `launchTaskWindows` were reconciled using `Subprocess`, the files were pulled back into just `src/launcher/executor.cpp` with `launchTaskSubprocess`. Review: https://reviews.apache.org/r...
46,177
03.04.2017 16:02:55
25,200
396f82a58364231897cd8c81b1a8b17c1915b73f
Fixed comment in subprocess.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/subprocess.cpp", "new_path": "3rdparty/libprocess/src/subprocess.cpp", "diff": "@@ -272,7 +272,7 @@ static void cleanup(\n// NOTE: On Windows, components of the `path` and `argv` that need to be quoted\n// are expected to have been quot...
C++
Apache License 2.0
apache/mesos
Fixed comment in subprocess.
46,114
03.04.2017 16:04:37
25,200
718d3c9473c29202c08263fd379ce08d61297075
Stout: Added stringify for std::wstring. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/stringify.hpp", "new_path": "3rdparty/stout/include/stout/stringify.hpp", "diff": "#include <string>\n#include <vector>\n+#ifdef __WINDOWS__\n+// `codecvt` is not available on older versions of Linux. Until it is needed on\n+// oth...
C++
Apache License 2.0
apache/mesos
Stout: Added stringify for std::wstring. Review: https://reviews.apache.org/r/58125/
46,114
04.04.2017 13:25:09
25,200
bce6c05c7c84e4b93881dd9780fe724197f62520
Windows: Stout: Reimplemented `stringify_args`. This was an unused function that ended up being the correct place to implement proper `argv` concatenation and escaping. It returns a `std::wstring` for use (speifically) by `::CreateProcessW`. This brings us a bit closer to Unicode support within Mesos. 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": "@@ -170,22 +170,69 @@ inline int execvpe(const char* file, char* const argv[], char* const envp[])\n// Concatenates multiple command-l...
C++
Apache License 2.0
apache/mesos
Windows: Stout: Reimplemented `stringify_args`. This was an unused function that ended up being the correct place to implement proper `argv` concatenation and escaping. It returns a `std::wstring` for use (speifically) by `::CreateProcessW`. This brings us a bit closer to Unicode support within Mesos. Review: https...
46,114
04.04.2017 14:03:22
25,200
bab04e1409dea7e151f59cd268fdeadb24480439
Windows: Updated use of `getSystemEnvironment`. The signature of `process::internal::getSystemEnvironment()` was changed as part of which rewrote the Windows subprocess helpers to use (and return) strings. This updates the containerizers' usages of this function. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/docker.cpp", "new_path": "src/slave/containerizer/docker.cpp", "diff": "@@ -1429,11 +1429,12 @@ Future<pid_t> DockerContainerizerProcess::launchExecutorProcess(\n// be overwritten if they are specified by the framework. This might cause...
C++
Apache License 2.0
apache/mesos
Windows: Updated use of `getSystemEnvironment`. The signature of `process::internal::getSystemEnvironment()` was changed as part of https://reviews.apache.org/r/58127/ which rewrote the Windows subprocess helpers to use (and return) UTF-16 strings. This updates the containerizers' usages of this function. Review: ht...
46,114
04.04.2017 14:29:18
25,200
b9d0893c9aea8072c6634627f82da8c29454a395
Fixed HealthyTaskNonShell test on Windows. Instead of using `TRUE_COMMAND`, we needed to use `add_arguments` for each argument to avoid smashing the set of arguments into one string. That is, we cannot execute `"cmd /c exit 0"`, we have to execute `"cmd"` with arguments `"cmd", "/c", "exit 0"`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/health_check_tests.cpp", "new_path": "src/tests/health_check_tests.cpp", "diff": "@@ -667,8 +667,15 @@ TEST_F(HealthCheckTest, HealthyTaskNonShell)\nCommandInfo command;\ncommand.set_shell(false);\n- command.set_value(TRUE_COMMAND);\n- command.add_ar...
C++
Apache License 2.0
apache/mesos
Fixed HealthyTaskNonShell test on Windows. Instead of using `TRUE_COMMAND`, we needed to use `add_arguments` for each argument to avoid smashing the set of arguments into one string. That is, we cannot execute `"cmd /c exit 0"`, we have to execute `"cmd"` with arguments `"cmd", "/c", "exit 0"`. Review: https://review...
46,114
04.04.2017 14:15:59
25,200
7f04cf886fc2ed59414bf0056a2f351959a2d1f8
Stout: Removed `TRUE_COMMAND`. This macro was not working because they are semantically different: a single binary versus a binary with arguments. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/gtest.hpp", "new_path": "3rdparty/stout/include/stout/gtest.hpp", "diff": "@@ -230,13 +230,6 @@ template <typename T1, typename T2>\n#endif // __WINDOWS__\n-#ifndef __WINDOWS__\n-constexpr char TRUE_COMMAND[] = \"true\";\n-#else\n-...
C++
Apache License 2.0
apache/mesos
Stout: Removed `TRUE_COMMAND`. This macro was not working because they are semantically different: a single binary versus a binary with arguments. Review: https://reviews.apache.org/r/58160/
46,121
06.04.2017 13:54:17
-7,200
72c5ee2252cdab40ccda7105709aac6d8d820ab5
Updated ldcache flags to 32bit width. Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/ldcache.cpp", "new_path": "src/linux/ldcache.cpp", "diff": "@@ -117,7 +117,7 @@ struct HeaderNew\nstruct EntryNew\n{\n- int16_t flags; // Flags bits determine arch and library type.\n+ int32_t flags; // Flags bits determine arch and library type.\nui...
C++
Apache License 2.0
apache/mesos
Updated ldcache flags to 32bit width. Review: https://reviews.apache.org/r/55065/
46,181
06.04.2017 10:43:32
25,200
8b92c9702dcbfef42b63078fbf1df1e9160ba3a3
Fixed compilation error on Linux with recent glibc. Recent versions of glibc deprecate the implicit inclusion of <sys/sysmacros.h> via <sys/types.h>, so we should now include <sys/sysmacros.h> directly when necessary. Review:
[ { "change_type": "MODIFY", "old_path": "src/linux/fs.cpp", "new_path": "src/linux/fs.cpp", "diff": "#include <linux/limits.h>\n#include <linux/unistd.h>\n+#include <sys/sysmacros.h>\n+\n#include <list>\n#include <set>\n#include <utility>\n" }, { "change_type": "MODIFY", "old_path": "src/...
C++
Apache License 2.0
apache/mesos
Fixed compilation error on Linux with recent glibc. Recent versions of glibc deprecate the implicit inclusion of <sys/sysmacros.h> via <sys/types.h>, so we should now include <sys/sysmacros.h> directly when necessary. Review: https://reviews.apache.org/r/58245
46,066
06.04.2017 16:30:57
25,200
26ce6b59532beecd487bd30c5e2b6c2f8566b34c
Added a 'std::hash' specialization for 'ResourceProviderID'. This makes it possible to use 'ResourceProviderID' as key in a 'std::hashmap'. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -596,6 +596,22 @@ struct hash<mesos::MachineID>\n}\n};\n+\n+template <>\n+struct hash<mesos::ResourceProviderID>\n+{\n+ typedef size_t result_type;\n+\n+ typedef mesos::Reso...
C++
Apache License 2.0
apache/mesos
Added a 'std::hash' specialization for 'ResourceProviderID'. This makes it possible to use 'ResourceProviderID' as key in a 'std::hashmap'. Review: https://reviews.apache.org/r/58201/
46,082
06.04.2017 16:35:11
25,200
c52f5bf348f9deca587359d4af80d7b325b6728f
Fixed network isolator crash when network interface is not found. It's not an error if network interface cannot be found, and None is returned by lookup functions as a result in this case. This fix ensures that None is properly handled, when composing an error messge in network isolator. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.cpp", "new_path": "src/slave/containerizer/mesos/isolators/network/port_mapping.cpp", "diff": "@@ -1553,7 +1553,8 @@ Try<Isolator*> PortMappingIsolatorProcess::create(const Flags& flags)\n// eth0 is ...
C++
Apache License 2.0
apache/mesos
Fixed network isolator crash when network interface is not found. It's not an error if network interface cannot be found, and None is returned by lookup functions as a result in this case. This fix ensures that None is properly handled, when composing an error messge in network isolator. Review: https://reviews.apach...
46,128
06.04.2017 17:15:32
25,200
e033c1a681f8867f97c70b825cae5b3740f34c9a
Added 'shutdownExecutor' methods to the mock agent. This patch adds both mocked and unmocked `shutdownExecutor` methods to the mock agent to facilitate testing of failure scenarios related to executor secret generation. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.hpp", "new_path": "src/slave/slave.hpp", "diff": "@@ -172,7 +172,8 @@ public:\nconst process::UPID& from,\nconst KillTaskMessage& killTaskMessage);\n- void shutdownExecutor(\n+ // Made 'virtual' for Slave mocking.\n+ virtual void shutdownExecut...
C++
Apache License 2.0
apache/mesos
Added 'shutdownExecutor' methods to the mock agent. This patch adds both mocked and unmocked `shutdownExecutor` methods to the mock agent to facilitate testing of failure scenarios related to executor secret generation. Review: https://reviews.apache.org/r/57924/
46,128
06.04.2017 17:16:35
25,200
9845086949f5ab6442228ca8176f977fa0bcba8d
Added further tests for executor secret generation. This patch adds two further tests for executor secret generation, `SlaveTest.RunTaskGroupReferenceTypeSecret` and `SlaveTest.RunTaskGroupFailedSecretAfterShutdown`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -5523,6 +5523,450 @@ TEST_F(SlaveTest, RunTaskGroupInvalidExecutorSecret)\n}\n+// This test verifies that TASK_FAILED updates are sent correctly for all the\n+// tasks in a task g...
C++
Apache License 2.0
apache/mesos
Added further tests for executor secret generation. This patch adds two further tests for executor secret generation, `SlaveTest.RunTaskGroupReferenceTypeSecret` and `SlaveTest.RunTaskGroupFailedSecretAfterShutdown`. Review: https://reviews.apache.org/r/57925/
46,128
06.04.2017 17:16:41
25,200
7dd3b6d157250895d09e44d4f06b003542b5e36d
Added executor authentication to the docs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/authentication.md", "new_path": "docs/authentication.md", "diff": "@@ -94,7 +94,14 @@ Mesos master and agent processes. For more information, refer to the\nto make HTTP requests to the read-write HTTP endpoints that support\nauthentication. If `false` (th...
C++
Apache License 2.0
apache/mesos
Added executor authentication to the docs. Review: https://reviews.apache.org/r/57667/
46,128
06.04.2017 17:16:45
25,200
764fa2cbe5439a509e5eb875aafcace47dc07ccb
Updated documentation for multiple HTTP authenticators. Review:
[ { "change_type": "MODIFY", "old_path": "docs/authentication.md", "new_path": "docs/authentication.md", "diff": "@@ -111,6 +111,19 @@ Mesos master and agent processes. For more information, refer to the\nformat) of accepted credentials. This may be optional depending on the\nauthenticator being used....
C++
Apache License 2.0
apache/mesos
Updated documentation for multiple HTTP authenticators. Review: https://reviews.apache.org/r/57663/
46,128
06.04.2017 17:53:44
25,200
5d77c5bcb6d6110e2bf7dcd07a01487ef0a6fd65
Fixed the ordering of the stream operator overload for RLimitInfo. This patch moves the declaration of the `operator<<` overload for the `RLimitInfo` protobuf message to be consistent with the ordering of its definition, which is in alphabetical order. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/type_utils.hpp", "new_path": "include/mesos/type_utils.hpp", "diff": "@@ -309,6 +309,9 @@ std::ostream& operator<<(\nconst ResourceProviderID& resourceProviderId);\n+std::ostream& operator<<(std::ostream& stream, const RLimitInfo& rlimitInfo);\n+...
C++
Apache License 2.0
apache/mesos
Fixed the ordering of the stream operator overload for RLimitInfo. This patch moves the declaration of the `operator<<` overload for the `RLimitInfo` protobuf message to be consistent with the ordering of its definition, which is in alphabetical order. Review: https://reviews.apache.org/r/57933/
46,208
06.04.2017 17:42:35
25,200
f130a567d89cd1147d8c75d15963f88d3bb964e6
CLI: Renamed `lib/mesos` directory to `lib/cli`. This renames the `src/cli_new/lib/mesos` directory in order to avoid name clashes with the Python Scheduler/Executor module. Currently both modules are imported as `mesos`. This changes the CLI's name to `cli` instead. This will eventually allow the two modules to be m...
[ { "change_type": "MODIFY", "old_path": "src/cli_new/bin/config.py", "new_path": "src/cli_new/bin/config.py", "diff": "@@ -24,7 +24,7 @@ import json\nimport os\nimport sys\n-from mesos.exceptions import CLIException\n+from cli.exceptions import CLIException\n# There is no version module included in t...
C++
Apache License 2.0
apache/mesos
CLI: Renamed `lib/mesos` directory to `lib/cli`. This renames the `src/cli_new/lib/mesos` directory in order to avoid name clashes with the Python Scheduler/Executor module. Currently both modules are imported as `mesos`. This changes the CLI's name to `cli` instead. This will eventually allow the two modules to be...
46,172
06.04.2017 13:05:34
25,200
1cdd962bc0251f6afbf0bda86055a2f206474811
CLI: Renamed config.py to settings.py. This is being renamed due to the upcoming introduction of a "config" plugin for the new CLI. Review:
[ { "change_type": "MODIFY", "old_path": "src/cli_new/bin/main.py", "new_path": "src/cli_new/bin/main.py", "diff": "@@ -20,14 +20,14 @@ This is the main executable of the mesos-cli.\nimport sys\n-import config\n-import cli\n+import settings\n+import cli\nfrom cli.docopt import docopt\nfrom cli.excepti...
C++
Apache License 2.0
apache/mesos
CLI: Renamed config.py to settings.py. This is being renamed due to the upcoming introduction of a "config" plugin for the new CLI. Review: https://reviews.apache.org/r/57896/
46,083
06.04.2017 18:06:49
25,200
cf5e7f942d1a8651bcf169ebcd5e6057b28c5ebf
Windows: Fixed CopyFetcherPluginTest.FetchExistingFile. The copy fetcher was using a command that doesn't exist on Windows. This commit replaces `cp -a ...` with `cmd /c copy /Y ...`. Review:
[ { "change_type": "MODIFY", "old_path": "src/uri/fetchers/copy.cpp", "new_path": "src/uri/fetchers/copy.cpp", "diff": "@@ -95,10 +95,17 @@ Future<Nothing> CopyFetcherPlugin::fetch(\nVLOG(1) << \"Copying '\" << uri.path() << \"' to '\" << directory << \"'\";\n+#ifndef __WINDOWS__\n+ const char* copyCo...
C++
Apache License 2.0
apache/mesos
Windows: Fixed CopyFetcherPluginTest.FetchExistingFile. The copy fetcher was using a command that doesn't exist on Windows. This commit replaces `cp -a ...` with `cmd /c copy /Y ...`. Review: https://reviews.apache.org/r/58247/
46,181
10.04.2017 13:45:21
25,200
254d11e345734f6dee6fd864a5c23b05a7ea1cc0
Updated generated endpoint help.
[ { "change_type": "MODIFY", "old_path": "docs/endpoints/master/api/v1.md", "new_path": "docs/endpoints/master/api/v1.md", "diff": "@@ -12,7 +12,7 @@ layout: documentation\nEndpoint for API calls against the master.\n### DESCRIPTION ###\n-Returns 200 OK when the request was processed sucessfully.\n+Re...
C++
Apache License 2.0
apache/mesos
Updated generated endpoint help.
46,181
10.04.2017 13:45:35
25,200
15c524975bcfd1d42dc768ed41c55302b3dc7fb8
Improved endpoint description for `/state-summary`.
[ { "change_type": "MODIFY", "old_path": "docs/endpoints/master/state-summary.md", "new_path": "docs/endpoints/master/state-summary.md", "diff": "@@ -9,7 +9,7 @@ layout: documentation\n> /master/state-summary\n### TL;DR; ###\n-Summary of state of all tasks and registered frameworks in cluster.\n+Summa...
C++
Apache License 2.0
apache/mesos
Improved endpoint description for `/state-summary`.
46,181
10.04.2017 18:02:57
25,200
fab4c480ae978e0f509400c176f8a5503e157d33
Updated role validation for hierarchical roles. Role names can now contain forward slashes. Each component in a role name must now be validated separately. Review:
[ { "change_type": "MODIFY", "old_path": "src/common/roles.cpp", "new_path": "src/common/roles.cpp", "diff": "#include <vector>\n#include <string>\n+#include <stout/check.hpp>\n#include <stout/error.hpp>\n#include <stout/foreach.hpp>\n#include <stout/option.hpp>\n@@ -54,10 +55,9 @@ Try<vector<string>>...
C++
Apache License 2.0
apache/mesos
Updated role validation for hierarchical roles. Role names can now contain forward slashes. Each component in a role name must now be validated separately. Review: https://reviews.apache.org/r/57166/
46,181
10.03.2017 11:54:51
18,000
6cee2a143f9fc47661c33525646c9d4968f955c9
Cleaned up `strings::tokenize` and `strings::split`. The previous coding used a `while` loop condition that was invariant over the body of the loop; it is clearer to write this as an `if` statement instead. Also clarified comments. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/strings.hpp", "new_path": "3rdparty/stout/include/stout/strings.hpp", "diff": "@@ -129,23 +129,29 @@ inline std::string replace(\n}\n-// Tokenizes the string using the delimiters.\n-// Empty tokens will not be included in the resul...
C++
Apache License 2.0
apache/mesos
Cleaned up `strings::tokenize` and `strings::split`. The previous coding used a `while` loop condition that was invariant over the body of the loop; it is clearer to write this as an `if` statement instead. Also clarified comments. Review: https://reviews.apache.org/r/57513
46,181
10.03.2017 16:22:33
18,000
51678288d34fb128a47919bb2d83eebe1933a24d
Improved Stout string tests slightly. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/strings_tests.cpp", "new_path": "3rdparty/stout/tests/strings_tests.cpp", "diff": "@@ -434,24 +434,28 @@ TEST(StringsTest, SplitNWithMultipleDelims)\nTEST(StringsTest, Pairs)\n+{\n{\nmap<string, vector<string>> pairs = strings::pairs(\"one...
C++
Apache License 2.0
apache/mesos
Improved Stout string tests slightly. Review: https://reviews.apache.org/r/57529
46,181
16.03.2017 14:58:34
25,200
50583f15f88fe251266dfc4093389453c13dd9ad
Fixed typos in comments. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -1514,7 +1514,7 @@ void HierarchicalAllocatorProcess::__allocate()\nhashmap<SlaveID, Resources> offeredSharedResources;\n// Quota comes first a...
C++
Apache License 2.0
apache/mesos
Fixed typos in comments. Review: https://reviews.apache.org/r/57714
46,147
11.04.2017 12:12:22
25,200
9bf251bf6f67c4420ef2359b90706aeb1b32b524
Added test filters to libprocess tests. This commit builds upon the introduction of test filters to stout tests by using the same set of filters in libprocess tests. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/main.cpp", "new_path": "3rdparty/libprocess/src/tests/main.cpp", "diff": "#include <stout/os/signals.hpp>\n#endif // __WINDOWS__\n+#include <stout/tests/environment.hpp>\n+\n+using stout::internal::tests::Environment;\n+using stou...
C++
Apache License 2.0
apache/mesos
Added test filters to libprocess tests. This commit builds upon the introduction of test filters to stout tests by using the same set of filters in libprocess tests. Review: https://reviews.apache.org/r/57971/
46,147
11.04.2017 12:19:09
25,200
a1400f79ef1c7bebd33c81a4ad6ebb64af968d8b
Refactored Mesos tests `Environment` class on stout test changes. In order to support test filters on stout and libprocess, some of the logic in the Mesos test `Environment` class was moved into stout. This commit changes the Mesos test `Environment` to inherit the stout test `Environment`. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/environment.cpp", "new_path": "src/tests/environment.cpp", "diff": "@@ -78,6 +78,8 @@ using std::vector;\nusing process::Owned;\n+using stout::internal::tests::TestFilter;\n+\nnamespace mesos {\nnamespace internal {\nnamespace tests {\n@@ -86,32 +88,...
C++
Apache License 2.0
apache/mesos
Refactored Mesos tests `Environment` class on stout test changes. In order to support test filters on stout and libprocess, some of the logic in the Mesos test `Environment` class was moved into stout. This commit changes the Mesos test `Environment` to inherit the stout test `Environment`. Review: https://reviews.ap...
46,062
11.04.2017 15:07:21
25,200
7761066f6c58b58866c9433db858ef9c18c4670f
Fixed stout build by correctly including <stout/tests/environment.hpp>.
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/Makefile.am", "new_path": "3rdparty/stout/include/Makefile.am", "diff": "@@ -24,7 +24,6 @@ nobase_include_HEADERS = \\\nstout/duration.hpp \\\nstout/dynamiclibrary.hpp \\\nstout/elf.hpp \\\n- stout/environment.hpp \\\nstout/error.hpp \\\...
C++
Apache License 2.0
apache/mesos
Fixed stout build by correctly including <stout/tests/environment.hpp>.
46,172
11.04.2017 15:48:50
25,200
8e1596396184014d3a9acbe95ed8612fc18806d7
CLI: Added infrastructure for unit tests. This is the base to develop unit tests for the Mesos CLI. Review:
[ { "change_type": "MODIFY", "old_path": "src/cli_new/README.md", "new_path": "src/cli_new/README.md", "diff": "@@ -34,3 +34,30 @@ when you are done.\n**NOTE:** The virtual environment will also setup bash\nautocomplete for all `mesos` commands.\n+\n+\n+## Running tests\n+\n+To run the unit tests deve...
C++
Apache License 2.0
apache/mesos
CLI: Added infrastructure for unit tests. This is the base to develop unit tests for the Mesos CLI. Review: https://reviews.apache.org/r/58146/
46,188
07.04.2017 16:41:45
25,200
5590666384bcaab457a4d727de9a39818b84e2a3
Added a test to verify persistent volume mount points removal. This test is used to catch regression related to 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": "@@ -811,6 +811,83 @@ TEST_F(LinuxFilesystemIsolatorTest, ROOT_WorkDirMountNeeded)\n}\n+// This test tries to catch...
C++
Apache License 2.0
apache/mesos
Added a test to verify persistent volume mount points removal. This test is used to catch regression related to MESOS-7366. Review: https://reviews.apache.org/r/58280
46,177
11.04.2017 18:01:18
25,200
7c696994110ec4223edc1d83d4212b116157c8cf
Fixed some style issues in the style linting script. Running `support/mesos-style.py` on itself results in a couple dozen errors. This fixes a few minor whitespace/naming errors.
[ { "change_type": "MODIFY", "old_path": "support/mesos-style.py", "new_path": "support/mesos-style.py", "diff": "@@ -60,7 +60,7 @@ class LinterBase(object):\n'''\nexclude_file_regex = re.compile(self.exclude_files)\nsource_criteria_regex = re.compile(self.source_files)\n- for root, dirs, files in os....
C++
Apache License 2.0
apache/mesos
Fixed some style issues in the style linting script. Running `support/mesos-style.py` on itself results in a couple dozen errors. This fixes a few minor whitespace/naming errors.
46,157
12.04.2017 11:19:25
25,200
ad1323b0310711d617c0472ea0bdf007df0be34c
Fixed a typo in persistent volume doc. Review:
[ { "change_type": "MODIFY", "old_path": "docs/persistent-volume.md", "new_path": "docs/persistent-volume.md", "diff": "@@ -406,7 +406,7 @@ volumes:\ntime. For example, suppose a volume is created on an agent and then the\nagent's host machine is rebooted. When the agent registers with Mesos after\nth...
C++
Apache License 2.0
apache/mesos
Fixed a typo in persistent volume doc. Review: https://reviews.apache.org/r/58379/
46,143
12.04.2017 11:27:03
25,200
301347ce9ac573811a4a2c10a4cf7f3f3eb66302
Added and to CHANGELOG for 1.0.4. Also removed from 1.0.3 CHANGELOG which was incorrect.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -922,6 +922,16 @@ All Issues:\n* [MESOS-5929] - Total cluster resources on master Mesos UI should have better spacing.\n+Release Notes - Mesos - Version 1.0.4 (WIP)\n+-------------------------------------\n+* Th...
C++
Apache License 2.0
apache/mesos
Added MESOS-6606 and MESOS-7008 to CHANGELOG for 1.0.4. Also removed MESOS-7008 from 1.0.3 CHANGELOG which was incorrect.
46,210
13.04.2017 00:21:09
-7,200
05bfacbef300523942365f0b3435bb2972917806
Added to to CHANGELOG for 1.2.1.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -38,6 +38,7 @@ All Issues:\n* [MESOS-7264] - Possibly duplicate environment variables should not leak values to the sandbox.\n* [MESOS-7265] - Containerizer startup may cause sensitive data to leak into sandbox ...
C++
Apache License 2.0
apache/mesos
Added to MESOS-7383 to CHANGELOG for 1.2.1.
46,210
13.04.2017 00:21:42
-7,200
9d1707e3aec3abb889f1cc1621427224b7c0e0d6
Added to to CHANGELOG for 1.1.2.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -485,6 +485,7 @@ All Issues:\n* [MESOS-2537] - AC_ARG_ENABLED checks are broken.\n* [MESOS-7237] - Enabling cgroups_limit_swap can lead to \"invalid argument\" error.\n* [MESOS-7366] - Agent sandbox gc could acc...
C++
Apache License 2.0
apache/mesos
Added to MESOS-7383 to CHANGELOG for 1.1.2.
46,129
13.04.2017 09:26:00
25,200
d1015ffe35dfcd353d7dbbd187244586feddd6a7
Parameterized the existing alpine based test with more registries. Now we test alpine image from three registries: 1. docker hub. 2. quay.io. 3. alicloud. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "new_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "diff": "@@ -368,7 +368,9 @@ TEST_F(ProvisionerDockerLocalStoreTest, PullingSameImageSimutanuously)\n#ifdef __linux__\n-class Provisioner...
C++
Apache License 2.0
apache/mesos
Parameterized the existing alpine based test with more registries. Now we test alpine image from three registries: 1. docker hub. 2. quay.io. 3. alicloud. Review: https://reviews.apache.org/r/58329/
46,129
13.04.2017 09:26:08
25,200
f73f29bd3f1399847309fa801f6c3c0a022d57fc
Removed a duplicate unit test 'ROOT_INTERNET_CURL_Normalize'. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "new_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "diff": "@@ -540,81 +540,6 @@ TEST_P(ProvisionerDockerPullerTest, ROOT_INTERNET_CURL_SimpleCommand)\n}\n-// This test verifies the normal...
C++
Apache License 2.0
apache/mesos
Removed a duplicate unit test 'ROOT_INTERNET_CURL_Normalize'. Review: https://reviews.apache.org/r/58410/
46,128
13.04.2017 15:44:19
25,200
0b7a40102a33ab46c2794963d9a0133b9e76b880
Changed '--executor_secret_key' agent flag to accept a path. This patch changes the agent flag '--executor_secret_key' to accept a path, so that the secret will not be leaked in logs. Review:
[ { "change_type": "MODIFY", "old_path": "docs/configuration.md", "new_path": "docs/configuration.md", "diff": "@@ -1418,8 +1418,9 @@ in memory. (default: 150)\n--executor_secret_key=VALUE\n</td>\n<td>\n-The key used when generating executor secrets. This flag is only\n-available when Mesos is built w...
C++
Apache License 2.0
apache/mesos
Changed '--executor_secret_key' agent flag to accept a path. This patch changes the agent flag '--executor_secret_key' to accept a path, so that the secret will not be leaked in logs. Review: https://reviews.apache.org/r/58327/
46,128
13.04.2017 15:44:28
25,200
8bbe700411298b7b17219f9521820b9dcc7ef2c8
Updated tests to set '--executor_secret_key' as a path. This patch updates the test code to generate a secret key file and set the agent '--executor_secret_key' flag with its path. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.cpp", "new_path": "src/tests/mesos.cpp", "diff": "@@ -212,7 +212,25 @@ slave::Flags MesosTest::CreateSlaveFlags()\n// Executor authentication currently has SSL as a dependency, so we\n// cannot enable it if Mesos was not built with SSL support....
C++
Apache License 2.0
apache/mesos
Updated tests to set '--executor_secret_key' as a path. This patch updates the test code to generate a secret key file and set the agent '--executor_secret_key' flag with its path. Review: https://reviews.apache.org/r/58328/
46,128
13.04.2017 15:49:43
25,200
5f05bdca871ad8ecb1b2d23194e74804df746774
Updated 'HealthChecker' to authenticate with the agent. This patch updates the `HealthChecker` to permit initialization with an authorization header, which it will provide to the agent operator API for authentication when present. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/health_checker.cpp", "new_path": "src/checks/health_checker.cpp", "diff": "@@ -154,6 +154,7 @@ Try<Owned<HealthChecker>> HealthChecker::create(\nnamespaces,\nNone(),\nNone(),\n+ None(),\nfalse));\nreturn Owned<HealthChecker>(new HealthChecker(proces...
C++
Apache License 2.0
apache/mesos
Updated 'HealthChecker' to authenticate with the agent. This patch updates the `HealthChecker` to permit initialization with an authorization header, which it will provide to the agent operator API for authentication when present. Review: https://reviews.apache.org/r/58368/
46,128
13.04.2017 15:49:46
25,200
e8562faf1f8a624beeb56880c4a980d32f89533f
Updated 'Checker' to authenticate with agent operator API. This patch updates the `Checker` to permit initialization with an authorization header, which it will provide to the agent operator API for authentication when present. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker.cpp", "new_path": "src/checks/checker.cpp", "diff": "@@ -139,6 +139,7 @@ public:\nconst vector<string>& _namespaces,\nconst Option<ContainerID>& _taskContainerId,\nconst Option<http::URL>& _agentURL,\n+ const Option<string>& _authorizationHe...
C++
Apache License 2.0
apache/mesos
Updated 'Checker' to authenticate with agent operator API. This patch updates the `Checker` to permit initialization with an authorization header, which it will provide to the agent operator API for authentication when present. Review: https://reviews.apache.org/r/58373/
46,128
13.04.2017 15:49:49
25,200
8c18f62078a955288c7b0d893ec123d0397cba7e
Updated default executor to pass authorization header to checkers. This patch updates the default executor to pass the executor's authorization header to the `Checker` and `HealthChecker` libraries when an authentication token is present in the environment. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -121,7 +121,7 @@ public:\nconst ::URL& _agent,\nconst string& _sandboxDirectory,\nconst string& _launcherDirectory,\n- const Option<string>& _authenticationToken)\...
C++
Apache License 2.0
apache/mesos
Updated default executor to pass authorization header to checkers. This patch updates the default executor to pass the executor's authorization header to the `Checker` and `HealthChecker` libraries when an authentication token is present in the environment. Review: https://reviews.apache.org/r/58369/
46,128
13.04.2017 15:49:53
25,200
04be349fe0d87239455202dc1ef5e4f44f100861
Updated a health checker test to enable executor authentication. This patch updates the test `HealthCheckTest.DefaultExecutorCommandHealthCheck` to enable authentication on the agent operator API when Mesos has been built with SSL. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/health_check_tests.cpp", "new_path": "src/tests/health_check_tests.cpp", "diff": "@@ -2146,9 +2146,14 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(\nTry<Owned<cluster::Master>> master = StartMaster();\nASSERT_SOME(master);\n- // Disable AuthN on the agent.\nsl...
C++
Apache License 2.0
apache/mesos
Updated a health checker test to enable executor authentication. This patch updates the test `HealthCheckTest.DefaultExecutorCommandHealthCheck` to enable authentication on the agent operator API when Mesos has been built with SSL. Review: https://reviews.apache.org/r/58370/
46,128
13.04.2017 15:49:57
25,200
6cf2536c2710ca8f5545709688a481c93bd62f31
Updated check tests to authenticate with agent operator API. This patch updates the check tests to enable authentication on the agent operator API when Mesos has been built with SSL. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/check_tests.cpp", "new_path": "src/tests/check_tests.cpp", "diff": "@@ -878,7 +878,24 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(CommandExecutorCheckTest, HTTPCheckDelivered)\n// These are check tests with the default executor.\n-class DefaultExecutorCheckTe...
C++
Apache License 2.0
apache/mesos
Updated check tests to authenticate with agent operator API. This patch updates the check tests to enable authentication on the agent operator API when Mesos has been built with SSL. Review: https://reviews.apache.org/r/58374/
46,103
13.04.2017 14:35:34
25,200
5660d7633280bf592b12eeed88c4ebadb33f44c5
Made Path and Mount root optional in Resource.DiskInfo.Source. This commit is preparation for future changes where path or mount roots might be calculated lazily, i.e., not known early enough anymore. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1003,7 +1003,7 @@ message Resource {\n// can be shared and carved up as necessary between frameworks.\nmessage Path {\n// Path to the folder (e.g., /mnt/raid/disk0).\n- required ...
C++
Apache License 2.0
apache/mesos
Made Path and Mount root optional in Resource.DiskInfo.Source. This commit is preparation for future changes where path or mount roots might be calculated lazily, i.e., not known early enough anymore. Review: https://reviews.apache.org/r/57999/
46,204
13.04.2017 18:22:01
25,200
12e4812e360d553539a810512d08bef6434d48af
CLI: Added a Table abstraction. This utility class helps print information in left-aligned columns. This will be used by future plugins. NOTE: The original review was posted by Kevin Klues on behalf of Haris Choudhary ( ). Review:
[ { "change_type": "MODIFY", "old_path": "src/cli_new/lib/cli/util.py", "new_path": "src/cli_new/lib/cli/util.py", "diff": "@@ -21,6 +21,7 @@ A collection of helper functions used by the CLI and its Plugins.\nimport imp\nimport importlib\nimport os\n+import re\nimport textwrap\nfrom cli.exceptions imp...
C++
Apache License 2.0
apache/mesos
CLI: Added a Table abstraction. This utility class helps print information in left-aligned columns. This will be used by future plugins. NOTE: The original review was posted by Kevin Klues on behalf of Haris Choudhary ( https://reviews.apache.org/r/52948/ ). Review: https://reviews.apache.org/r/58381/
46,172
13.04.2017 18:40:00
25,200
e370b0997d8c20ffa205c8a9f58111051666b6d3
CLI: Added 'config' plugin. The 'config' plugin will be used to read, validate, and potentially write the Mesos CLI configuration file. This commit adds the skeleton for the plugin as well as a simple command to show the available plugins. Review:
[ { "change_type": "MODIFY", "old_path": "src/cli_new/bin/settings.py", "new_path": "src/cli_new/bin/settings.py", "diff": "@@ -40,7 +40,9 @@ except Exception:\nPROJECT_DIR = os.path.join(os.path.dirname(__file__), os.pardir)\n# The builtin plugins.\n-PLUGINS = []\n+PLUGINS = [\n+ os.path.join(PROJECT...
C++
Apache License 2.0
apache/mesos
CLI: Added 'config' plugin. The 'config' plugin will be used to read, validate, and potentially write the Mesos CLI configuration file. This commit adds the skeleton for the plugin as well as a simple command to show the available plugins. Review: https://reviews.apache.org/r/57952/
46,181
16.04.2017 12:57:30
25,200
d61db9157798628fb6c0b5367a5c42287a290bc2
Cleaned up operator HTTP API docs slightly.
[ { "change_type": "MODIFY", "old_path": "docs/operator-http-api.md", "new_path": "docs/operator-http-api.md", "diff": "@@ -282,7 +282,7 @@ Content-Type: application/json\n### GET_METRICS\nThis call gives the snapshot of current metrics to the end user. If `timeout` is\n-set in the call, it would be u...
C++
Apache License 2.0
apache/mesos
Cleaned up operator HTTP API docs slightly.
46,129
18.04.2017 07:57:23
-28,800
265754fae99baeffbafaf2383d396754ba6ca3ff
Fixed alicloud unit test for limited timeout. Alicloud server is in Asia. We parameterized the unit test `ROOT_INTERNET_CURL_SimpleCommand` to test different registry with unifed containerizer. Longer `executor_registration_timeout` should be given to make sure the image download is not impacted by network legacy. Revi...
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "new_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "diff": "#include <gmock/gmock.h>\n+#include <stout/duration.hpp>\n#include <stout/gtest.hpp>\n#include <stout/json.hpp>\n#include <stout...
C++
Apache License 2.0
apache/mesos
Fixed alicloud unit test for limited timeout. Alicloud server is in Asia. We parameterized the unit test `ROOT_INTERNET_CURL_SimpleCommand` to test different registry with unifed containerizer. Longer `executor_registration_timeout` should be given to make sure the image download is not impacted by network legacy. Re...
46,210
18.04.2017 16:45:52
-7,200
4c8c393d24edb48d96ecf3cf99d6ceb934b9aa62
Added to 1.1.2 CHANGELOG. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -486,6 +486,7 @@ All Issues:\n** Bug\n* [MESOS-2537] - AC_ARG_ENABLED checks are broken.\n* [MESOS-7237] - Enabling cgroups_limit_swap can lead to \"invalid argument\" error.\n+ * [MESOS-7265] - Containerizer st...
C++
Apache License 2.0
apache/mesos
Added MESOS-7265 to 1.1.2 CHANGELOG. Review: https://reviews.apache.org/r/58504/
46,210
18.04.2017 16:45:59
-7,200
73953546ebcbe8c42d9aabbcd28fc979a9622257
Added to 1.0.4 CHANGELOG. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -938,6 +938,7 @@ All Issues:\n* [MESOS-2537] - AC_ARG_ENABLED checks are broken\n* [MESOS-6606] - Reject optimized builds with libcxx before 3.9\n* [MESOS-7008] - Quota not recovered from registry in empty clust...
C++
Apache License 2.0
apache/mesos
Added MESOS-7265 to 1.0.4 CHANGELOG. Review: https://reviews.apache.org/r/58505/
46,128
18.04.2017 15:39:23
25,200
f253811c8cbaa4c4fc9c2b05b68e2b8161d35aa4
Added a TODO for implicit scheduler authorization. This patch adds a TODO to the master's HTTP scheduler API related to Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -882,6 +882,8 @@ Future<Response> Master::Http::scheduler(\nreturn BadRequest(\"Framework cannot be found\");\n}\n+ // TODO(greggomann): Move this implicit scheduler authorization\n+ // into ...
C++
Apache License 2.0
apache/mesos
Added a TODO for implicit scheduler authorization. This patch adds a TODO to the master's HTTP scheduler API related to MESOS-7399. Review: https://reviews.apache.org/r/58507/
46,128
18.04.2017 15:40:38
25,200
66bae6947d4bc49e60dedae7ff5d15a870e4b33d
Added a new overload of 'StartSlave'. This patch adds a new overload of the `StartSlave` test helper which accepts just a `MasterDetector`, an ID, and flags. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/mesos.cpp", "new_path": "src/tests/mesos.cpp", "diff": "@@ -345,6 +345,18 @@ Try<Owned<cluster::Slave>> MesosTest::StartSlave(\n}\n+Try<Owned<cluster::Slave>> MesosTest::StartSlave(\n+ MasterDetector* detector,\n+ const string& id,\n+ const Option<sl...
C++
Apache License 2.0
apache/mesos
Added a new overload of 'StartSlave'. This patch adds a new overload of the `StartSlave` test helper which accepts just a `MasterDetector`, an ID, and flags. Review: https://reviews.apache.org/r/58321/
46,128
18.04.2017 15:40:43
25,200
2f90b70b5a5ad75e430b15ec194a87949c090012
Added an upgrade test for executor authentication. This patch adds a new test, `SlaveTest.RestartSlaveRequireExecutorAuthentication`, which ensures that an executor which is launched with the '--executor_secret_key' flag set but the '--authenticate_http_executors' flag not set will be able to subscribe successfully aft...
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "@@ -5967,6 +5967,186 @@ TEST_F(SlaveTest, RunTaskGroupGenerateSecretAfterShutdown)\n}\n+#ifdef USE_SSL_SOCKET\n+// This test verifies that a default executor which is launched when s...
C++
Apache License 2.0
apache/mesos
Added an upgrade test for executor authentication. This patch adds a new test, `SlaveTest.RestartSlaveRequireExecutorAuthentication`, which ensures that an executor which is launched with the '--executor_secret_key' flag set but the '--authenticate_http_executors' flag not set will be able to subscribe successfully af...
46,209
19.04.2017 16:11:08
-28,800
4444a1610943fcc27069cf12cd916bdca3634ec9
Added Dangdang 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": "@@ -33,6 +33,7 @@ layout: documentation\n* [Criteo](http://www.criteo.com)\n* [CRP-Gabriel Lippmann](http://www.crpgl.lu)\n* [Daemon](http://www.daemon.com.au)\n+* [Dangdang](https://w...
C++
Apache License 2.0
apache/mesos
Added Dangdang to 'powered by mesos' list. This closes #207
46,055
19.04.2017 20:59:06
-28,800
253c89483cb6e31225a1f55449ff88c676030eec
Fixed the samples in multiple-disk.md. Review:
[ { "change_type": "MODIFY", "old_path": "docs/multiple-disk.md", "new_path": "docs/multiple-disk.md", "diff": "@@ -43,15 +43,13 @@ An example resources value for a root disk is shown below. Note that the\noperator could optionally specify a `role` for the disk, which would result in\n[statically rese...
C++
Apache License 2.0
apache/mesos
Fixed the samples in multiple-disk.md. Review: https://reviews.apache.org/r/58473/
46,089
21.04.2017 09:44:04
25,200
cfd37d0fa1067ee7b36c575e1259f6788ff53255
Marked decoder as failed when request/response parsing failed. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/decoder.hpp", "new_path": "3rdparty/libprocess/src/decoder.hpp", "diff": "@@ -205,6 +205,7 @@ private:\nhttp_parser_parse_url(decoder->url.data(), decoder->url.size(), 0, &url);\nif (parse_url != 0) {\n+ decoder->failure = true;\nreturn...
C++
Apache License 2.0
apache/mesos
Marked decoder as failed when request/response parsing failed. Review: https://reviews.apache.org/r/58580/
46,128
21.04.2017 10:45:09
25,200
6d06388039f060dd091f543c0f83a2a205b39ae7
Changed 'Principal.claims' to a hashmap. This patch changes the `claims` member of the authentication `Principal` struct from a `std::map` to a `hashmap`, so that we can make use of the `contains()` helper during authorization. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/authenticator.hpp", "new_path": "3rdparty/libprocess/include/process/authenticator.hpp", "diff": "@@ -47,7 +47,7 @@ struct Principal\nPrincipal(\nconst Option<std::string>& _value,\n- const std::map<std::string, std::string>...
C++
Apache License 2.0
apache/mesos
Changed 'Principal.claims' to a hashmap. This patch changes the `claims` member of the authentication `Principal` struct from a `std::map` to a `hashmap`, so that we can make use of the `contains()` helper during authorization. Review: https://reviews.apache.org/r/58251/
46,128
21.04.2017 10:45:13
25,200
02c2d6ff5ca6cd64f33693ab52b7dfed899143d9
Allowed the local authorizer to accept subjects with no value. This patch updates checks in the local authorizer to allow subjects which specify `claims` instead of a `value`. Review:
[ { "change_type": "MODIFY", "old_path": "src/authorizer/local/authorizer.cpp", "new_path": "src/authorizer/local/authorizer.cpp", "diff": "@@ -1058,10 +1058,11 @@ process::Future<bool> LocalAuthorizer::authorized(\nconst authorization::Request& request)\n{\n// Request sanity checks.\n- // A set `subj...
C++
Apache License 2.0
apache/mesos
Allowed the local authorizer to accept subjects with no value. This patch updates checks in the local authorizer to allow subjects which specify `claims` instead of a `value`. Review: https://reviews.apache.org/r/58252/
46,128
21.04.2017 10:45:16
25,200
c401190086e1a419280c49833663aaf740ce6104
Added a ContainerID to 'ObjectApprover::Object'. This patch adds a new member, `container_id` to the `ObjectApprover::Object` to facilitate implicit executor authorization. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/authorizer.hpp", "new_path": "include/mesos/authorizer/authorizer.hpp", "diff": "@@ -54,7 +54,8 @@ public:\nquota_info(nullptr),\nweight_info(nullptr),\nresource(nullptr),\n- command_info(nullptr) {}\n+ command_info(nullptr),\n+ contai...
C++
Apache License 2.0
apache/mesos
Added a ContainerID to 'ObjectApprover::Object'. This patch adds a new member, `container_id` to the `ObjectApprover::Object` to facilitate implicit executor authorization. Review: https://reviews.apache.org/r/58253/
46,128
21.04.2017 10:45:19
25,200
ecab5ff3f8c6d50dd6551f552eeb381f49eb3949
Added implicit executor authorization to the agent operator API. This patch updates the agent handlers for the LAUNCH_, WAIT_, and KILL_NESTED_CONTAINER calls of the operator API to set the `container_id` field within the authorization object, facilitating implicit executor authorization. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/authorizer.proto", "new_path": "include/mesos/authorizer/authorizer.proto", "diff": "@@ -161,18 +161,20 @@ enum Action {\n// is the entire set of flags.\nVIEW_FLAGS = 18;\n- // This action will always set the `ExecutorInfo`, `Framework...
C++
Apache License 2.0
apache/mesos
Added implicit executor authorization to the agent operator API. This patch updates the agent handlers for the LAUNCH_, WAIT_, and KILL_NESTED_CONTAINER calls of the operator API to set the `container_id` field within the authorization object, facilitating implicit executor authorization. Review: https://reviews.apac...
46,128
21.04.2017 10:45:24
25,200
ccb102f212d38cd5ad2bb5ce848b8ebe7629b6ba
Added implicit authorization to the agent executor API. This patch updates the agent handler for the executor API to verify the FrameworkID and ExecutorID contained within the executor's `Principal`, if present. This effectively performs implicit authorization of executor calls. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -619,6 +619,40 @@ string Slave::Http::EXECUTOR_HELP() {\n}\n+// TODO(greggomann): Remove this function when implicit executor authorization\n+// is moved into the authorizer. See MESOS-7399.\n+...
C++
Apache License 2.0
apache/mesos
Added implicit authorization to the agent executor API. This patch updates the agent handler for the executor API to verify the FrameworkID and ExecutorID contained within the executor's `Principal`, if present. This effectively performs implicit authorization of executor calls. Review: https://reviews.apache.org/r/5...
46,128
21.04.2017 10:45:28
25,200
33e2ee09b8ceb53cb1e64eb2dad5802e45130c3e
Added a new agent authorization test which runs a task group. This patch adds a new test, `SlaveAuthorizerTest.AuthorizeRunTaskGroup`, which verifies that task groups can be launched when executor authentication is required and the local authorizer is loaded. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_authorization_tests.cpp", "new_path": "src/tests/slave_authorization_tests.cpp", "diff": "#include \"tests/containerizer.hpp\"\n#include \"tests/mesos.hpp\"\n#include \"tests/module.hpp\"\n+#include \"tests/resources_utils.hpp\"\nnamespace http...
C++
Apache License 2.0
apache/mesos
Added a new agent authorization test which runs a task group. This patch adds a new test, `SlaveAuthorizerTest.AuthorizeRunTaskGroup`, which verifies that task groups can be launched when executor authentication is required and the local authorizer is loaded. Review: https://reviews.apache.org/r/58258/
46,128
21.04.2017 10:45:38
25,200
0124cbfd31116262f533c0dc38bef9a60238bfbd
Added tests for failed executor authorization. This patch adds new tests to verify that HTTP executors cannot subscribe or launch nested containers when HTTP executor authentication is enabled, authorization is enabled, and they do not provide a valid executor authentication token Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_authorization_tests.cpp", "new_path": "src/tests/slave_authorization_tests.cpp", "diff": "#include <gtest/gtest.h>\n+#include <mesos/authentication/secret_generator.hpp>\n+\n#include <mesos/authorizer/authorizer.hpp>\n#include <mesos/module/aut...
C++
Apache License 2.0
apache/mesos
Added tests for failed executor authorization. This patch adds new tests to verify that HTTP executors cannot subscribe or launch nested containers when HTTP executor authentication is enabled, authorization is enabled, and they do not provide a valid executor authentication token Review: https://reviews.apache.org/r...
46,128
21.04.2017 10:45:41
25,200
3f5b2c90c2f6825148662db8e1e88be08f37f3b5
Enabled authorization in default executor check tests. This patch enables authorization in the check and health check tests which use the default executor. Simple permissive ACLs are set, forcing the local authorizer to be loaded which allows us to test the implicit executor authorization code for agent operator API ca...
[ { "change_type": "MODIFY", "old_path": "src/tests/check_tests.cpp", "new_path": "src/tests/check_tests.cpp", "diff": "@@ -891,6 +891,13 @@ protected:\n// executors to authenticate with the agent operator API if Mesos was not\n// built with SSL support.\nflags.authenticate_http_readwrite = false;\n+\...
C++
Apache License 2.0
apache/mesos
Enabled authorization in default executor check tests. This patch enables authorization in the check and health check tests which use the default executor. Simple permissive ACLs are set, forcing the local authorizer to be loaded which allows us to test the implicit executor authorization code for agent operator API c...
46,128
21.04.2017 14:24:05
25,200
3cd927c981f44cb71b4d1783f73d1e8d46d98bf0
Added test for failed HTTP executor authentication. This patch adds a new test, `SlaveTest.HTTPExecutorBadAuthentication`, which verifies that an HTTP executor cannot subscribe or launch nested containers when it provides an authentication token that has not been properly signed. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/slave_tests.cpp", "new_path": "src/tests/slave_tests.cpp", "diff": "#include <mesos/authentication/http/basic_authenticator_factory.hpp>\n+\n#include <process/clock.hpp>\n#include <process/future.hpp>\n#include <process/gmock.hpp>\n+#include <process...
C++
Apache License 2.0
apache/mesos
Added test for failed HTTP executor authentication. This patch adds a new test, `SlaveTest.HTTPExecutorBadAuthentication`, which verifies that an HTTP executor cannot subscribe or launch nested containers when it provides an authentication token that has not been properly signed. Review: https://reviews.apache.org/r/...
46,128
21.04.2017 14:24:35
25,200
02d8426a3b1dc6b3269a014ada541a6008a6ab05
Added documentation for executor authorization. This patch adds documentation regarding the implicit authorization of HTTP executors. Review:
[ { "change_type": "MODIFY", "old_path": "docs/authorization.md", "new_path": "docs/authorization.md", "diff": "@@ -25,6 +25,26 @@ briefly discusses how to implement a custom authorizer; this section is not\ndirected at operators but at engineers who wish to build their own authorizer\nback end.\n+## ...
C++
Apache License 2.0
apache/mesos
Added documentation for executor authorization. This patch adds documentation regarding the implicit authorization of HTTP executors. Review: https://reviews.apache.org/r/58625/
46,056
03.04.2017 14:41:12
-7,200
674a619052acd5069426f371d8961abbad487648
Improved termination logging in default executor. WSTRINGIFY already includes a preamble in addition to exit status, no need to repeat it. Review:
[ { "change_type": "MODIFY", "old_path": "src/launcher/default_executor.cpp", "new_path": "src/launcher/default_executor.cpp", "diff": "@@ -802,8 +802,9 @@ protected:\nLOG(INFO)\n<< \"Child container \" << container->containerId << \" of task '\" << taskId\n- << \"' in state \" << stringify(taskState)...
C++
Apache License 2.0
apache/mesos
Improved termination logging in default executor. WSTRINGIFY already includes a preamble in addition to exit status, no need to repeat it. Review: https://reviews.apache.org/r/58190
46,056
03.04.2017 19:20:07
-7,200
69fd4af6ebfba3a6261a927ae1bec0f4a5d22af8
Renamed a test helper for clarity. `HealthCheckTestHelper` is actually a simple libprocess-based HTTP server. To make it clear and enable it usage in non health check related tests, rename it to `HttpServerTestHelper`. Review:
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1120,7 +1120,7 @@ libmesos_no_3rdparty_la_SOURCES += \\\ntests/containerizer.hpp \\\ntests/environment.hpp \\\ntests/flags.hpp \\\n- tests/health_check_test_helper.hpp \\\n+ tests/http_server_test_h...
C++
Apache License 2.0
apache/mesos
Renamed a test helper for clarity. `HealthCheckTestHelper` is actually a simple libprocess-based HTTP server. To make it clear and enable it usage in non health check related tests, rename it to `HttpServerTestHelper`. Review: https://reviews.apache.org/r/58191
46,056
04.04.2017 13:42:23
-7,200
4b22e0d50a44d2971cdca1337089e2f33d9712f2
Used constexpr char instead of static const string for consistency. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker.cpp", "new_path": "src/checks/checker.cpp", "diff": "@@ -92,11 +92,11 @@ constexpr char HTTP_CHECK_COMMAND[] = \"curl\";\nconstexpr char HTTP_CHECK_COMMAND[] = \"curl.exe\";\n#endif // __WINDOWS__\n-static const string DEFAULT_HTTP_SCHEME = ...
C++
Apache License 2.0
apache/mesos
Used constexpr char instead of static const string for consistency. Review: https://reviews.apache.org/r/58192
46,056
04.04.2017 13:47:25
-7,200
ace943235b5f2b309b6d18e480192fb512ab89c6
Renamed variables in checker library for clarity. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker.cpp", "new_path": "src/checks/checker.cpp", "diff": "@@ -184,14 +184,14 @@ private:\nvoid processCommandCheckResult(\nconst Stopwatch& stopwatch,\n- const Future<int>& result);\n+ const Future<int>& future);\nFuture<int> httpCheck();\nFuture...
C++
Apache License 2.0
apache/mesos
Renamed variables in checker library for clarity. Review: https://reviews.apache.org/r/58193
46,056
04.04.2017 12:29:03
-7,200
bbed0e87f6661ada310a6822b5171f32aea1f3d9
Added TCP checks in Mesos API. From now on executors may implement TCP checks for tasks. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -381,10 +381,11 @@ message CheckInfo {\nUNKNOWN = 0;\nCOMMAND = 1;\nHTTP = 2;\n+ TCP = 3;\n- // TODO(alexr): Consider supporting TCP checks and custom user checks.\n- // The latte...
C++
Apache License 2.0
apache/mesos
Added TCP checks in Mesos API. From now on executors may implement TCP checks for tasks. Review: https://reviews.apache.org/r/58195
46,056
05.04.2017 00:09:01
-7,200
26e135d7abe457a858deb9762ee5ff735f6048cc
Implemented TCP check support in command and default executors. Review:
[ { "change_type": "MODIFY", "old_path": "src/checks/checker.cpp", "new_path": "src/checks/checker.cpp", "diff": "@@ -88,8 +88,10 @@ namespace checks {\n#ifndef __WINDOWS__\nconstexpr char HTTP_CHECK_COMMAND[] = \"curl\";\n+constexpr char TCP_CHECK_COMMAND[] = \"mesos-tcp-connect\";\n#else\nconstexpr ...
C++
Apache License 2.0
apache/mesos
Implemented TCP check support in command and default executors. Review: https://reviews.apache.org/r/58196
46,056
05.04.2017 00:04:27
-7,200
12a01d925b6c605d5a55f09634f7bced4beae0c9
Hardened HTTP check tests. Introduce 1s delay to ensure the task (HTTP server) has enough time to start and start serving request. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/check_tests.cpp", "new_path": "src/tests/check_tests.cpp", "diff": "@@ -113,7 +113,7 @@ namespace tests {\n#endif // !__WINDOWS__\n-// Tests for checks support in built in executors. Logically the tests\n+// Tests for checks support in built-in execu...
C++
Apache License 2.0
apache/mesos
Hardened HTTP check tests. Introduce 1s delay to ensure the task (HTTP server) has enough time to start and start serving request. Review: https://reviews.apache.org/r/58194
46,066
24.04.2017 11:15:12
14,400
bca95cabbfb07cc6293bf499f566244ea3bb0a94
Refactored test filter handling in stout. This refactoring will make it easier to create test filters in libprocess and Mesos. Furthermore the code has been updated to follow stout's coding style. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/tests/environment.hpp", "new_path": "3rdparty/stout/include/stout/tests/environment.hpp", "diff": "#ifndef __STOUT_TESTS_ENVIRONMENT_HPP__\n#define __STOUT_TESTS_ENVIRONMENT_HPP__\n-#ifndef __WINDOWS__\n-#include <sys/wait.h>\n-\n-...
C++
Apache License 2.0
apache/mesos
Refactored test filter handling in stout. This refactoring will make it easier to create test filters in libprocess and Mesos. Furthermore the code has been updated to follow stout's coding style. Review: https://reviews.apache.org/r/58661/
46,181
24.04.2017 11:22:43
14,400
ee3b04bc9d3fbfcefa9e27c1e3e34ed15ca064e8
Cleaned up stout test setup code slightly.
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/tests/environment.hpp", "new_path": "3rdparty/stout/include/stout/tests/environment.hpp", "diff": "@@ -42,7 +42,9 @@ public:\nif (strings::contains(test->test_case_name(), pattern) ||\nstrings::contains(test->name(), pattern)) {\nr...
C++
Apache License 2.0
apache/mesos
Cleaned up stout test setup code slightly.
46,181
24.04.2017 13:50:15
14,400
dc2effe790548d351c661c76fc98d03ebee4d5e5
Updated libprocess tests for recent stout change. Specifically, commit resulted in stout/tests/environment.hpp no longer including some headers and defining some `using` aliases.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/tests/main.cpp", "new_path": "3rdparty/libprocess/src/tests/main.cpp", "diff": "#include <signal.h>\n+#include <memory>\n+#include <vector>\n+\n#include <glog/logging.h>\n#include <glog/raw_logging.h>\nusing stout::internal::tests::Envi...
C++
Apache License 2.0
apache/mesos
Updated libprocess tests for recent stout change. Specifically, commit bca95cabbfb07cc6293bf499f566244ea3bb0a94 resulted in stout/tests/environment.hpp no longer including some headers and defining some `using` aliases.
46,165
25.04.2017 02:12:54
-28,800
00569bfcff4ed14fa083862f604e018512a6e282
Updated agent webui page to display allocated and available resources. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/agent.html", "new_path": "src/webui/master/static/agent.html", "diff": "<tr>\n<td></td>\n<td class=\"text-right\">Used</td>\n+ <td class=\"text-right\">Allocated</td>\n+ <td class=\"text-right\">Available</td>\n<td class=\"text-right\">...
C++
Apache License 2.0
apache/mesos
Updated agent webui page to display allocated and available resources. Review: https://reviews.apache.org/r/58549/
46,143
24.04.2017 12:44:14
25,200
2f4c71a5eaf5cc90cfdbbbf31783eda72dd8c096
Updated code and docs to use gender neutral pronoun. Used "singular they" based on Chromium's gender neutral code guideline. Review:
[ { "change_type": "MODIFY", "old_path": "docs/committer-candidate-checklist.md", "new_path": "docs/committer-candidate-checklist.md", "diff": "@@ -29,7 +29,7 @@ Demonstrated by: <input type=\"text\"/>\n* Knowledge and activity breadth and depth in the Mesos project as well as areas where the candidat...
C++
Apache License 2.0
apache/mesos
Updated code and docs to use gender neutral pronoun. Used "singular they" based on Chromium's gender neutral code guideline. Review: https://reviews.apache.org/r/58683
46,143
24.04.2017 13:19:01
25,200
16697c1a8ebd218adb7e62ca032c6162a9585650
Fixed a typo in zookeeper_test_server.cpp. s/his/this/
[ { "change_type": "MODIFY", "old_path": "src/tests/zookeeper_test_server.cpp", "new_path": "src/tests/zookeeper_test_server.cpp", "diff": "@@ -127,7 +127,7 @@ int ZooKeeperTestServer::startNetwork()\nif (!started) {\nconnectionFactory = new NIOServerCnxnFactory();\n- // We use '-1' to allow an unlimi...
C++
Apache License 2.0
apache/mesos
Fixed a typo in zookeeper_test_server.cpp. s/his/this/
46,128
24.04.2017 13:26:30
25,200
6b7a63c5028a6a118c5aa22b26d7c14898a54a9d
Updated the upgrade documentation for executor authentication. This patch updates the upgrade documentation to inform users that enabling the `--authenticate_http_executors` and `--executor_secret_key` agent flags after upgrade is disruptive to HTTP executors which were launched before the upgrade. Review:
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -50,6 +50,8 @@ We categorize the changes as follows:\n<td style=\"word-wrap: break-word; overflow-wrap: break-word;\"><!--Flags-->\n<ul style=\"padding-left:10px;\">\n<li>R <a href=\"1-3-x-setquota...
C++
Apache License 2.0
apache/mesos
Updated the upgrade documentation for executor authentication. This patch updates the upgrade documentation to inform users that enabling the `--authenticate_http_executors` and `--executor_secret_key` agent flags after upgrade is disruptive to HTTP executors which were launched before the upgrade. Review: https://re...
46,128
24.04.2017 13:26:34
25,200
7a98a01394bd9114970ff5df06e7068741ac018d
Added executor authentication and authorization to the CHANGELOG. This patch adds to the CHANGELOG. This ticket corresponds to the addition of authentication and authorization for HTTP executors. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -16,6 +16,19 @@ This release contains the following new features:\n(e.g. new employees join, new teams are formed, employees leave, teams\nare disbanded, etc).\n+ * [MESOS-6365] - Authentication and authorizatio...
C++
Apache License 2.0
apache/mesos
Added executor authentication and authorization to the CHANGELOG. This patch adds MESOS-6365 to the CHANGELOG. This ticket corresponds to the addition of authentication and authorization for HTTP executors. Review: https://reviews.apache.org/r/58626/
46,165
19.04.2017 15:28:14
25,200
d1c6173abdc12e464d0911eb01e5e2d39599fd80
Removed NOTE about incomplete implementation of FrameworkInfo.roles. Now that the support for frameworks with multiple roles has been implemented, we can remove the note about the `FrameworkInfo.roles` field having an incomplete implementation. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -262,11 +262,8 @@ message FrameworkInfo {\n// `roles` and the default unset `role`, we require that\n// frameworks set the `MULTI_ROLE` capability if\n// setting the `roles` field...
C++
Apache License 2.0
apache/mesos
Removed NOTE about incomplete implementation of FrameworkInfo.roles. Now that the support for frameworks with multiple roles has been implemented, we can remove the note about the `FrameworkInfo.roles` field having an incomplete implementation. Review: https://reviews.apache.org/r/58545
46,159
24.04.2017 14:53:07
25,200
8cf5c51d1be75d6c3168cd941ccadc98c57ca79c
Passed `--zk_session_timeout` to ZK master contender and detector. Currently `ZooKeeperMasterContender` and `ZooKeeperMasterDetector` use hardcoded session timeouts and do not respect `--zk_session_timeout` option. This patch fixes it. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/master/contender.hpp", "new_path": "include/mesos/master/contender.hpp", "diff": "#include <process/future.hpp>\n+#include <stout/duration.hpp>\n#include <stout/nothing.hpp>\n#include <stout/option.hpp>\n#include <stout/try.hpp>\n@@ -58,7 +59,8 @...
C++
Apache License 2.0
apache/mesos
Passed `--zk_session_timeout` to ZK master contender and detector. Currently `ZooKeeperMasterContender` and `ZooKeeperMasterDetector` use hardcoded session timeouts and do not respect `--zk_session_timeout` option. This patch fixes it. Review: https://reviews.apache.org/r/58421/
46,159
24.04.2017 14:53:18
25,200
97b2507aa7ad6d74a193e0ef2165ab451b3059fb
Updated the high availability doc about ZK session timeout. Review:
[ { "change_type": "MODIFY", "old_path": "docs/high-availability.md", "new_path": "docs/high-availability.md", "diff": "@@ -71,4 +71,4 @@ The notion of the group of leader candidates is implemented in `Group`. This abs\n* Session Expiration\n* ZNode creation, deletion, updates\n-We also explicitly tim...
C++
Apache License 2.0
apache/mesos
Updated the high availability doc about ZK session timeout. Review: https://reviews.apache.org/r/58506/
46,165
26.04.2017 10:05:05
-28,800
19ccf2b5993902fde1a34f888427cca228598c66
Fixed inconsistent terminology for 'Used' vs 'Allocated' in the webui. The home page of the webui still uses the word 'Used' to reflect how much is allocated, whereas the rest of the pages use 'Allocated' for this and 'Used' to indicate how much of the allocation is utilized. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/home.html", "new_path": "src/webui/master/static/home.html", "diff": "<td class=\"text-right\">{{total_disk * (1024 * 1024) | dataSize}}</td>\n</tr>\n<tr>\n- <td>Used</td>\n+ <td>Allocated</td>\n<td class=\"text-right\">{{used_cpus | de...
C++
Apache License 2.0
apache/mesos
Fixed inconsistent terminology for 'Used' vs 'Allocated' in the webui. The home page of the webui still uses the word 'Used' to reflect how much is allocated, whereas the rest of the pages use 'Allocated' for this and 'Used' to indicate how much of the allocation is utilized. Review: https://reviews.apache.org/r/5854...
46,188
25.04.2017 20:13:54
25,200
17d0a4c82f62225bfa2778be8439606083c9c68a
Fixed an ordering issue in 1.2.1 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -42,6 +42,7 @@ Release Notes - Mesos - Version 1.2.1 (WIP)\nAll Issues:\n** Bug\n+ * [MESOS-5028] - Copy provisioner cannot replace directory with symlink.\n* [MESOS-6951] - Docker containerizer: mangled environ...
C++
Apache License 2.0
apache/mesos
Fixed an ordering issue in 1.2.1 CHANGELOG.
46,188
25.04.2017 20:15:45
25,200
81f4ce5dd879942c48c9e549936ea9134b554bc5
Fixed an ordering issue in 1.1.2 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -501,12 +501,12 @@ Release Notes - Mesos - Version 1.1.2 (WIP)\nAll Issues:\n** Bug\n* [MESOS-2537] - AC_ARG_ENABLED checks are broken.\n+ * [MESOS-5028] - Copy provisioner cannot replace directory with symlink....
C++
Apache License 2.0
apache/mesos
Fixed an ordering issue in 1.1.2 CHANGELOG.
46,188
25.04.2017 20:24:07
25,200
b20679c72dae3f6c69b59bf6739afd2201389c1e
Fixed the missing 1.1.2 CHANGELOG items in master branch.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -503,6 +503,8 @@ All Issues:\n* [MESOS-2537] - AC_ARG_ENABLED checks are broken.\n* [MESOS-5028] - Copy provisioner cannot replace directory with symlink.\n* [MESOS-5172] - Registry puller cannot fetch blobs cor...
C++
Apache License 2.0
apache/mesos
Fixed the missing 1.1.2 CHANGELOG items in master branch.