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 | 15.05.2018 17:37:13 | 25,200 | d30dc724b512264b1a65f0b5b337fbe24bc4894d | Updated the container logger interface.
Container logger's prepare() method now takes `ContainerConfig` to be
consistent with the isolator interfaces. This allows the framework to
control the logger behavior for nested containers, as well as standalone
containers (by using environment variables).
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "+Release Notes - Mesos - Version 1.7.0 (WIP)\n+-------------------------------------------\n+This release contains the following new features:\n+\n+Additional API Changes:\n+ * Container logger module interface has... | C++ | Apache License 2.0 | apache/mesos | Updated the container logger interface.
Container logger's prepare() method now takes `ContainerConfig` to be
consistent with the isolator interfaces. This allows the framework to
control the logger behavior for nested containers, as well as standalone
containers (by using environment variables).
Review: https://revi... |
46,188 | 16.05.2018 08:49:37 | 25,200 | eb9ab8089ae9bcb5779454fb2a6ce18b51a9a0cb | Removed the unused MockContainerLogger. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/container_logger_tests.cpp",
"new_path": "src/tests/container_logger_tests.cpp",
"diff": "@@ -105,32 +105,6 @@ const char LOGROTATE_CONTAINER_LOGGER_NAME[] =\n#endif // __WINDOWS__\n-// Definition of a mock ContainerLogger to be used in tests with gm... | C++ | Apache License 2.0 | apache/mesos | Removed the unused MockContainerLogger. |
46,128 | 17.05.2018 15:49:16 | 25,200 | 7f957ac81e3ba28fe50521a2207e2f10c3452173 | Updated the website for Mesos 1.6.0 release. | [
{
"change_type": "MODIFY",
"old_path": "site/data/releases.yml",
"new_path": "site/data/releases.yml",
"diff": "# `versions` below.\n# * When publishing a new blog post, we need to append an item to `news` below.\nlatest_stable:\n- version: 1.5.0\n- jira_version: 12341286\n+ version: 1.6.0\n+ jira_v... | C++ | Apache License 2.0 | apache/mesos | Updated the website for Mesos 1.6.0 release. |
46,128 | 17.05.2018 15:52:49 | 25,200 | c59c5498881d16547fe9c072ac5a836870c77567 | Updated building instructions for Mesos 1.6.0 release. | [
{
"change_type": "MODIFY",
"old_path": "docs/building.md",
"new_path": "docs/building.md",
"diff": "@@ -11,8 +11,8 @@ There are different ways you can get Mesos:\n1\\. Download the latest stable release from [Apache](http://mesos.apache.org/downloads/) (***Recommended***)\n- $ wget http://www.apache... | C++ | Apache License 2.0 | apache/mesos | Updated building instructions for Mesos 1.6.0 release. |
46,128 | 17.05.2018 15:53:20 | 25,200 | 81d4b20d79eada9ca518a1f1e2c98b868cf3d1a5 | Added the Mesos 1.6.0 release blog post.
Review: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "site/source/blog/2018-05-17-mesos-1-6-0-released.md",
"diff": "+---\n+layout: post\n+title: \"Mesos 1.6: Persistent Volume, Scheduler API, and Docker Support Improvements\"\n+published: true\n+post_author:\n+ display_name: Greg Mann\n+ gravatar:... | C++ | Apache License 2.0 | apache/mesos | Added the Mesos 1.6.0 release blog post.
Review: https://reviews.apache.org/r/67193/ |
46,188 | 17.05.2018 15:27:26 | 25,200 | a981067d2dd4a1ce6be68d3fd5a7115ce47b3a24 | Added ContainerID to container logger prepare interface.
This is to allow the logger to tag the output with that information.
Review: | [
{
"change_type": "MODIFY",
"old_path": "CHANGELOG",
"new_path": "CHANGELOG",
"diff": "@@ -4,7 +4,7 @@ This release contains the following new features:\nAdditional API Changes:\n* Container logger module interface has been changed. The `prepare()` method\n- now takes `ContainerConfig` instead.\n+ no... | C++ | Apache License 2.0 | apache/mesos | Added ContainerID to container logger prepare interface.
This is to allow the logger to tag the output with that information.
Review: https://reviews.apache.org/r/67202 |
46,087 | 17.05.2018 21:06:07 | -7,200 | c020a130afd55dd3f5702a23b13f8234e0ace391 | Supported custom error types for `Try` in `AssertSome`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/errorbase.hpp",
"new_path": "3rdparty/stout/include/stout/errorbase.hpp",
"diff": "#include <errno.h>\n+#include <ostream>\n#include <string>\n#include <stout/os/strerror.hpp>\n@@ -62,4 +63,10 @@ public:\nconst int code;\n};\n+\n+i... | C++ | Apache License 2.0 | apache/mesos | Supported custom error types for `Try` in `AssertSome`.
Review: https://reviews.apache.org/r/67164/ |
46,188 | 18.05.2018 13:34:02 | 25,200 | 7ecafb126692383ac694e82ac3e4276913a3d29f | Fixed a script used in CI.
The directory might exist in CI, so do a cleanup first. | [
{
"change_type": "MODIFY",
"old_path": "support/packaging/centos/build-docker-image.sh",
"new_path": "support/packaging/centos/build-docker-image.sh",
"diff": "@@ -17,15 +17,12 @@ if ! [ -x \"$(command -v docker)\" ]; then\nexit 1\nfi\n-if [ -d \"${SOURCE_DIR}/centos7\" ]; then\n- echo \"Please clea... | C++ | Apache License 2.0 | apache/mesos | Fixed a script used in CI.
The directory might exist in CI, so do a cleanup first. |
46,141 | 19.05.2018 00:26:04 | -7,200 | 9fa72c54981127b438b088cc67e58267f28e401c | Added support for RS256 algo to JWT processing in libprocess.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/jwt.hpp",
"new_path": "3rdparty/libprocess/include/process/jwt.hpp",
"diff": "#include <ostream>\n#include <string>\n+#include <openssl/rsa.h>\n+\n#include <stout/json.hpp>\n#include <stout/option.hpp>\n#include <stout/try.h... | C++ | Apache License 2.0 | apache/mesos | Added support for RS256 algo to JWT processing in libprocess.
Review: https://reviews.apache.org/r/66621/ |
46,114 | 17.05.2018 10:53:30 | 25,200 | 04263336e4cc9880f6733c2f4e113ed608e92532 | Windows: Removed guards now that `os::shell` exists.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/main.cpp",
"new_path": "src/master/main.cpp",
"diff": "@@ -200,7 +200,6 @@ int main(int argc, char** argv)\n}\nif (flags.ip_discovery_command.isSome()) {\n-#ifndef __WINDOWS__\nTry<string> ipAddress = os::shell(flags.ip_discovery_command.get());\nif... | C++ | Apache License 2.0 | apache/mesos | Windows: Removed guards now that `os::shell` exists.
Review: https://reviews.apache.org/r/67189 |
46,103 | 22.05.2018 15:05:51 | -7,200 | d7d7cfbc3e5609fc9a4e8de8203a6ecb11afeac7 | Fixed `pem_to_rsa` for older SSL versions.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/ssl/utilities.cpp",
"new_path": "3rdparty/libprocess/src/ssl/utilities.cpp",
"diff": "@@ -379,7 +379,9 @@ Try<string> generate_hmac_sha256(\ntemplate<typename Reader>\nTry<shared_ptr<RSA>> pem_to_rsa(const string& pem, Reader reader)\n{... | C++ | Apache License 2.0 | apache/mesos | Fixed `pem_to_rsa` for older SSL versions.
Review: https://reviews.apache.org/r/67248/ |
46,128 | 21.05.2018 14:11:29 | 25,200 | 07b90e48cfabd543b0b6c8f6d2bb35afd88d6560 | Fixed a quota-related metrics bug.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/metrics.cpp",
"new_path": "src/master/allocator/mesos/metrics.cpp",
"diff": "@@ -165,12 +165,18 @@ void Metrics::setQuota(const string& role, const Quota& quota)\nvoid Metrics::removeQuota(const string& role)\n{\nCHECK(quota_allocate... | C++ | Apache License 2.0 | apache/mesos | Fixed a quota-related metrics bug.
Review: https://reviews.apache.org/r/67238 |
46,090 | 22.05.2018 15:59:27 | 25,200 | 9dd3d439d870d7f8676fe09ff06c112c6cb5fd0d | Windows: Updated information on docker health checks.
The previous commit changed how the health checks work on Windows,
so this commit updates the documentation to reflect on those changes.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/health-checks.md",
"new_path": "docs/health-checks.md",
"diff": "@@ -381,10 +381,9 @@ task.mutable_health_check()->CopyFrom(healthCheck);\nHTTP(S) health checks are described by the `HealthCheck.HTTPCheckInfo` protobuf\nwith `scheme`, `port`, `path`, and ... | C++ | Apache License 2.0 | apache/mesos | Windows: Updated information on docker health checks.
The previous commit changed how the health checks work on Windows,
so this commit updates the documentation to reflect on those changes.
Review: https://reviews.apache.org/r/67208/ |
46,090 | 23.05.2018 14:00:13 | 25,200 | 3e21c50e4847debae3d8def2f48b6a44e36c3109 | Windows: Added overlapped field to `WindowsFD`.
Added a field to `WindowsFD` for functions that need to know if a
Windows file is opened in overlapped mode, such as `os::read`, since
Windows doesn't provide a Win32 API for it.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/dup.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/dup.hpp",
"diff": "@@ -40,7 +40,7 @@ inline Try<int_fd> dup(const int_fd& fd)\nreturn WindowsError();\n}\n- return duplicate;\n+ return int_fd(duplicate, fd.... | C++ | Apache License 2.0 | apache/mesos | Windows: Added overlapped field to `WindowsFD`.
Added a field to `WindowsFD` for functions that need to know if a
Windows file is opened in overlapped mode, such as `os::read`, since
Windows doesn't provide a Win32 API for it.
Review: https://reviews.apache.org/r/66952/ |
46,090 | 23.05.2018 14:00:38 | 25,200 | 0e06049520697cfee68b56b5ba2b0d050bf80d36 | Windows: Added internal Windows file for overlapped helpers.
Added a helper file for handling overlapped objects, because
`os::read/write` need to work on overlapped files and the logic can be
shared.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/Makefile.am",
"new_path": "3rdparty/stout/include/Makefile.am",
"diff": "@@ -45,6 +45,7 @@ nobase_include_HEADERS = \\\nstout/internal/windows/attributes.hpp \\\nstout/internal/windows/grp.hpp \\\nstout/internal/windows/longpath.hpp \\\n... | C++ | Apache License 2.0 | apache/mesos | Windows: Added internal Windows file for overlapped helpers.
Added a helper file for handling overlapped objects, because
`os::read/write` need to work on overlapped files and the logic can be
shared.
Review: https://reviews.apache.org/r/66954/ |
46,090 | 23.05.2018 14:01:02 | 25,200 | 5cdd29f849ebcd0f319cec18c83907e13431bc5f | Windows: Added overlapped support to `os::read`.
Added overlapped handle support to `os::read`. Now, `os::read` will do
a blocking read no matter the handle type. Also, `os::read_async` will
do an overlapped read on an overlapped handle.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/read.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/read.hpp",
"diff": "#include <stout/unreachable.hpp>\n#include <stout/windows.hpp>\n+#include <stout/internal/windows/overlapped.hpp>\n+\n#include <stout/os... | C++ | Apache License 2.0 | apache/mesos | Windows: Added overlapped support to `os::read`.
Added overlapped handle support to `os::read`. Now, `os::read` will do
a blocking read no matter the handle type. Also, `os::read_async` will
do an overlapped read on an overlapped handle.
Review: https://reviews.apache.org/r/66955/ |
46,090 | 23.05.2018 14:01:17 | 25,200 | bd4a8008e0eb1a286e9c45a8ff6cf4cf1792ad6c | Windows: Added overlapped support to `os::write`.
Added overlapped handle support to `os::write`. Now, `os::write` will do
a blocking write no matter the handle type. Also, `os::write_async` will
do an overlapped write on an overlapped handle.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/write.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/write.hpp",
"diff": "#include <stout/unreachable.hpp>\n#include <stout/windows.hpp>\n+#include <stout/internal/windows/overlapped.hpp>\n+\n#include <stout/... | C++ | Apache License 2.0 | apache/mesos | Windows: Added overlapped support to `os::write`.
Added overlapped handle support to `os::write`. Now, `os::write` will do
a blocking write no matter the handle type. Also, `os::write_async` will
do an overlapped write on an overlapped handle.
Review: https://reviews.apache.org/r/66956/ |
46,090 | 23.05.2018 14:01:26 | 25,200 | ebac13d83184363dd261b455b878ab613cb85587 | Windows: Enabled creating overlapped pipes with `os::pipe`.
`os::pipe` was using `CreatePipe`, which does not support overlapped
I/O. Now, the implementation of `os::pipe` has been changed to use
`CreateNamedPipe`, which supports overlapped I/O. The named pipe is
created with an unique random name, so it is effectively... | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/pipe.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/pipe.hpp",
"diff": "#define __STOUT_OS_WINDOWS_PIPE_HPP__\n#include <array>\n+#include <string>\n+#include <stout/check.hpp>\n#include <stout/error.hpp>\n#i... | C++ | Apache License 2.0 | apache/mesos | Windows: Enabled creating overlapped pipes with `os::pipe`.
`os::pipe` was using `CreatePipe`, which does not support overlapped
I/O. Now, the implementation of `os::pipe` has been changed to use
`CreateNamedPipe`, which supports overlapped I/O. The named pipe is
created with an unique random name, so it is effectivel... |
46,090 | 23.05.2018 14:01:49 | 25,200 | 07f5c00038d4ae22fbb72f8979f5f013b37780fd | Windows: Fixed inheritance in `Subprocess::PIPE()`.
`Subprocess::PIPE()` was creating inheritable pipes and files. On
Windows, our policy is to make everything not inheritable and then
have `CreateProcessW` set the the right pipes to be inheritable to
avoid any handle leaks.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/subprocess_windows.cpp",
"new_path": "3rdparty/libprocess/src/subprocess_windows.cpp",
"diff": "#include <stout/os/pipe.hpp>\n#include <stout/os/strerror.hpp>\n-#include <stout/internal/windows/inherit.hpp>\n-\nusing std::array;\nusing ... | C++ | Apache License 2.0 | apache/mesos | Windows: Fixed inheritance in `Subprocess::PIPE()`.
`Subprocess::PIPE()` was creating inheritable pipes and files. On
Windows, our policy is to make everything not inheritable and then
have `CreateProcessW` set the the right pipes to be inheritable to
avoid any handle leaks.
Review: https://reviews.apache.org/r/66958... |
46,090 | 23.05.2018 14:03:46 | 25,200 | 20beb52afa8b698f87013f5fd56adaf4c9e4f824 | Windows: Added async version of `os::sendfile`.
Split the original `os::sendfile` implementation into an asynchronous
`os::sendfile_async`function and a synchronous `os::sendfile`
function. The synchronous version simply calls the asynchronous
version and waits.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/sendfile.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/sendfile.hpp",
"diff": "#define __STOUT_OS_WINDOWS_SENDFILE_HPP__\n#include <stout/error.hpp>\n+#include <stout/result.hpp>\n#include <stout/try.hpp>\n#... | C++ | Apache License 2.0 | apache/mesos | Windows: Added async version of `os::sendfile`.
Split the original `os::sendfile` implementation into an asynchronous
`os::sendfile_async`function and a synchronous `os::sendfile`
function. The synchronous version simply calls the asynchronous
version and waits.
Review: https://reviews.apache.org/r/66960/ |
46,090 | 23.05.2018 14:04:03 | 25,200 | 387364cf3128b77e1c944427247222019f983edf | Windows: Ported `sendfile_tests.cpp`.
The `os::sendfile` unit tests were using `socketpair`, but the rest of
the tests were cross-platform. By providing a Windows `socketpair`
implementation, the tests are now ported.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/CMakeLists.txt",
"new_path": "3rdparty/stout/tests/CMakeLists.txt",
"diff": "@@ -70,11 +70,11 @@ set(STOUT_OS_TESTS_SRC\nos/process_tests.cpp\nos/rmdir_tests.cpp\nos/socket_tests.cpp\n- os/strerror_tests.cpp)\n+ os/strerror_tests.cpp\n+ os... | C++ | Apache License 2.0 | apache/mesos | Windows: Ported `sendfile_tests.cpp`.
The `os::sendfile` unit tests were using `socketpair`, but the rest of
the tests were cross-platform. By providing a Windows `socketpair`
implementation, the tests are now ported.
Review: https://reviews.apache.org/r/66961/ |
46,090 | 23.05.2018 14:04:37 | 25,200 | 21305ab47d0fea4678051b65330d46513e7300c3 | Windows: Added tests for async I/O functions.
New asynchronous functions were introduced to the Windows stout `read`
and `write` implementations, so extra tests were added.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/os/filesystem_tests.cpp",
"new_path": "3rdparty/stout/tests/os/filesystem_tests.cpp",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License\n+#include <algorithm>\n#include <list>... | C++ | Apache License 2.0 | apache/mesos | Windows: Added tests for async I/O functions.
New asynchronous functions were introduced to the Windows stout `read`
and `write` implementations, so extra tests were added.
Review: https://reviews.apache.org/r/66962/ |
46,129 | 21.05.2018 16:42:53 | 25,200 | ef22971c913c4e41317301875094443b76759bef | Added isolator logs for volume/secret isolator and container logger.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/io/switchboard.cpp",
"new_path": "src/slave/containerizer/mesos/io/switchboard.cpp",
"diff": "@@ -302,19 +302,25 @@ Future<Option<ContainerLaunchInfo>> IOSwitchboard::_prepare(\nconst ContainerConfig& containerConfig,\nconst Conta... | C++ | Apache License 2.0 | apache/mesos | Added isolator logs for volume/secret isolator and container logger.
Review: https://reviews.apache.org/r/67241 |
46,103 | 24.05.2018 14:37:26 | -7,200 | cb8a30bbd70d398d1c883514a3bdcf3a382e8f95 | Reformated libprocess example code.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/examples/example.cpp",
"new_path": "3rdparty/libprocess/examples/example.cpp",
"diff": "#include <iostream>\n#include <sstream>\n+#include <string>\n#include <process/defer.hpp>\n#include <process/dispatch.hpp>\n@@ -95,7 +96,7 @@ int main(i... | C++ | Apache License 2.0 | apache/mesos | Reformated libprocess example code.
Review: https://reviews.apache.org/r/67281/ |
46,188 | 24.05.2018 10:03:52 | 25,200 | 902868fac0785b160c6cf0f13e655451bc0aa7ce | Removed an unneeded test.
This test is covered by many other tests, and is testing for a
deprecated feature. Thus remove this test.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_tests.cpp",
"new_path": "src/tests/slave_tests.cpp",
"diff": "@@ -931,92 +931,6 @@ TEST_F(SlaveTest, GetExecutorInfoForTaskWithContainer)\n}\n-// This tests ensures that MesosContainerizer will launch a command\n-// executor even if it contains... | C++ | Apache License 2.0 | apache/mesos | Removed an unneeded test.
This test is covered by many other tests, and is testing for a
deprecated feature. Thus remove this test.
Review: https://reviews.apache.org/r/67290 |
46,188 | 24.05.2018 10:05:17 | 25,200 | 32d4305b87e79ed02cc686e0c29b027e31c6b3a4 | Adjusted the tests that use nobody.
Used `$SUDO_USER` instead because `nobody` sometimes cannot access
direcotries under `$HOME` of the current user running the tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/container_logger_tests.cpp",
"new_path": "src/tests/container_logger_tests.cpp",
"diff": "@@ -599,7 +599,8 @@ INSTANTIATE_TEST_CASE_P(\n// launch subprocesses with the same user as the executor.\n// 2. When `--switch_user` is false on the agent, the ... | C++ | Apache License 2.0 | apache/mesos | Adjusted the tests that use nobody.
Used `$SUDO_USER` instead because `nobody` sometimes cannot access
direcotries under `$HOME` of the current user running the tests.
Review: https://reviews.apache.org/r/67291 |
46,165 | 24.05.2018 14:06:29 | 25,200 | 05594d69d8903ddc406703a49b8568c579ff803d | Fixed a performance issue in collect/await.
It turns out that even with C++11, some `std::list::size()`
implementations are still linear in complexity.
This was found when running perf against a metrics benchmark
for the master. A follow-up to avoid std::list in the collect.hpp
interfaces entirely is needed.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/collect.hpp",
"new_path": "3rdparty/libprocess/include/process/collect.hpp",
"diff": "@@ -123,7 +123,7 @@ public:\nconst std::list<Future<T>>& _futures,\nPromise<std::list<T>>* _promise)\n: ProcessBase(ID::generate(\"__colle... | C++ | Apache License 2.0 | apache/mesos | Fixed a performance issue in collect/await.
It turns out that even with C++11, some `std::list::size()`
implementations are still linear in complexity.
This was found when running perf against a metrics benchmark
for the master. A follow-up to avoid std::list in the collect.hpp
interfaces entirely is needed.
Review:... |
46,172 | 24.05.2018 14:58:00 | 25,200 | 7ecb2fef2edf99a03188a871cfaf0f16ec71508a | Added support script to check if Python >= 3.6 is available.
Review: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "support/check-python3.py",
"diff": "+#!/usr/bin/env python\n+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distributed with this work for additional information\n... | C++ | Apache License 2.0 | apache/mesos | Added support script to check if Python >= 3.6 is available.
Review: https://reviews.apache.org/r/67247/ |
46,172 | 24.05.2018 14:58:03 | 25,200 | 2820028e913b934015b77a6dd8ddc1529067a27e | Updated support scripts to check for Python 3.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/apply-reviews.py",
"new_path": "support/apply-reviews.py",
"diff": "@@ -443,6 +443,11 @@ def main():\n\"\"\"\noptions = parse_options()\n+ # TODO(ArmandGrillet): Remove this when we'll have switched to Python 3.\n+ dir_path = os.path.dirname(os.path.re... | C++ | Apache License 2.0 | apache/mesos | Updated support scripts to check for Python 3.
Review: https://reviews.apache.org/r/67099/ |
46,114 | 24.05.2018 14:58:34 | 25,200 | ae4e7956a2217ceaa02575d160a9d52a21825f07 | Added warning to Python version checker script.
After the user has installed Python 3, if they use the Python 2
scripts, we want to alert them to start using (and therefore testing)
the ported Python 3 scripts.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/check-python3.py",
"new_path": "support/check-python3.py",
"diff": "@@ -30,6 +30,15 @@ def print_error():\nprint(\"The support scripts will be upgraded to Python 3 by July 1st.\")\nprint(\"Make sure to install Python 3.6 on your machine before.\")\n+de... | C++ | Apache License 2.0 | apache/mesos | Added warning to Python version checker script.
After the user has installed Python 3, if they use the Python 2
scripts, we want to alert them to start using (and therefore testing)
the ported Python 3 scripts.
Review: https://reviews.apache.org/r/67292/ |
46,156 | 24.05.2018 17:06:34 | 25,200 | 4f95d751b0e890bbc6ede3d2adc8d920c6b1c714 | Renamed an ambiguous variable in the `network/ports` isolator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/isolators/network/ports.cpp",
"new_path": "src/slave/containerizer/mesos/isolators/network/ports.cpp",
"diff": "@@ -522,12 +522,13 @@ Future<Nothing> NetworkPortsIsolatorProcess::update(\nOption<Value::Ranges> ports = resources.po... | C++ | Apache License 2.0 | apache/mesos | Renamed an ambiguous variable in the `network/ports` isolator.
Review: https://reviews.apache.org/r/67271/ |
46,053 | 25.05.2018 09:08:02 | -28,800 | a4492f7767ef056bc4ea11f17d61521d547f38aa | Ensured that `wait()` and `destroy()` return the same result.
We need to return the same `ContainerTermination` result for both
`wait()` and `destroy()` for a terminated container. This patch
ensures that for a terminated nested container `destroy()` returns
the same result as for `wait()`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/composing.cpp",
"new_path": "src/slave/containerizer/composing.cpp",
"diff": "@@ -605,7 +605,10 @@ Future<Option<ContainerTermination>> ComposingContainerizerProcess::destroy(\n// Move this logging into the callers.\nLOG(WARNING) << \"A... | C++ | Apache License 2.0 | apache/mesos | Ensured that `wait()` and `destroy()` return the same result.
We need to return the same `ContainerTermination` result for both
`wait()` and `destroy()` for a terminated container. This patch
ensures that for a terminated nested container `destroy()` returns
the same result as for `wait()`.
Review: https://reviews.ap... |
46,053 | 25.05.2018 09:08:08 | -28,800 | bf901dad031e4f9d55832fa9eb38455ba9639809 | Updated composing containerizer tests.
This patch updates composing containerizer tests in order to be
consistent with the unification of `destroy()` and `wait()` return
types.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/composing_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/composing_containerizer_tests.cpp",
"diff": "@@ -63,8 +63,7 @@ class ComposingContainerizerTest : public MesosTest {};\n// underlying containerizer's destroy (beca... | C++ | Apache License 2.0 | apache/mesos | Updated composing containerizer tests.
This patch updates composing containerizer tests in order to be
consistent with the unification of `destroy()` and `wait()` return
types.
Review: https://reviews.apache.org/r/66671/ |
46,053 | 25.05.2018 09:08:13 | -28,800 | 3d156db1b02fdd607246a899d399fe5010a1c560 | Enabled composing containerizer as a default containerizer in tests.
This patch enforces all tests that start an agent to use composing
containerizer. This is needed to make sure that composing containerizer
is fairly covered by tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/cluster.cpp",
"new_path": "src/tests/cluster.cpp",
"diff": "#include \"slave/slave.hpp\"\n#include \"slave/task_status_update_manager.hpp\"\n+#include \"slave/containerizer/composing.hpp\"\n#include \"slave/containerizer/containerizer.hpp\"\n#include... | C++ | Apache License 2.0 | apache/mesos | Enabled composing containerizer as a default containerizer in tests.
This patch enforces all tests that start an agent to use composing
containerizer. This is needed to make sure that composing containerizer
is fairly covered by tests.
Review: https://reviews.apache.org/r/66817/ |
46,053 | 25.05.2018 09:08:18 | -28,800 | a8eac5bb33fd23e4fc114e8941cde0a666a17e84 | Removed extra `containerizer->wait()` calls in tests.
Previously, `wait()` and `destroy()` containerizer methods returned
different types, so it was necessarry to call `wait()` before calling
`destroy()` to get the process's exit status. Now, as both methods
return `ContainerTermination`, we can get rid of redundant `w... | [
{
"change_type": "MODIFY",
"old_path": "src/tests/cluster.cpp",
"new_path": "src/tests/cluster.cpp",
"diff": "@@ -673,18 +673,16 @@ Slave::~Slave()\n}\nforeach (const ContainerID& containerId, containers.get()) {\n- process::Future<Option<ContainerTermination>> wait =\n- containerizer->wait(containe... | C++ | Apache License 2.0 | apache/mesos | Removed extra `containerizer->wait()` calls in tests.
Previously, `wait()` and `destroy()` containerizer methods returned
different types, so it was necessarry to call `wait()` before calling
`destroy()` to get the process's exit status. Now, as both methods
return `ContainerTermination`, we can get rid of redundant `... |
46,053 | 25.05.2018 09:08:28 | -28,800 | b549c9cac15100cc0497aaa41073be16f678e14a | Updated comments related to `wait`, `destroy` containerizer methods.
This patch updates description of `wait()` and `destroy()` methods
of the containerizer API.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/containerizer.hpp",
"new_path": "src/slave/containerizer/containerizer.hpp",
"diff": "@@ -128,18 +128,18 @@ public:\n// Wait on the 'ContainerTermination'. If the executor terminates,\n// the containerizer should also destroy the contai... | C++ | Apache License 2.0 | apache/mesos | Updated comments related to `wait`, `destroy` containerizer methods.
This patch updates description of `wait()` and `destroy()` methods
of the containerizer API.
Review: https://reviews.apache.org/r/67130/ |
46,053 | 25.05.2018 09:08:37 | -28,800 | a1ce9ad6227d7871d8409fcfee519a63dc812a0c | Restored `WaitAfterDestroy` test for a nested container.
This test was removed in but it's important to check that
after termination of a nested container, its termination status is
available. This property is used in default executor.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp",
"diff": "@@ -2579,6 +2579,93 @@ TEST_F(NestedMesosContainerizerTest,\nASSERT_FALSE(containers->contains(containerId));\n}... | C++ | Apache License 2.0 | apache/mesos | Restored `WaitAfterDestroy` test for a nested container.
This test was removed in fd4b9af147, but it's important to check that
after termination of a nested container, its termination status is
available. This property is used in default executor.
Review: https://reviews.apache.org/r/65505/ |
46,053 | 25.05.2018 09:08:43 | -28,800 | d2ab700cdc76056155d60b77fe0f4a210b59723d | Added test to verify presence of nested container termination status.
This test verifies that both mesos and composing containerizers
maintain the contract described in the Containerizer API regarding
availability of a termination status for terminated nested containers.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp",
"diff": "#include \"linux/cgroups.hpp\"\n#include \"linux/ns.hpp\"\n+#include \"slave/containerizer/composing.hpp\"\n+\n#... | C++ | Apache License 2.0 | apache/mesos | Added test to verify presence of nested container termination status.
This test verifies that both mesos and composing containerizers
maintain the contract described in the Containerizer API regarding
availability of a termination status for terminated nested containers.
Review: https://reviews.apache.org/r/67135/ |
46,188 | 24.05.2018 22:14:02 | 25,200 | 2e874dc98fa6fdfc657b2f8568fdce0c871b8c5e | Fixed an issue with an older shell in a slave test.
Used `-eq` instead of `==` for the uid test so that it works on all
platforms that we support. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_tests.cpp",
"new_path": "src/tests/slave_tests.cpp",
"diff": "@@ -1069,7 +1069,7 @@ TEST_F(SlaveTest, ROOT_UNPRIVILEGED_USER_RunTaskWithCommandInfoWithUser)\nTaskInfo task = createTask(\noffers->at(0),\n- \"test `id -u` == \" + stringify(uid.ge... | C++ | Apache License 2.0 | apache/mesos | Fixed an issue with an older shell in a slave test.
Used `-eq` instead of `==` for the uid test so that it works on all
platforms that we support. |
46,053 | 25.05.2018 21:33:10 | -28,800 | fcc8ca168523c4bd5b3c1b748a60c8926fe66ef5 | Fixed flaky `TerminatedNestedStatus` test.
This patch adds call of `destroy()` for a parent container.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/nested_mesos_containerizer_tests.cpp",
"diff": "@@ -2761,6 +2761,15 @@ TEST_F(NestedMesosContainerizerTest, ROOT_CGROUPS_TerminatedNestedStatus)\nASSERT_SOME(ne... | C++ | Apache License 2.0 | apache/mesos | Fixed flaky `TerminatedNestedStatus` test.
This patch adds call of `destroy()` for a parent container.
Review: https://reviews.apache.org/r/67317/ |
46,090 | 25.05.2018 14:52:24 | 25,200 | 9accd9bd75eeedac54679eb5064ed308f2da71f6 | Windows: Fixed `ROOT_DOCKER_DockerHealthStatusChange` test.
The `ROOT_DOCKER_DockerHealthStatusChange` was broken if the test ran
in a drive other than `C:\`, since only `C:\` exists in the docker
container with the default settings. The test was changed to hardcode
the `C:\` drive on Windows.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/health_check_tests.cpp",
"new_path": "src/tests/health_check_tests.cpp",
"diff": "@@ -2553,11 +2553,13 @@ TEST_F(DockerContainerizerHealthCheckTest, ROOT_DOCKER_DockerHealthStatusChange)\n//\n// NOTE: On Windows, we delete a temporary directory inste... | C++ | Apache License 2.0 | apache/mesos | Windows: Fixed `ROOT_DOCKER_DockerHealthStatusChange` test.
The `ROOT_DOCKER_DockerHealthStatusChange` was broken if the test ran
in a drive other than `C:\`, since only `C:\` exists in the docker
container with the default settings. The test was changed to hardcode
the `C:\` drive on Windows.
Review: https://reviews... |
46,190 | 25.05.2018 18:04:06 | 25,200 | 285d82080748cd69044c226950274c7046048c4b | Updated presentations formatting and simplified site readme.
This closes | [
{
"change_type": "MODIFY",
"old_path": "docs/presentations.md",
"new_path": "docs/presentations.md",
"diff": "@@ -4,48 +4,38 @@ layout: documentation\n---\n# Video and Slides of Mesos Presentations\n-_(Listed in date descending order)_\n+_(Listed in reverse chronological order)_\n-## MesosCon Europe... | C++ | Apache License 2.0 | apache/mesos | Updated presentations formatting and simplified site readme.
This closes #291 |
46,057 | 29.05.2018 11:43:47 | -7,200 | 8fa4d322a0a4c6c87e21497559fd5d73ccc36133 | Removed unchecked access to an optional in checker process.
This could lead to an excutor crash when the id was set to
`None` between the check and the time it was accessed.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/checks/checker_process.cpp",
"new_path": "src/checks/checker_process.cpp",
"diff": "@@ -616,6 +616,8 @@ Future<int> CheckerProcess::nestedCommandCheck(\nagent::Call call;\ncall.set_type(agent::Call::REMOVE_NESTED_CONTAINER);\n+ mesos::ContainerID previousI... | C++ | Apache License 2.0 | apache/mesos | Removed unchecked access to an optional in checker process.
This could lead to an excutor crash when the id was set to
`None` between the check and the time it was accessed.
Review: https://reviews.apache.org/r/67345/ |
46,057 | 29.05.2018 17:27:51 | 25,200 | 521c8fe38054eee3ba87f100c7d7496794a89c3b | Added overloads for strings::startsWith and strings::endsWith().
This saves an unnecessary memory allocation when
testing if a string starts or ends with a string literal.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/strings.hpp",
"new_path": "3rdparty/stout/include/stout/strings.hpp",
"diff": "#define __STOUT_STRINGS_HPP__\n#include <algorithm>\n+#include <cstring>\n#include <map>\n#include <sstream>\n#include <string>\n@@ -384,6 +385,14 @@ in... | C++ | Apache License 2.0 | apache/mesos | Added overloads for strings::startsWith and strings::endsWith().
This saves an unnecessary memory allocation when
testing if a string starts or ends with a string literal.
Review: https://reviews.apache.org/r/63367/ |
46,080 | 29.05.2018 17:40:43 | 25,200 | 04ef101b8a1df7a66c07a12cdaa926c35fdd608f | Moved the working groups page to the bottom of the community page.
moved the content from the Working Groups page to the Community page.
added API working group to the Community page.
removed the old Working Groups page.
redirected the old Working Groups URL to the Community page.
This closes | [
{
"change_type": "DELETE",
"old_path": "docs/working-groups.md",
"new_path": null,
"diff": "----\n-title: Apache Mesos - Working Groups\n-layout: documentation\n----\n-\n-# Working Groups\n-\n-A working group is a group of people who are interested in actively participating in specific area of the p... | C++ | Apache License 2.0 | apache/mesos | Moved the working groups page to the bottom of the community page.
-moved the content from the Working Groups page to the Community page.
-added API working group to the Community page.
-removed the old Working Groups page.
-redirected the old Working Groups URL to the Community page.
This closes #293 |
46,103 | 30.05.2018 09:24:30 | -7,200 | ddffff25f5de1000623f8cf1e9be814fdce3b4ce | Added libprocess example code to build.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/CMakeLists.txt",
"new_path": "3rdparty/libprocess/CMakeLists.txt",
"diff": "add_subdirectory(src)\nadd_subdirectory(src/tests)\n+add_subdirectory(examples)\n"
},
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/Makefi... | C++ | Apache License 2.0 | apache/mesos | Added libprocess example code to build.
Review: https://reviews.apache.org/r/67280/ |
46,172 | 30.05.2018 13:39:53 | -7,200 | e287647d77bf7dce9a39ce971bf9aafa46d4011c | Updated python.m4 to be compatible with Python 3.
This updates `python.m4` to upstream `596e9e1` (commit in automake
repo). The Mesos patch has been removed as upstream now can e.g.,
detect python2.6.
Review: | [
{
"change_type": "MODIFY",
"old_path": "m4/python.m4",
"new_path": "m4/python.m4",
"diff": "## From Andrew Dalke\n## Updated by James Henstridge\n## ------------------------\n-# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005\n-# Free Software Foundation, Inc.\n+# Copyright (C) 1999-2018 Free... | C++ | Apache License 2.0 | apache/mesos | Updated python.m4 to be compatible with Python 3.
This updates `python.m4` to upstream `596e9e1` (commit in automake
repo). The Mesos patch has been removed as upstream now can e.g.,
detect python2.6.
Review: https://reviews.apache.org/r/67318/ |
46,165 | 24.05.2018 19:29:45 | 25,200 | d95f9842cfebb8805f6262ed1eaf0f6f68088701 | Updated the discard(futures) to take any collection.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/future.hpp",
"new_path": "3rdparty/libprocess/include/process/future.hpp",
"diff": "@@ -990,19 +990,10 @@ Future<Future<T>> select(const std::set<Future<T>>& futures)\n}\n-template <typename T>\n-void discard(const std::set<... | C++ | Apache License 2.0 | apache/mesos | Updated the discard(futures) to take any collection.
Review: https://reviews.apache.org/r/67309 |
46,188 | 30.05.2018 19:25:55 | 25,200 | 6ae44980c47ed99216edc81c8d4b3ad1255cd711 | Fixed a compile warning regarding signed and unsigned integers. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/resources_tests.cpp",
"new_path": "src/tests/resources_tests.cpp",
"diff": "@@ -1938,7 +1938,8 @@ TEST(ResourcesTest, AbsentResources)\n{\nTry<Resources> resources = Resources::parse(\"gpus:0\");\nASSERT_SOME(resources);\n- EXPECT_EQ(0, resources->si... | C++ | Apache License 2.0 | apache/mesos | Fixed a compile warning regarding signed and unsigned integers. |
46,165 | 24.05.2018 19:23:14 | 25,200 | 874ca10276f0e125c7745ba0d6800dbbc6240244 | Updated hashmap and LinkedHashMap to return vectors from values().
std::vector is preferred over std::list for performance since we
usually use the returned list as a constant copy of keys or values.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/hashmap.hpp",
"new_path": "3rdparty/stout/include/stout/hashmap.hpp",
"diff": "#include <functional>\n#include <iosfwd>\n-#include <list>\n#include <map>\n#include <unordered_map>\n#include <utility>\n+#include <vector>\n#include \... | C++ | Apache License 2.0 | apache/mesos | Updated hashmap and LinkedHashMap to return vectors from values().
std::vector is preferred over std::list for performance since we
usually use the returned list as a constant copy of keys or values.
Review: https://reviews.apache.org/r/67310 |
46,165 | 24.05.2018 19:32:48 | 25,200 | c69433331710ccf75686aa8ba7e8d1326c501aa9 | Updated await/collect to use vector instead of list.
This integrates with the stout updates for hashmap and LinkedHashmap
to return vectors instead of lists.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/collect.hpp",
"new_path": "3rdparty/libprocess/include/process/collect.hpp",
"diff": "#define __PROCESS_COLLECT_HPP__\n#include <functional>\n-#include <list>\n#include <tuple>\n+#include <vector>\n#include <process/check.hp... | C++ | Apache License 2.0 | apache/mesos | Updated await/collect to use vector instead of list.
This integrates with the stout updates for hashmap and LinkedHashmap
to return vectors instead of lists.
Review: https://reviews.apache.org/r/67311 |
46,103 | 31.05.2018 10:10:49 | -7,200 | 4760a777ee36312f3fa8da484a6d93db6bf40416 | Used `*_SOME` macro for checking `Try` values in stout.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/none_tests.cpp",
"new_path": "3rdparty/stout/tests/none_tests.cpp",
"diff": "#include <string>\n-#include <gtest/gtest.h>\n-\n#include <gmock/gmock.h>\n+#include <stout/gtest.hpp>\n#include <stout/none.hpp>\n#include <stout/option.hpp>\n#i... | C++ | Apache License 2.0 | apache/mesos | Used `*_SOME` macro for checking `Try` values in stout.
Review: https://reviews.apache.org/r/67210/ |
46,103 | 31.05.2018 10:10:53 | -7,200 | cb7c88fd7057815f72269dfb74c227a6dd827551 | Used `*_SOME` macro for checking `Try` values in libprocess.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/tests/http_tests.cpp",
"new_path": "3rdparty/libprocess/src/tests/http_tests.cpp",
"diff": "@@ -2083,9 +2083,7 @@ TEST_F(HttpAuthenticationTest, JWT)\nTry<JWT, JWTError> jwt = JWT::create(payload, \"a different secret\");\n- // TODO(nfn... | C++ | Apache License 2.0 | apache/mesos | Used `*_SOME` macro for checking `Try` values in libprocess.
Review: https://reviews.apache.org/r/67211/ |
46,103 | 31.05.2018 10:10:58 | -7,200 | 228193754b67fda06d045521856ba3d3ed610f4e | Used `*_SOME` macro for checking `Try` values.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/master_quota_tests.cpp",
"new_path": "src/tests/master_quota_tests.cpp",
"diff": "@@ -529,7 +529,7 @@ TEST_F(MasterQuotaTest, Status)\n// Convert JSON response to `QuotaStatus` protobuf.\nconst Try<QuotaStatus> status = ::protobuf::parse<QuotaStatus>... | C++ | Apache License 2.0 | apache/mesos | Used `*_SOME` macro for checking `Try` values.
Review: https://reviews.apache.org/r/67212/ |
46,129 | 31.05.2018 13:58:03 | 25,200 | 3f4fc91f34185101357b13683acd44053745c6f7 | Added Mesos 1.5.1 release blog post. | [
{
"change_type": "MODIFY",
"old_path": "site/data/releases.yml",
"new_path": "site/data/releases.yml",
"diff": "@@ -15,6 +15,10 @@ news:\n## - title: (required)\n## date: (required)\n## blog: (required)\n+ - title: Mesos 1.5.1 is released!\n+ date: May 31, 2018\n+ blog: mesos-1-5-1-released\n+ targe... | C++ | Apache License 2.0 | apache/mesos | Added Mesos 1.5.1 release blog post. |
46,129 | 31.05.2018 15:43:30 | 25,200 | 5add403fa12462600e551ce07ce5da9f7376d6ac | Added Mesos 1.6.0 release JIRA version to release.yml. | [
{
"change_type": "MODIFY",
"old_path": "site/data/releases.yml",
"new_path": "site/data/releases.yml",
"diff": "@@ -166,6 +166,8 @@ versions:\n## after we create the ReleaseNote for 0.28.1, we get the link:\n## https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311242&version=1233535... | C++ | Apache License 2.0 | apache/mesos | Added Mesos 1.6.0 release JIRA version to release.yml. |
46,129 | 31.05.2018 15:47:49 | 25,200 | ab484fc1b6a342f2b8683498d546aa9fb114e0a9 | Added Mesos 1.5.1 release JIRA version to release.yml. | [
{
"change_type": "MODIFY",
"old_path": "site/data/releases.yml",
"new_path": "site/data/releases.yml",
"diff": "@@ -166,6 +166,8 @@ versions:\n## after we create the ReleaseNote for 0.28.1, we get the link:\n## https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311242&version=1233535... | C++ | Apache License 2.0 | apache/mesos | Added Mesos 1.5.1 release JIRA version to release.yml. |
46,087 | 17.05.2018 17:45:06 | 25,200 | 5bdea1951a63b92dacc4b97ca5dd8b2e86467f98 | Added a unit test for SLRP operation state metrics.
This patch adds the `ROOT_OperationStateMetrics` test that issues a
`CREATE_VOLUME` followed by two `DESTROY_VOLUME`s. The first one will
fail due to an out-of-band deletion of the actual volume, and the second
one will fail due to modifying the resource version.
Revi... | [
{
"change_type": "MODIFY",
"old_path": "src/tests/storage_local_resource_provider_tests.cpp",
"new_path": "src/tests/storage_local_resource_provider_tests.cpp",
"diff": "@@ -56,9 +56,9 @@ using mesos::master::detector::StandaloneMasterDetector;\nusing process::Clock;\nusing process::Future;\nusing p... | C++ | Apache License 2.0 | apache/mesos | Added a unit test for SLRP operation state metrics.
This patch adds the `ROOT_OperationStateMetrics` test that issues a
`CREATE_VOLUME` followed by two `DESTROY_VOLUME`s. The first one will
fail due to an out-of-band deletion of the actual volume, and the second
one will fail due to modifying the resource version.
Re... |
46,103 | 31.05.2018 15:58:44 | 25,200 | 9c8eee35dd317ddd193e2f3bc726cd8adea770b2 | Added tests of resource provider registrar recovery.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/resource_provider_manager_tests.cpp",
"new_path": "src/tests/resource_provider_manager_tests.cpp",
"diff": "#include <mesos/resources.hpp>\n#include <mesos/state/in_memory.hpp>\n+#include <mesos/state/leveldb.hpp>\n#include <mesos/state/state.hpp>\n#... | C++ | Apache License 2.0 | apache/mesos | Added tests of resource provider registrar recovery.
Review: https://reviews.apache.org/r/67009/ |
46,103 | 04.06.2018 10:42:51 | -7,200 | 8a03476eb371b63a39e26392f670b3a64be886ca | Removed unused libprocess test tools.
Review: | [
{
"change_type": "DELETE",
"old_path": "3rdparty/libprocess/src/test-master.cpp",
"new_path": null,
"diff": "-// Licensed under the Apache License, Version 2.0 (the \"License\");\n-// you may not use this file except in compliance with the License.\n-// You may obtain a copy of the License at\n-//\n... | C++ | Apache License 2.0 | apache/mesos | Removed unused libprocess test tools.
Review: https://reviews.apache.org/r/67431/ |
46,056 | 04.06.2018 13:40:29 | -7,200 | 708376ebdffbfd6c7113271dd7df13737cb8b8c3 | Minor fix in reservation.md. | [
{
"change_type": "MODIFY",
"old_path": "docs/reservation.md",
"new_path": "docs/reservation.md",
"diff": "@@ -327,8 +327,8 @@ It can then be refined to be __reserved__ for `\"engineering/backend\"`.\nNote that the refined reservation role must match the offer's allocation role.\n-Suppose we receive ... | C++ | Apache License 2.0 | apache/mesos | Minor fix in reservation.md. |
46,103 | 04.06.2018 11:56:56 | -7,200 | 01b2d8c22f06ed842b660a1492c81d9d5323f9ef | Updated mesos-tidy setup to be based on upstream 6.0 release.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/mesos-tidy/Dockerfile",
"new_path": "support/mesos-tidy/Dockerfile",
"diff": "@@ -38,9 +38,9 @@ RUN curl -sSL https://cmake.org/files/v3.8/cmake-3.8.2-Linux-x86_64.sh \\\nsh /tmp/install-cmake.sh --skip-license --prefix=/usr/local\nRUN \\\n- git clone ... | C++ | Apache License 2.0 | apache/mesos | Updated mesos-tidy setup to be based on upstream 6.0 release.
Review: https://reviews.apache.org/r/66035/ |
46,056 | 04.06.2018 16:31:38 | -7,200 | 4e6d8047fd127745ef10463818dadc2399732961 | Sent task (health) check updates over the operator streaming API.
With this patch subscribers to the master operator streaming API
start receiving task health (check) updates. This allows subscribers
to maintain more accurate view of the cluster's state, closer to
what the traditional `state.json` endpoint offers.
Revi... | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -10811,6 +10811,13 @@ void Master::updateTask(Task* task, const StatusUpdate& update)\ntask->set_state(latestState.getOrElse(status.state()));\n}\n+ // If this is a (health) check status ... | C++ | Apache License 2.0 | apache/mesos | Sent task (health) check updates over the operator streaming API.
With this patch subscribers to the master operator streaming API
start receiving task health (check) updates. This allows subscribers
to maintain more accurate view of the cluster's state, closer to
what the traditional `state.json` endpoint offers.
Re... |
46,165 | 02.06.2018 21:23:08 | 14,400 | 0912ff8aa7f283994fbdbaa9f6a95a114310af5e | Introduced a weighted shuffle algorithm implementation.
This will be used by the random sorter in order to support weights.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -1168,6 +1168,7 @@ libmesos_no_3rdparty_la_SOURCES += \\\nmaster/allocator/sorter/sorter.hpp \\\nmaster/allocator/sorter/drf/metrics.hpp \\\nmaster/allocator/sorter/drf/sorter.hpp \\\n+ master/alloca... | C++ | Apache License 2.0 | apache/mesos | Introduced a weighted shuffle algorithm implementation.
This will be used by the random sorter in order to support weights.
Review: https://reviews.apache.org/r/67369/ |
46,165 | 02.06.2018 21:25:58 | 14,400 | c9911766a57d0abd11c47276a10e21d4cbee7124 | Added a test for weighted shuffling.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/sorter_tests.cpp",
"new_path": "src/tests/sorter_tests.cpp",
"diff": "#include \"master/allocator/sorter/drf/sorter.hpp\"\n+#include \"master/allocator/sorter/random/utils.hpp\"\n+\n#include \"tests/mesos.hpp\"\n#include \"tests/resources_utils.hpp\"... | C++ | Apache License 2.0 | apache/mesos | Added a test for weighted shuffling.
Review: https://reviews.apache.org/r/67370/ |
46,165 | 04.06.2018 15:04:05 | 14,400 | 4356fea756c466a4f9824b0b647879fada3e4dc5 | Updated sorter tests to run against multiple sorters where possible.
Several of the sorter tests, including the benchmarks, were agnostic
to the sorter implementation. These have been updated to run for both
`DRFSorter` and `RandomSorter`. The remainder have been updated to
be called DRFSorter tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/sorter_tests.cpp",
"new_path": "src/tests/sorter_tests.cpp",
"diff": "#include \"master/allocator/sorter/drf/sorter.hpp\"\n+#include \"master/allocator/sorter/random/sorter.hpp\"\n#include \"master/allocator/sorter/random/utils.hpp\"\n#include \"test... | C++ | Apache License 2.0 | apache/mesos | Updated sorter tests to run against multiple sorters where possible.
Several of the sorter tests, including the benchmarks, were agnostic
to the sorter implementation. These have been updated to run for both
`DRFSorter` and `RandomSorter`. The remainder have been updated to
be called DRFSorter tests.
Review: https://... |
46,165 | 04.06.2018 15:17:19 | 14,400 | b8c635d7205305ce09fd158a035f94c8baef93c7 | Added typedefs for using the allocator with random sorters.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.hpp",
"new_path": "src/master/allocator/mesos/hierarchical.hpp",
"diff": "#include \"master/allocator/mesos/metrics.hpp\"\n#include \"master/allocator/sorter/drf/sorter.hpp\"\n+#include \"master/allocator/sorter/random/s... | C++ | Apache License 2.0 | apache/mesos | Added typedefs for using the allocator with random sorters.
Review: https://reviews.apache.org/r/67373/ |
46,165 | 04.06.2018 15:17:39 | 14,400 | cacc1dbfc4ee5b72f08c32e7ccc39221091715a8 | Updated flags to support choosing the random sorter.
This deprecates `--user_sorter` in favor of `--role_sorter`.
This patch also modifies the `--allocator` default to exclude "DRF"
from the value, while still ensuring the previous default works.
For now, both sorter flags must be set to `drf` or `random`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/allocator/allocator.hpp",
"new_path": "include/mesos/allocator/allocator.hpp",
"diff": "@@ -60,9 +60,15 @@ public:\n* allocator instance from a module using the given name. If `Try`\n* does not report an error, the wrapped `Allocator*` is not nul... | C++ | Apache License 2.0 | apache/mesos | Updated flags to support choosing the random sorter.
This deprecates `--user_sorter` in favor of `--role_sorter`.
This patch also modifies the `--allocator` default to exclude "DRF"
from the value, while still ensuring the previous default works.
For now, both sorter flags must be set to `drf` or `random`.
Review: ... |
46,147 | 04.06.2018 13:44:20 | 25,200 | 894d06e8c50d5080ea0a0e43400adc34b06717ad | Added a stout utility header which interfaces with libarchive.
This archiver utility can be invoked to extract an archive with several
supported compression formats, including `.zip`, `.gz`, `.bz2`,
and `.xz` formats.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/CMakeLists.txt",
"new_path": "3rdparty/stout/CMakeLists.txt",
"diff": "@@ -29,6 +29,7 @@ target_link_libraries(\npicojson\nprotobuf\nThreads::Threads\n+ libarchive\nzlib\n$<$<PLATFORM_ID:Linux>:rt dl svn>\n$<$<PLATFORM_ID:Darwin>:svn>\n"
},
... | C++ | Apache License 2.0 | apache/mesos | Added a stout utility header which interfaces with libarchive.
This archiver utility can be invoked to extract an archive with several
supported compression formats, including `.zip`, `.gz`, `.bz2`,
and `.xz` formats.
Review: https://reviews.apache.org/r/67065/ |
46,147 | 04.06.2018 14:12:00 | 25,200 | 2198b961d24b788564d36490cf52f78d7ec07655 | Modified the fetcher to use libarchive for extraction.
This replaces the fetcher's behavior of shelling out to
`tar -C <destination> -xf <source>` to extract most archive types.
The end result should be identical.
This patch enables the extraction of these formats on Windows.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/launcher/fetcher.cpp",
"new_path": "src/launcher/fetcher.cpp",
"diff": "#include <process/owned.hpp>\n#include <process/subprocess.hpp>\n+#include <stout/archiver.hpp>\n#include <stout/json.hpp>\n#include <stout/net.hpp>\n#include <stout/option.hpp>\n@@ -8... | C++ | Apache License 2.0 | apache/mesos | Modified the fetcher to use libarchive for extraction.
This replaces the fetcher's behavior of shelling out to
`tar -C <destination> -xf <source>` to extract most archive types.
The end result should be identical.
This patch enables the extraction of these formats on Windows.
Review: https://reviews.apache.org/r/670... |
46,094 | 06.06.2018 13:11:39 | 25,200 | a17036065877584393a7ae75b26595e2420ee8a8 | Added Kjetil Joergensen to contributors.yaml.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "jira_user: klueska\nreviewboard_user: klueska\n+- name: Kjetil Joergensen\n+ affiliations:\n+ - {organization: Medallia Inc.}\n+ emails:\n+ - kjetijor@gmail.com\n+ - kjetil@medallia.com\n+... | C++ | Apache License 2.0 | apache/mesos | Added Kjetil Joergensen to contributors.yaml.
Review: https://reviews.apache.org/r/67478/ |
46,172 | 07.06.2018 09:29:36 | 25,200 | d05c8cad7e6d0f9d86790f0cf3a81568e122b61a | Fixed type error when using `check_output` in Python 3 scripts.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/python3/generate-endpoint-help.py",
"new_path": "support/python3/generate-endpoint-help.py",
"diff": "@@ -94,7 +94,9 @@ class Subprocess(object):\n# A pointer to the top level directory of the mesos project.\nGIT_TOP_DIR = subprocess.check_output(\n- [... | C++ | Apache License 2.0 | apache/mesos | Fixed type error when using `check_output` in Python 3 scripts.
Review: https://reviews.apache.org/r/67463/ |
46,114 | 07.06.2018 09:29:21 | 25,200 | e05342b94293a10ac6e7c55d55a725735a1fc391 | Fixed `python3/mesos-style.py`.
The `cpplint.py` file was made to be single-source compatible with
both Python 2 and Python 3, but `mesos-style.py` was erroneously
changed to look for a copy of it under `support/python3`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/python3/mesos-style.py",
"new_path": "support/python3/mesos-style.py",
"diff": "@@ -277,7 +277,7 @@ class CppLinter(LinterBase):\n# We do not use a version of cpplint available through pip as\n# we use a custom version (see cpplint.path) to lint C++ fi... | C++ | Apache License 2.0 | apache/mesos | Fixed `python3/mesos-style.py`.
The `cpplint.py` file was made to be single-source compatible with
both Python 2 and Python 3, but `mesos-style.py` was erroneously
changed to look for a copy of it under `support/python3`.
Review: https://reviews.apache.org/r/67464/ |
46,129 | 04.04.2018 13:39:59 | 25,200 | d24ef1741f5bef69be95319cd29893a3ce4a6d73 | Made agent flag '--hadoop_home' as optional.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration/agent.md",
"new_path": "docs/configuration/agent.md",
"diff": "@@ -890,7 +890,7 @@ be a value between 0.0 and 1.0 (default: 0.1)\nPath to find Hadoop installed (for\nfetching framework executors from HDFS)\n(no default, look for <code>HADOOP... | C++ | Apache License 2.0 | apache/mesos | Made agent flag '--hadoop_home' as optional.
Review: https://reviews.apache.org/r/66559 |
46,129 | 11.04.2018 14:42:16 | 25,200 | 44d0ef1484c111750b519d5f3210d8fa6aee9c85 | Removed an invalid TODO in puller.cpp.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/mesos/provisioner/docker/puller.cpp",
"new_path": "src/slave/containerizer/mesos/provisioner/docker/puller.cpp",
"diff": "@@ -36,7 +36,6 @@ Try<Owned<Puller>> Puller::create(\nconst Shared<uri::Fetcher>& fetcher,\nSecretResolver* secret... | C++ | Apache License 2.0 | apache/mesos | Removed an invalid TODO in puller.cpp.
Review: https://reviews.apache.org/r/66650 |
46,129 | 15.04.2018 13:32:07 | 25,200 | b41a1701e5b5922e8bafa30ed7573cd4b9a66a69 | Supported host and port in hdfs constructor.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/uri/schemes/hdfs.hpp",
"new_path": "src/uri/schemes/hdfs.hpp",
"diff": "@@ -29,9 +29,12 @@ namespace uri {\n/**\n* Creates an hdfs URI with the given path.\n*/\n-inline URI hdfs(const std::string& path)\n+inline URI hdfs(\n+ const std::string& path,\n+ con... | C++ | Apache License 2.0 | apache/mesos | Supported host and port in hdfs constructor.
Review: https://reviews.apache.org/r/66651 |
46,129 | 10.04.2018 19:28:43 | 25,200 | 044aa6f90def775d9d2e7172320119b181e71575 | Supported hdfs fetching in local puller.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration/agent.md",
"new_path": "docs/configuration/agent.md",
"diff": "@@ -621,10 +621,12 @@ recovers.\n<td>\nThe default url for Mesos containerizer to pull Docker images. It could\neither be a Docker registry server url (i.e: <code>https://registr... | C++ | Apache License 2.0 | apache/mesos | Supported hdfs fetching in local puller.
Review: https://reviews.apache.org/r/66561 |
46,129 | 10.04.2018 23:39:20 | 25,200 | af531b6d3b83b55c81a0fa66bdd005fafa8220cb | Added test for local puller hdfs uri fetcher plugin.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/provisioner_docker_tests.cpp",
"new_path": "src/tests/containerizer/provisioner_docker_tests.cpp",
"diff": "@@ -459,6 +459,148 @@ TEST_F(ProvisionerDockerTest, ROOT_LocalPullerSimpleCommand)\n}\n+class ProvisionerDockerHdfsTest\n+ : pub... | C++ | Apache License 2.0 | apache/mesos | Added test for local puller hdfs uri fetcher plugin.
Review: https://reviews.apache.org/r/66562 |
46,129 | 16.04.2018 22:22:05 | 25,200 | c185752b71850ac79901bbe441851f8b5bcc3f7c | Renamed local_puller to image_tar_puller.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/CMakeLists.txt",
"new_path": "src/CMakeLists.txt",
"diff": "@@ -175,7 +175,7 @@ set(AGENT_SRC\nslave/containerizer/mesos/provisioner/appc/paths.cpp\nslave/containerizer/mesos/provisioner/appc/store.cpp\nslave/containerizer/mesos/provisioner/backends/copy.c... | C++ | Apache License 2.0 | apache/mesos | Renamed local_puller to image_tar_puller.
Review: https://reviews.apache.org/r/66652 |
46,090 | 07.06.2018 15:07:14 | 25,200 | 5e1d8627bbbf79eb00e7f4ddd111ba6109613e0b | Windows: Fixed incorrect return code for `os:kill`.
`os::kill` was returning the opposite error code than expected. It
was returning `KILL_FAIL` on success and `KILL_PASS` on error.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/windows/kill.hpp",
"new_path": "3rdparty/stout/include/stout/os/windows/kill.hpp",
"diff": "@@ -37,7 +37,7 @@ inline int kill_process(pid_t pid)\nSharedHandle safe_process_handle(process_handle, ::CloseHandle);\n- if (::Terminat... | C++ | Apache License 2.0 | apache/mesos | Windows: Fixed incorrect return code for `os:kill`.
`os::kill` was returning the opposite error code than expected. It
was returning `KILL_FAIL` on success and `KILL_PASS` on error.
Review: https://reviews.apache.org/r/67455/ |
46,103 | 11.06.2018 15:39:40 | -7,200 | bff6fdff1075a8e83d842ea01c6646326620cfa3 | Made some headers standalone.
This patch adds includes to two header files in stout so that the
headers are standalone.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/os/posix/copyfile.hpp",
"new_path": "3rdparty/stout/include/stout/os/posix/copyfile.hpp",
"diff": "#include <stout/stringify.hpp>\n#include <stout/try.hpp>\n+#include <stout/os/shell.hpp>\n#include <stout/os/stat.hpp>\nnamespace os... | C++ | Apache License 2.0 | apache/mesos | Made some headers standalone.
This patch adds includes to two header files in stout so that the
headers are standalone.
Review: https://reviews.apache.org/r/67521/ |
46,114 | 07.06.2018 15:53:06 | 25,200 | abef72521a9a74fe4d6e7c796d6c99f02ad811dd | Ported `EnvTest.EraseEnv` to Windows, with added comments.
The difference between `os::unsetenv` and `os::eraseenv` is important,
but subtle. Now the reason for the existence of `os::eraseenv` is
documented in comments.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/posix/os.hpp",
"new_path": "3rdparty/stout/include/stout/posix/os.hpp",
"diff": "@@ -166,18 +166,24 @@ inline void setenv(const std::string& key,\n// environment variables.\ninline void unsetenv(const std::string& key)\n{\n+ // NOT... | C++ | Apache License 2.0 | apache/mesos | Ported `EnvTest.EraseEnv` to Windows, with added comments.
The difference between `os::unsetenv` and `os::eraseenv` is important,
but subtle. Now the reason for the existence of `os::eraseenv` is
documented in comments.
Review: https://reviews.apache.org/r/67496/ |
46,111 | 01.06.2018 22:09:11 | 25,200 | 644ffc8e4b273afc0cdcb4053d8efa82d112d1b4 | Skipped metric for non existing paths in gc.
Previously, agent gc would increment the "failed" counter if the path
does not exist, but this should not be an issue. This patch skipped such
paths in both "failed" and "succeeded" counters.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/gc.cpp",
"new_path": "src/slave/gc.cpp",
"diff": "@@ -271,11 +271,17 @@ void GarbageCollectorProcess::remove(const Timeout& removalTime)\nTry<Nothing> rmdir = os::rmdir(info->path, true, true, true);\nif (rmdir.isError()) {\n+ // TODO(zhitao): Change... | C++ | Apache License 2.0 | apache/mesos | Skipped metric for non existing paths in gc.
Previously, agent gc would increment the "failed" counter if the path
does not exist, but this should not be an issue. This patch skipped such
paths in both "failed" and "succeeded" counters.
Review: https://reviews.apache.org/r/67423 |
46,111 | 01.06.2018 16:58:34 | 25,200 | d733b1031350e03bce443aa287044eb4eee1053a | Rewrote the `ROOT_BusyMountPoint` test to reflect updated behavior.
The current `ROOT_BusyMountPoint` test would fail because we added
support for unmounting dangling mount points in directory to gc. This
patch rewrote this test to reflect that after unmounting, the gc
succeeded, directory was gone and metrics were cor... | [
{
"change_type": "MODIFY",
"old_path": "src/tests/gc_tests.cpp",
"new_path": "src/tests/gc_tests.cpp",
"diff": "@@ -899,25 +899,29 @@ TEST_F(GarbageCollectorIntegrationTest, Unschedule)\n#ifdef __linux__\n-// In Mesos it's possible for tasks and isolators to lay down files\n-// that are not deletabl... | C++ | Apache License 2.0 | apache/mesos | Rewrote the `ROOT_BusyMountPoint` test to reflect updated behavior.
The current `ROOT_BusyMountPoint` test would fail because we added
support for unmounting dangling mount points in directory to gc. This
patch rewrote this test to reflect that after unmounting, the gc
succeeded, directory was gone and metrics were co... |
46,170 | 13.06.2018 09:47:56 | 25,200 | 324d41317bd9bc89ec67712faf4c7e20cf26ada3 | Added Bin Zheng to the contributors list.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "jira_user: bernd-mesos\nreviewboard_user: bernd-mesos\n+- name: Bin Zheng\n+ affilitations:\n+ - {organization: China Unicom}\n+ emails:\n+ - zhengbin@chinaunicom.cn\n+ jira_user: netrahat... | C++ | Apache License 2.0 | apache/mesos | Added Bin Zheng to the contributors list.
Review: https://reviews.apache.org/r/67538/ |
46,106 | 13.06.2018 09:48:16 | 25,200 | 6418abeb1e6bfae6e9a54b0e69c742be01dd596d | Added Yihua He to the contributor list.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "jira_user: yanyanhu\nreviewboard_user: yanyanhu\n+- name: Yihua He\n+ affiliations:\n+ - {organization: ASIAINFO}\n+ emails:\n+ - yhua.he@163.com\n+ jira_user: yhua\n+ reviewboard_user: yh... | C++ | Apache License 2.0 | apache/mesos | Added Yihua He to the contributor list.
Review: https://reviews.apache.org/r/67559/ |
46,140 | 13.06.2018 09:48:25 | 25,200 | dff60a0b9356700df4c161b57a812cd0cfce8f01 | Added LongFei Niu to contributors list.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "jira_user: chenlily\nreviewboard_user: chenlily\n+- name: LongFei Niu\n+ affiliations:\n+ - {organization: China Unicom}\n+ emails:\n+ - niulf5@chinaunicom.cn\n+ jira_user: smush618\n+ rev... | C++ | Apache License 2.0 | apache/mesos | Added LongFei Niu to contributors list.
Review: https://reviews.apache.org/r/67552/ |
46,114 | 13.06.2018 10:18:55 | 25,200 | e9b5e03005f3b3cc74bc43c63884d188c7bbefb2 | Fixed `push-commits.py` for Windows.
This script didn't work even before the port to Python 3, as
`os.path.join` cannot be used for joining URL components, as the
filesystem path separator on Windows is a backslash.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/python3/push-commits.py",
"new_path": "support/python3/push-commits.py",
"diff": "@@ -36,6 +36,7 @@ import argparse\nimport os\nimport re\nimport sys\n+import urllib.parse\nfrom subprocess import check_output\n@@ -62,8 +63,9 @@ def get_reviews(revision... | C++ | Apache License 2.0 | apache/mesos | Fixed `push-commits.py` for Windows.
This script didn't work even before the port to Python 3, as
`os.path.join` cannot be used for joining URL components, as the
filesystem path separator on Windows is a backslash.
Review: https://reviews.apache.org/r/67551/ |
46,114 | 13.06.2018 15:32:47 | 25,200 | 1b851877ff22cf2da193bb649dc838bb50c26b34 | Fixed use of rbt command in `push-commits.py` for Windows.
Same logic as `post-reviews.py`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/python3/push-commits.py",
"new_path": "support/python3/push-commits.py",
"diff": "@@ -34,6 +34,7 @@ Example Usage:\nimport argparse\nimport os\n+import platform\nimport re\nimport sys\nimport urllib.parse\n@@ -83,7 +84,11 @@ def close_reviews(reviews, ... | C++ | Apache License 2.0 | apache/mesos | Fixed use of rbt command in `push-commits.py` for Windows.
Same logic as `post-reviews.py`.
Review: https://reviews.apache.org/r/67580/ |
46,152 | 13.06.2018 15:56:20 | 25,200 | 281cf5dd7239dce5103ee34b64df2b785672271f | Whitelist inheritable file descriptors in libprocess.
This commit plumbs the list of whitelisted file descriptors through
the libprocess APIs.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/subprocess.hpp",
"new_path": "3rdparty/libprocess/include/process/subprocess.hpp",
"diff": "@@ -125,7 +125,8 @@ public:\nconst Option<lambda::function<\npid_t(const lambda::function<int()>&)>>& clone,\nconst std::vector<Subp... | C++ | Apache License 2.0 | apache/mesos | Whitelist inheritable file descriptors in libprocess.
This commit plumbs the list of whitelisted file descriptors through
the libprocess APIs.
Review: https://reviews.apache.org/r/67287/ |
46,057 | 14.06.2018 15:34:32 | -7,200 | ee14ed11fb307e652a32f1b421ab15795bd6160d | Moved RecordIO specification into separate file.
Created a new file 'docs/recordio.md' that expands upon the
description of the RecordIO data format which was previously
described in 'scheduler-http-api.md'.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/home.md",
"new_path": "docs/home.md",
"diff": "@@ -71,6 +71,7 @@ layout: documentation\n* [HTTP Endpoints](endpoints/) for available HTTP endpoints.\n* [API Client Libraries](api-client-libraries.md) lists client libraries for the HTTP APIs.\n* [API Versi... | C++ | Apache License 2.0 | apache/mesos | Moved RecordIO specification into separate file.
Created a new file 'docs/recordio.md' that expands upon the
description of the RecordIO data format which was previously
described in 'scheduler-http-api.md'.
Review: https://reviews.apache.org/r/67546/ |
46,057 | 14.06.2018 16:13:01 | -7,200 | 4189657d7e63ccc74f814ab82440ad47eba6cf11 | Removed static variable with non-constant initialization.
The static variable was initialized using a dynamic memory
allocation. This is against our coding style, and makes it
as easy as writing
static process::http::NotFound DEFAULT_RESPONSE;
for a user to introduce a potential segfault into his code.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/include/process/http.hpp",
"new_path": "3rdparty/libprocess/include/process/http.hpp",
"diff": "@@ -116,9 +116,8 @@ void unsetCallbacks();\n} // namespace authorization {\n-// Status code reason strings, from the HTTP1.1 RFC:\n-// http://ww... | C++ | Apache License 2.0 | apache/mesos | Removed static variable with non-constant initialization.
The static variable was initialized using a dynamic memory
allocation. This is against our coding style, and makes it
as easy as writing
static process::http::NotFound DEFAULT_RESPONSE;
for a user to introduce a potential segfault into his code.
Review: ... |
46,114 | 14.06.2018 13:45:20 | 25,200 | 62c5c3eee32ccbb895d59d69f04b1a774150f35a | Removed headers from `libprocess/src/CMakeList.txt`.
Header files are not necessary (and so are redundant) in CMake.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/CMakeLists.txt",
"new_path": "3rdparty/libprocess/src/CMakeLists.txt",
"diff": "@@ -27,38 +27,24 @@ endif ()\nset(PROCESS_SRC\nauthenticator.cpp\nauthenticator_manager.cpp\n- authenticator_manager.hpp\nclock.cpp\n- config.hpp\n- decoder... | C++ | Apache License 2.0 | apache/mesos | Removed headers from `libprocess/src/CMakeList.txt`.
Header files are not necessary (and so are redundant) in CMake.
Review: https://reviews.apache.org/r/67554/ |
46,127 | 14.06.2018 15:37:57 | 25,200 | d6de4b0dbb2caf8d874096e21ee5efeeaab75a69 | Added chenrc to the contributors list.
Added chenrc to the contributors list.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "jira_user: drcrallen\nreviewboard_user: drcrallen\n+- name: Chen Runcong\n+ affiliations:\n+ - {organization: Asiainfo}\n+ emails:\n+ - chenruncong@163.com\n+ jira_user: chenrc\n+ reviewbo... | C++ | Apache License 2.0 | apache/mesos | Added chenrc to the contributors list.
Added chenrc to the contributors list.
Review: https://reviews.apache.org/r/67579/ |
46,172 | 15.06.2018 15:17:09 | -7,200 | 3bf6eb7c88b7ea365c27fae2623322876ed2af45 | Broadened check for Autotools Python environment variables.
The checks now also apply if we run configure with disabled Python
bindings but enabled new CLI. Another check regarding the Python
version has been kept separated as we will use different Python
versions for both components in a later commit.
Review: | [
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -2253,7 +2253,8 @@ LIBS=\"$saved_LIBS\"\n# LDFLAGS, ...) beyond this line.\n# Perform necessary configuration for building with Python.\n-if test \"x$enable_python\" = \"xyes\"; then\n+if test \"x$enable_p... | C++ | Apache License 2.0 | apache/mesos | Broadened check for Autotools Python environment variables.
The checks now also apply if we run configure with disabled Python
bindings but enabled new CLI. Another check regarding the Python
version has been kept separated as we will use different Python
versions for both components in a later commit.
Review: https:... |
46,053 | 15.06.2018 15:23:27 | -7,200 | 20edb8caa394b41521bc70f39664bb97fe2e1791 | Removed `os::getenv()` calls from `MesosExecutorDriver`.
This patch adds overloaded constructor for `MesosExecutorDriver` that
accepts `environment` parameter and stores it in the class variable.
This new constructor is needed to get rid of `os::getenv()` calls,
so that `MesosExecutorDriver` can be used in tests that r... | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/executor.hpp",
"new_path": "include/mesos/executor.hpp",
"diff": "#ifndef __MESOS_EXECUTOR_HPP__\n#define __MESOS_EXECUTOR_HPP__\n+#include <map>\n#include <mutex>\n#include <string>\n@@ -213,8 +214,20 @@ class MesosExecutorDriver : public Execut... | C++ | Apache License 2.0 | apache/mesos | Removed `os::getenv()` calls from `MesosExecutorDriver`.
This patch adds overloaded constructor for `MesosExecutorDriver` that
accepts `environment` parameter and stores it in the class variable.
This new constructor is needed to get rid of `os::getenv()` calls,
so that `MesosExecutorDriver` can be used in tests that ... |
46,053 | 15.06.2018 15:23:32 | -7,200 | aea688832d8f2ee9ff6b7fff702ffc75e71dfdb1 | Removed `os::getenv()` calls from `MesosProcess`.
This patch adds overloaded constructor for `v1::executor::Mesos` class
that accepts `environment` parameter that is passed over to
`MesosProcess` constructor. This change is needed to get rid of
`os::getenv()` calls, so that v1 Executor can be used in tests that
require... | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/v1/executor.hpp",
"new_path": "include/mesos/v1/executor.hpp",
"diff": "#include <functional>\n#include <queue>\n+#include <map>\n#include <string>\n#include <mesos/http.hpp>\n@@ -54,11 +55,22 @@ public:\nclass Mesos : public MesosBase\n{\npublic... | C++ | Apache License 2.0 | apache/mesos | Removed `os::getenv()` calls from `MesosProcess`.
This patch adds overloaded constructor for `v1::executor::Mesos` class
that accepts `environment` parameter that is passed over to
`MesosProcess` constructor. This change is needed to get rid of
`os::getenv()` calls, so that v1 Executor can be used in tests that
requir... |
46,053 | 15.06.2018 15:23:38 | -7,200 | cab94e6dc741135abddcddc95c1568b13221a69b | Made `TestContainerizerProcess::launch()` thread safe.
This patch removes `os::setenv()`, `os::unsetenv()` calls that are
currently used to implicitly configure both MesosExecutorDriver and
v1 Executor via global environment variables. This change prepares a
map containing modified environment and passes it to a constr... | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer.cpp",
"new_path": "src/tests/containerizer.cpp",
"diff": "@@ -126,34 +126,15 @@ public:\ncontainers_.at(containerId)->frameworkId =\ncontainerConfig.executor_info().framework_id();\n- // We need to synchronize all reads and writes to th... | C++ | Apache License 2.0 | apache/mesos | Made `TestContainerizerProcess::launch()` thread safe.
This patch removes `os::setenv()`, `os::unsetenv()` calls that are
currently used to implicitly configure both MesosExecutorDriver and
v1 Executor via global environment variables. This change prepares a
map containing modified environment and passes it to a const... |
46,172 | 15.06.2018 15:26:15 | -7,200 | 57091affe3380a01d516b03be2700db85c328ede | Improved coverage with configure and `PYTHON` or `PYTHON_VERSION` set.
We set `PYTHON` and `PYTHON_VERSION` when configuring the build.
We now cover all possible cases (both variables set, only one, none).
This ensures that both variables are set after being checked.
Review: | [
{
"change_type": "MODIFY",
"old_path": "configure.ac",
"new_path": "configure.ac",
"diff": "@@ -2271,7 +2271,18 @@ if test \"x$enable_python\" = \"xyes\" || \\\nif test -n \"$PYTHON\"; then\nAC_MSG_ERROR([only specify one of PYTHON or PYTHON_VERSION])\nfi\n- PYTHON=python$PYTHON_VERSION\n+ AC_SUBST(... | C++ | Apache License 2.0 | apache/mesos | Improved coverage with configure and `PYTHON` or `PYTHON_VERSION` set.
We set `PYTHON` and `PYTHON_VERSION` when configuring the build.
We now cover all possible cases (both variables set, only one, none).
This ensures that both variables are set after being checked.
Review: https://reviews.apache.org/r/67412/ |
46,114 | 18.06.2018 10:22:55 | 25,200 | fb7dceef159c7f0fcf5bd9f38e5ea5c044ac310e | Documented how to setup and use cquery with Mesos.
Note that while cquery and LSP support many editors, this only
demonstrates how to setup Emacs. Documentation for setting up other
editors (such as Vim) is welcome!
Review: | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "docs/cquery.md",
"diff": "+---\n+title: Apache Mesos - Using cquery for Code Navigation\n+layout: documentation\n+---\n+\n+# Using cquery for Code Navigation\n+\n+Instead of using `grep` and other tools to find your way through the\n+Mesos codeb... | C++ | Apache License 2.0 | apache/mesos | Documented how to setup and use cquery with Mesos.
Note that while cquery and LSP support many editors, this only
demonstrates how to setup Emacs. Documentation for setting up other
editors (such as Vim) is welcome!
Review: https://reviews.apache.org/r/67308/ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.