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,056
26.04.2017 14:38:51
-7,200
c3c10089272f18de1231f16d1dd1d355402cb57b
Fixed issues in 1.1.2 changelog.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -503,13 +503,14 @@ 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 c...
C++
Apache License 2.0
apache/mesos
Fixed issues in 1.1.2 changelog.
46,181
10.03.2017 20:19:27
18,000
bbe2c6c65647ddbe91608d370ea27de3ec50740a
Reordered DRFSorter member function. Ensure that member function appear in the same order in the header file as in the implementation file. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.cpp", "new_path": "src/master/allocator/sorter/drf/sorter.cpp", "diff": "@@ -228,6 +228,44 @@ void DRFSorter::update(\n}\n+void DRFSorter::unallocated(\n+ const string& name,\n+ const SlaveID& slaveId,\n+ const Resources&...
C++
Apache License 2.0
apache/mesos
Reordered DRFSorter member function. Ensure that member function appear in the same order in the header file as in the implementation file. Review: https://reviews.apache.org/r/57528
46,181
30.03.2017 19:09:21
25,200
5bf32be976c404aa1834a1dbd378c0ef37173856
Cleaned up coding of `DRFComparator::operator()`. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.cpp", "new_path": "src/master/allocator/sorter/drf/sorter.cpp", "diff": "@@ -44,13 +44,15 @@ namespace allocator {\nbool DRFComparator::operator()(const Client& client1, const Client& client2)\n{\n- if (client1.share == c...
C++
Apache License 2.0
apache/mesos
Cleaned up coding of `DRFComparator::operator()`. Review: https://reviews.apache.org/r/58112
46,181
10.03.2017 12:37:07
18,000
044b72e8ee839c49b9174b020469e836c5712192
Updated CHANGELOG for hierarchical roles. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -10,12 +10,6 @@ This release contains the following new features:\nresource allocation, or implement multi-user resource allocation in\nthe framework.\n- * [MESOS-6627] - Support for frameworks to modify the rol...
C++
Apache License 2.0
apache/mesos
Updated CHANGELOG for hierarchical roles. Review: https://reviews.apache.org/r/57516
46,157
26.04.2017 14:38:24
14,400
b271e8850ca2dee376a1da56aefe2cadc127039a
Added a benchmark test for hierarchical sorter. This test is very similar to Sorter_BENCHMARK_Test.FullSort, except that hierarchical role is built instead of flat one. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/sorter_tests.cpp", "new_path": "src/tests/sorter_tests.cpp", "diff": "@@ -1531,6 +1531,191 @@ TEST_P(Sorter_BENCHMARK_Test, FullSort)\n<< watch.elapsed() << endl;\n}\n+\n+class HSorter_BENCHMARK_Test\n+ : public ::testing::Test,\n+ public ::testing::...
C++
Apache License 2.0
apache/mesos
Added a benchmark test for hierarchical sorter. This test is very similar to Sorter_BENCHMARK_Test.FullSort, except that hierarchical role is built instead of flat one. Review: https://reviews.apache.org/r/58533/
46,181
26.04.2017 15:13:15
14,400
f5d77f05b008c063ed6330ed80d08d625827b31a
Cleaned up some cosmetic issues in new hierarchical sorter benchmark.
[ { "change_type": "MODIFY", "old_path": "src/tests/sorter_tests.cpp", "new_path": "src/tests/sorter_tests.cpp", "diff": "@@ -1532,7 +1532,7 @@ TEST_P(Sorter_BENCHMARK_Test, FullSort)\n}\n-class HSorter_BENCHMARK_Test\n+class HierarchicalSorter_BENCHMARK_Test\n: public ::testing::Test,\npublic ::testi...
C++
Apache License 2.0
apache/mesos
Cleaned up some cosmetic issues in new hierarchical sorter benchmark.
46,181
21.04.2017 08:49:00
25,200
957b4f280c36e8ee8e28c404e5aa7cad2583255a
Improved unit tests for Version in stout. Switch to table-based test cases, validate that version parsing produces the expected results more precisely. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/version_tests.cpp", "new_path": "3rdparty/stout/tests/version_tests.cpp", "diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include <map>\n+#include <string>\n+#include <u...
C++
Apache License 2.0
apache/mesos
Improved unit tests for Version in stout. Switch to table-based test cases, validate that version parsing produces the expected results more precisely. Review: https://reviews.apache.org/r/58706
46,188
21.04.2017 13:28:47
25,200
d680ff65e79d1d31de2cdc3ee70401c44fb2ac63
Fixed a style issue in mesos.proto. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1052,6 +1052,7 @@ message Resource {\noptional SharedInfo shared = 10;\n}\n+\n/**\n* When the network bandwidth caps are enabled and the container\n* is over its limit, outbound ...
C++
Apache License 2.0
apache/mesos
Fixed a style issue in mesos.proto. Review: https://reviews.apache.org/r/58641
46,188
21.04.2017 15:24:10
25,200
c0cfacfb134f74ff35f48e36af2f914e5530057d
Cancelled the disk usage collection if no longer needed. We actively cancel the disk usage collection if its result is no longer needed. This is a performance optimization. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/posix/disk.cpp", "new_path": "src/slave/containerizer/mesos/isolators/posix/disk.cpp", "diff": "@@ -261,6 +261,8 @@ Future<Nothing> PosixDiskIsolatorProcess::update(\n// Remove paths that we no longer interested in.\nfor...
C++
Apache License 2.0
apache/mesos
Cancelled the disk usage collection if no longer needed. We actively cancel the disk usage collection if its result is no longer needed. This is a performance optimization. Review: https://reviews.apache.org/r/58642
46,188
21.04.2017 17:26:39
25,200
dff76aa4f639a19052e723d522f7057229e43fad
Added a TODO about an issue in POSIX disk isolator. The 'exclusive' list might not be accurate if a new persistent volumes is later added to the resources list. That might result in incorrect sandbox usage being reported. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/posix/disk.cpp", "new_path": "src/slave/containerizer/mesos/isolators/posix/disk.cpp", "diff": "@@ -280,6 +280,11 @@ Future<Bytes> PosixDiskIsolatorProcess::collect(\nconst Owned<Info>& info = infos[containerId];\n// Vol...
C++
Apache License 2.0
apache/mesos
Added a TODO about an issue in POSIX disk isolator. The 'exclusive' list might not be accurate if a new persistent volumes is later added to the resources list. That might result in incorrect sandbox usage being reported. Review: https://reviews.apache.org/r/58643
46,188
21.04.2017 19:44:43
25,200
62ea5ad976ce243ea6f9989d2fda1b633934744f
Improved POSIX disk isolator to report usage for persistent volumes. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -1185,6 +1185,14 @@ message SNMPStatistics {\n}\n+message DiskStatistics {\n+ optional Resource.DiskInfo.Source source = 1;\n+ optional Resource.DiskInfo.Persistence persistence =...
C++
Apache License 2.0
apache/mesos
Improved POSIX disk isolator to report usage for persistent volumes. Review: https://reviews.apache.org/r/58644
46,188
21.04.2017 19:45:52
25,200
df5038f254d34e9bac16372e4d091811ffb52f64
Updated the tests to verify persistent volume usage. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/disk_quota_tests.cpp", "new_path": "src/tests/disk_quota_tests.cpp", "diff": "@@ -449,6 +449,8 @@ TEST_F(DiskQuotaTest, ResourceStatistics)\nslave::Flags flags = CreateSlaveFlags();\nflags.isolation = \"posix/cpu,posix/mem,disk/du\";\n+ flags.resourc...
C++
Apache License 2.0
apache/mesos
Updated the tests to verify persistent volume usage. Review: https://reviews.apache.org/r/58645
46,188
21.04.2017 19:46:24
25,200
17139c5e57a1a8b153c7f2584eb7f28922859825
Fixed a style issue in v1 mesos.proto. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/mesos.proto", "new_path": "include/mesos/v1/mesos.proto", "diff": "@@ -1046,6 +1046,7 @@ message Resource {\noptional SharedInfo shared = 10;\n}\n+\n/**\n* When the network bandwidth caps are enabled and the container\n* is over its limit, out...
C++
Apache License 2.0
apache/mesos
Fixed a style issue in v1 mesos.proto. Review: https://reviews.apache.org/r/58646
46,114
25.04.2017 18:27:01
25,200
c89884a5cf5143b9452b739d999a2073059572fb
Windows: Added deprecation warning for VS 2015. Specifically this checks if the generator used did not match "Visual Studio 15 2017", which Mesos now prefers. Note that the `CMAKE_GENERATOR` variable is expanded fully even when shorthand is used, e.g. `-G "Visual Studio 15"` will correctly match. Review:
[ { "change_type": "MODIFY", "old_path": "cmake/CompilationConfigure.cmake", "new_path": "cmake/CompilationConfigure.cmake", "diff": "@@ -163,7 +163,7 @@ if (NOT (CMAKE_SIZEOF_VOID_P EQUAL 8))\n\" * Linux: (on gcc) set `CMAKE_CXX_FLAGS` to include `-m64`:\\n\"\n\" `cmake -DCMAKE_CXX_FLAGS=-m64 `.\\n\"...
C++
Apache License 2.0
apache/mesos
Windows: Added deprecation warning for VS 2015. Specifically this checks if the generator used did not match "Visual Studio 15 2017", which Mesos now prefers. Note that the `CMAKE_GENERATOR` variable is expanded fully even when shorthand is used, e.g. `-G "Visual Studio 15"` will correctly match. Review: https://revi...
46,114
25.04.2017 18:27:05
25,200
f5cec0d912cf2f65070b0475cf26498c7f7d9315
Windows: Fixed CMake generator for Protobuf target. This fixes the build when using MSVC 2017 instead of MSVC 2015. The Protobuf target now uses the same CMake generator as the project, instead of hardcoding MSVC 2015. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "@@ -321,7 +321,7 @@ if (NOT WIN32)\nset(PROTOBUF_BUILD_CMD make)\nset(PROTOBUF_INSTALL_CMD make install)\nelseif (WIN32)\n- set(PROTOBUF_CONFIG_CMD cmake -G \"Visual Studio 14 2015 Win64...
C++
Apache License 2.0
apache/mesos
Windows: Fixed CMake generator for Protobuf target. This fixes the build when using MSVC 2017 instead of MSVC 2015. The Protobuf target now uses the same CMake generator as the project, instead of hardcoding MSVC 2015. Review: https://reviews.apache.org/r/58446/
46,114
25.04.2017 18:27:07
25,200
4d2fbd784f9e0bb5f430644b9b2e83a80f27fd58
CMake: Cleaned up 3rdparty dependencies. This commit removes duplicate code from `3rdparty/CMakeLists.txt`, and consolidates platform-specific versions into `Versions.cmake`. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/CMakeLists.txt", "new_path": "3rdparty/CMakeLists.txt", "diff": "include(ExternalProject)\n-# DEPENDENCIES FOR THE PROCESS LIBRARY AND STOUT.\n-#\n-# Downloads, configures, and compiles the third-party libraries for the process\n-# library (located in...
C++
Apache License 2.0
apache/mesos
CMake: Cleaned up 3rdparty dependencies. This commit removes duplicate code from `3rdparty/CMakeLists.txt`, and consolidates platform-specific versions into `Versions.cmake`. Review: https://reviews.apache.org/r/58447/
46,132
26.04.2017 15:22:10
25,200
8990ebbf300447492cde430e977c7c266b8bd8ec
Print corresponding address when socket shutdown. Print corresponding address when socket shutdown. Default just print socket 'fd',it's not convenient to find corresponding address.
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/process.cpp", "new_path": "3rdparty/libprocess/src/process.cpp", "diff": "@@ -2359,6 +2359,8 @@ Encoder* SocketManager::next(int_fd s)\nTry<Nothing> shutdown = socket.shutdown();\nif (shutdown.isError()) {\nLOG(ERROR) << \"Failed to shu...
C++
Apache License 2.0
apache/mesos
Print corresponding address when socket shutdown. Print corresponding address when socket shutdown. Default just print socket 'fd',it's not convenient to find corresponding address.
46,132
26.04.2017 15:26:47
25,200
c2b91a92e1ff5013fb4382af922cda520ae9d974
Print failure reason when socket accept failed. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/src/process.cpp", "new_path": "3rdparty/libprocess/src/process.cpp", "diff": "@@ -947,6 +947,9 @@ void on_accept(const Future<Socket>& socket)\nsize,\nsocket.get(),\ndecoder));\n+ } else {\n+ LOG(ERROR) << \"Failed to accept socket: \"\n+ <...
C++
Apache License 2.0
apache/mesos
Print failure reason when socket accept failed. Review: https://reviews.apache.org/r/58557/
46,143
26.04.2017 17:36:53
25,200
6670c07094ce9ed75a6488fa177fa2141b6b1bcd
Fixed typo in slave.cpp. s/found mount/find mount/
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -463,7 +463,7 @@ void Slave::initialize()\nif (!foundEntry) {\nEXIT(EXIT_FAILURE)\n- << \"Failed to found mount '\" << realpath.get()\n+ << \"Failed to find mount '\" << realpath.get()\n<< \"...
C++
Apache License 2.0
apache/mesos
Fixed typo in slave.cpp. s/found mount/find mount/
46,129
26.04.2017 18:25:15
25,200
aa0512e1948a0bcee14e6ce6037f7a3d2f9ea634
Fixed the internet curl flaky test due to short timeout. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "new_path": "src/tests/containerizer/provisioner_docker_tests.cpp", "diff": "@@ -477,7 +477,7 @@ TEST_P(ProvisionerDockerTest, ROOT_INTERNET_CURL_SimpleCommand)\n// Image pulling time may be long, dependin...
C++
Apache License 2.0
apache/mesos
Fixed the internet curl flaky test due to short timeout. Review: https://reviews.apache.org/r/58748/
46,129
26.04.2017 18:25:18
25,200
92599cbced65b20248e86a02bfe9a12ab12ae969
Fixed a typo in container-image.md doc. Review:
[ { "change_type": "MODIFY", "old_path": "docs/container-image.md", "new_path": "docs/container-image.md", "diff": "@@ -310,7 +310,7 @@ using the following logic table:\n+---------+--------------+------------------------------------------+\nThe provisioner backend can be specified through the agent fl...
C++
Apache License 2.0
apache/mesos
Fixed a typo in container-image.md doc. Review: https://reviews.apache.org/r/58749/
46,188
26.04.2017 18:34:55
25,200
24e34cfefc5852a85766f83bcfc5feb0b226de70
Moved to the correct location in CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -61,6 +61,7 @@ All Issues:\n* [MESOS-7263] - User supplied task environment variables cause warnings in sandbox stdout.\n* [MESOS-7264] - Possibly duplicate environment variables should not leak values to the sa...
C++
Apache License 2.0
apache/mesos
Moved MESOS-7272 to the correct location in CHANGELOG.
46,129
26.04.2017 20:32:55
25,200
2cde52884a77534343c1ec44e1ebf624b83032d9
Added 'Secret' field config to Image::Docker protobuf. This field is used for Credential-per-Container, which will identify different docker config from secrets for image pulling. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2136,7 +2136,18 @@ message Image {\n// Credential to authenticate with docker registry.\n// NOTE: This is not encrypted, therefore framework and operators\n// should enable SSL w...
C++
Apache License 2.0
apache/mesos
Added 'Secret' field config to Image::Docker protobuf. This field is used for Credential-per-Container, which will identify different docker config from secrets for image pulling. Review: https://reviews.apache.org/r/58775/
46,068
27.04.2017 00:02:06
25,200
d46d33079805379515de0c300d7e6f4286adeb77
Added support for authorization of Hierachical roles. Adds mechanisms to support authorization of hierarchical roles, that is, it allows operators to write ACLs of the form role/% which will enforce the rule for any nested role, e.g. role/a, role/b and such. Review:
[ { "change_type": "MODIFY", "old_path": "src/authorizer/local/authorizer.cpp", "new_path": "src/authorizer/local/authorizer.cpp", "diff": "@@ -199,8 +199,6 @@ public:\naclObject.set_type(mesos::ACL::Entity::ANY);\n} else {\nswitch (action_) {\n- // All actions using `object.value` for authorization.\...
C++
Apache License 2.0
apache/mesos
Added support for authorization of Hierachical roles. Adds mechanisms to support authorization of hierarchical roles, that is, it allows operators to write ACLs of the form role/% which will enforce the rule for any nested role, e.g. role/a, role/b and such. Review: https://reviews.apache.org/r/57473/
46,068
27.04.2017 00:04:57
25,200
d55148afbe4c86dc97907abffcbf01dec7e8467a
Added test for authorization of hierarchical roles. Adds tests for each of the actions which support hierarchical roles. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/authorization_tests.cpp", "new_path": "src/tests/authorization_tests.cpp", "diff": "@@ -885,6 +885,135 @@ TYPED_TEST(AuthorizationTest, PrincipalNotOfferedAnyRoleRestrictive)\n}\n+// Checks that the behavior of the authorizer is correct when using\n+...
C++
Apache License 2.0
apache/mesos
Added test for authorization of hierarchical roles. Adds tests for each of the actions which support hierarchical roles. Review: https://reviews.apache.org/r/57474/
46,068
27.04.2017 00:52:10
25,200
01458d5296ff5540fc9a6692c95785790b3ef190
Removed deprecated ACL `ShutdownFramework`. The `ShutdownFramework` message from `acls.proto` was deprecated more than six months ago in favor of `TeardownFramework`. Since its deprecation cycle is already over, this patch removes the message. Note that this only removes the message support from the ACLs, since the ass...
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -44,6 +44,10 @@ Deprecations:\nThis change is only applicable to the local authorizer since internally\nthese acls were being translated to the `UPDATE_QUOTA` action.\n+ * [MESOS-7320] - Remove deprecated ACL `S...
C++
Apache License 2.0
apache/mesos
Removed deprecated ACL `ShutdownFramework`. The `ShutdownFramework` message from `acls.proto` was deprecated more than six months ago in favor of `TeardownFramework`. Since its deprecation cycle is already over, this patch removes the message. Note that this only removes the message support from the ACLs, since the a...
46,103
27.04.2017 14:22:07
-7,200
0d2db6c87e72041f4608e23c81d049325dbaee9c
Temporarily disabled a test on Windows. This test uses features of a POSIX shell and as is would never work against Windows agents. Temporarily disable it until we figure out a way to perform this test on both Windows and POSIX agents. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/role_tests.cpp", "new_path": "src/tests/role_tests.cpp", "diff": "@@ -896,7 +896,9 @@ TEST_F(RoleTest, EndpointBadAuthentication)\n// naive implementation less nested volume is destroyed first. This should not\n// destroy the more nested volume (e.g....
C++
Apache License 2.0
apache/mesos
Temporarily disabled a test on Windows. This test uses features of a POSIX shell and as is would never work against Windows agents. Temporarily disable it until we figure out a way to perform this test on both Windows and POSIX agents. Review: https://reviews.apache.org/r/58789/
46,103
27.04.2017 15:38:17
-7,200
5ac18cfcdd2bd08be17c62468f6748dc853e50f6
Removed unused capture of this. clang-5 has a warning about unused lambda captures in its -Wall set. Removing this unused capture here to enable building with clang-5. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/sorter/drf/sorter.cpp", "new_path": "src/master/allocator/sorter/drf/sorter.cpp", "diff": "@@ -491,7 +491,7 @@ vector<string> DRFSorter::sort()\nvector<string> result;\nstd::function<void (const Node*)> listClients =\n- [this, &listClients...
C++
Apache License 2.0
apache/mesos
Removed unused capture of this. clang-5 has a warning about unused lambda captures in its -Wall set. Removing this unused capture here to enable building with clang-5. Review: https://reviews.apache.org/r/58795/
46,056
20.04.2017 16:03:10
-7,200
c702150297da99cc62804aad77057f1948d33714
Removed unused variable from api tests.
[ { "change_type": "MODIFY", "old_path": "src/tests/api_tests.cpp", "new_path": "src/tests/api_tests.cpp", "diff": "@@ -3594,7 +3594,6 @@ TEST_P_TEMP_DISABLED_ON_WINDOWS(AgentAPITest, NestedContainerLaunchFalse)\nEXPECT_CALL(sched, registered(&driver, _, _));\n- Future<vector<Offer>> offers;\nEXPECT_C...
C++
Apache License 2.0
apache/mesos
Removed unused variable from api tests.
46,128
27.04.2017 12:53:41
25,200
fd163c20c476ff37e605e56a00bb9c6ad341bbdc
Fixed a link in the upgrade documentation. This patch fixes a broken link in the upgrade documentation. Review:
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -286,7 +286,7 @@ We categorize the changes as follows:\n* Implementors of allocator modules have to provide new implementation functionality to satisfy the `MULTI_ROLE` framework capability. Also, ...
C++
Apache License 2.0
apache/mesos
Fixed a link in the upgrade documentation. This patch fixes a broken link in the upgrade documentation. Review: https://reviews.apache.org/r/58810/
46,056
27.04.2017 20:29:54
-7,200
61823d33fce0a79a67db3ff29bbfff2e565fbf76
Fixed if-clause indentation in "mesos/containerizer.cpp".
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -1419,8 +1419,7 @@ Future<bool> MesosContainerizerProcess::_launch(\n// NOTE: Command task is a special case. Even if the container\n//...
C++
Apache License 2.0
apache/mesos
Fixed if-clause indentation in "mesos/containerizer.cpp".
46,062
27.04.2017 20:14:52
25,200
88e218928f20b7f52b1c8bb359a8927d562bf4e9
Made the activation of a client in `Sorter::add` explicit. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -241,6 +241,9 @@ void HierarchicalAllocatorProcess::addFramework(\nforeach (const string& role, framework.roles) {\ntrackFrameworkUnderRole(fra...
C++
Apache License 2.0
apache/mesos
Made the activation of a client in `Sorter::add` explicit. Review: https://reviews.apache.org/r/58687/
46,062
27.04.2017 20:14:58
25,200
6ace0a762a97a87f0fa28adc6072aa8b039360c3
Removed an incorrect `CHECK` in the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -399,8 +399,6 @@ void Framework::trackUnderRole(const string& role)\nCHECK(!isTrackedUnderRole(role));\n- CHECK(roles.count(role) > 0);\n-\nif (!master->roles.contains(role)) {\nmaster->r...
C++
Apache License 2.0
apache/mesos
Removed an incorrect `CHECK` in the master. Review: https://reviews.apache.org/r/58688/
46,062
27.04.2017 20:15:07
25,200
72752fc6deb8ebcbfbd5448dc599ef3774339d31
Made `addSlave` not activate any frameworks. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -473,9 +473,6 @@ void HierarchicalAllocatorProcess::addSlave(\n// track the framework under the role.\nif (!isFrameworkTrackedUnderRole(framewo...
C++
Apache License 2.0
apache/mesos
MESOS-7323: Made `addSlave` not activate any frameworks. Review: https://reviews.apache.org/r/58689/
46,078
10.03.2017 15:25:07
28,800
38afa9c1afa65d931bfcc215b5faa7da76d62c19
Added and implemented RegisterAgent ACL. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/authorizer/acls.proto", "new_path": "include/mesos/authorizer/acls.proto", "diff": "@@ -343,6 +343,16 @@ message ACL {\n// access.\nrequired Entity level = 2;\n}\n+\n+ // Which principals are authorized to register (and re-register) as agents.\n+...
C++
Apache License 2.0
apache/mesos
Added and implemented RegisterAgent ACL. Review: https://reviews.apache.org/r/57534
46,078
10.03.2017 15:25:43
28,800
29fc2dfcb110a51923d4d7c144bdd797b348f96b
Applied RegisterAgent ACL to the master. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -3651,6 +3651,31 @@ Future<bool> Master::authorizeDestroyVolume(\n}\n+Future<bool> Master::authorizeSlave(const Option<string>& principal)\n+{\n+ if (authorizer.isNone()) {\n+ return true...
C++
Apache License 2.0
apache/mesos
Applied RegisterAgent ACL to the master. Review: https://reviews.apache.org/r/57535
46,078
16.03.2017 15:49:05
25,200
f77be6875b3d0006caf7029642a4f145dc42857f
Added `register_agents` to authorization.md. Review:
[ { "change_type": "MODIFY", "old_path": "docs/authorization.md", "new_path": "docs/authorization.md", "diff": "@@ -273,6 +273,14 @@ entries, each representing an authorizable action:\n</td>\n<td>Access Mesos logs.</td>\n</tr>\n+<tr>\n+ <td><code>register_agents</code></td>\n+ <td>Agent principal.</td...
C++
Apache License 2.0
apache/mesos
Added `register_agents` to authorization.md. Review: https://reviews.apache.org/r/57710
46,078
16.03.2017 17:55:20
25,200
13d0591cddca4a5c9e892e1d84dcde20ddc8b6c3
Fixed example tests which broke due to the new `register_agents` ACL. With the new `register_agents` ACL, `permissive == false` would lead to the agent unable to register unless explicitly allowed. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/script.cpp", "new_path": "src/tests/script.cpp", "diff": "@@ -158,6 +158,14 @@ void execute(const string& script)\nregister_->mutable_principals()->add_values(DEFAULT_CREDENTIAL.principal());\nregister_->mutable_roles()->add_values(\"*\");\n+ // Allo...
C++
Apache License 2.0
apache/mesos
Fixed example tests which broke due to the new `register_agents` ACL. - With the new `register_agents` ACL, `permissive == false` would lead to the agent unable to register unless explicitly allowed. Review: https://reviews.apache.org/r/57730
46,078
17.03.2017 01:09:40
25,200
70ce51606731de0af03678f2bd3ddaf3d9d3627f
Fixed a test in MasterAuthorizationTest. `MasterAuthorizationTest.PendingExecutorInfoDiffersOnDifferentSlaves` needs used to assume the mock authorizer is only called for tasks authorization but with the new `regsiter_agents` ACL this is no longer true. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_authorization_tests.cpp", "new_path": "src/tests/master_authorization_tests.cpp", "diff": "@@ -884,11 +884,17 @@ TEST_F(MasterAuthorizationTest, PendingExecutorInfoDiffersOnDifferentSlaves)\noffers1.get()[0], executor1.command().value(), execu...
C++
Apache License 2.0
apache/mesos
Fixed a test in MasterAuthorizationTest. - `MasterAuthorizationTest.PendingExecutorInfoDiffersOnDifferentSlaves` needs used to assume the mock authorizer is only called for tasks authorization but with the new `regsiter_agents` ACL this is no longer true. Review: https://reviews.apache.org/r/57731
46,078
21.04.2017 22:21:18
25,200
9fb6a11a5dc7645ebb5eb26a58f305dc81fe7b4d
Logged when an agent (re-)registration request is received. This log happens after the master has done initial validation but before authorization, which is consistent with the (re-)register framework code paths. Review:
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -5420,6 +5420,9 @@ void Master::registerSlave(\nreturn;\n}\n+ LOG(INFO) << \"Received register agent message from \"\n+ << from << \" (\" << slaveInfo.hostname() << \")\";\n+\nslaves.regi...
C++
Apache License 2.0
apache/mesos
Logged when an agent (re-)registration request is received. - This log happens after the master has done initial validation but before authorization, which is consistent with the (re-)register framework code paths. Review: https://reviews.apache.org/r/58676
46,178
20.04.2017 14:47:15
14,400
b28e4a92d6e5f87a568f6e34a5d8fce5a0759b00
Added secret to Volume protobuf. The volume/secret isolator will use a secret-fetcher module (third-party or internal) to download the secret and makes it available at container_path. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -2206,6 +2206,7 @@ message Volume {\n// TODO(gyliu513): Add HOST_PATH and IMAGE as volume source type.\nDOCKER_VOLUME = 1;\nSANDBOX_PATH = 2;\n+ SECRET = 3;\n}\nmessage DockerVolu...
C++
Apache License 2.0
apache/mesos
Added secret to Volume protobuf. The volume/secret isolator will use a secret-fetcher module (third-party or internal) to download the secret and makes it available at container_path. Review: https://reviews.apache.org/r/58758
46,165
27.04.2017 17:34:03
25,200
786f9f6771988719cd6e0dde2ba333d1717fccfb
Fixed the implementation of per-role Suppress / Revive calls. The existing implementation uses a single suppression boolean which results in incorrect handling of per-role suppression / revival. See: Review:
[ { "change_type": "MODIFY", "old_path": "src/master/allocator/mesos/hierarchical.cpp", "new_path": "src/master/allocator/mesos/hierarchical.cpp", "diff": "@@ -127,7 +127,6 @@ private:\nHierarchicalAllocatorProcess::Framework::Framework(\nconst FrameworkInfo& frameworkInfo)\n: roles(protobuf::framewor...
C++
Apache License 2.0
apache/mesos
Fixed the implementation of per-role Suppress / Revive calls. The existing implementation uses a single suppression boolean which results in incorrect handling of per-role suppression / revival. See: https://issues.apache.org/jira/browse/MESOS-7430 Review: https://reviews.apache.org/r/58829
46,165
27.04.2017 17:21:13
25,200
65cc98879f68208a51587c35aba410418474cd11
Updated Suppress / Revive calls to take multiple roles. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/allocator/allocator.hpp", "new_path": "include/mesos/allocator/allocator.hpp", "diff": "@@ -350,27 +350,23 @@ public:\n* Suppresses offers.\n*\n* Informs the allocator to stop sending offers to this framework for the\n- * specified role. If the r...
C++
Apache License 2.0
apache/mesos
Updated Suppress / Revive calls to take multiple roles. Review: https://reviews.apache.org/r/58830
46,077
30.04.2017 00:55:28
-28,800
6b11f5739b4ec804ba0f84da85ed1dcc7887899c
Included `glyphicons-halflings-regular.woff2` when `make dist`. `glyphicons-halflings-regular.woff2` is missing when `make dist`, this patch fixes it.
[ { "change_type": "MODIFY", "old_path": "src/Makefile.am", "new_path": "src/Makefile.am", "diff": "@@ -1618,7 +1618,8 @@ nobase_dist_pkgdata_DATA += \\\nwebui/master/static/fonts/glyphicons-halflings-regular.eot \\\nwebui/master/static/fonts/glyphicons-halflings-regular.svg \\\nwebui/master/static/fo...
C++
Apache License 2.0
apache/mesos
Included `glyphicons-halflings-regular.woff2` when `make dist`. `glyphicons-halflings-regular.woff2` is missing when `make dist`, this patch fixes it.
46,078
30.04.2017 22:46:34
25,200
bf3c967430e06251f66eebb86e8413f85f4560fd
Renamed containerizer.md. 'containerizers.md' makes it more clear it's an overview doc.
[ { "change_type": "RENAME", "old_path": "docs/containerizer.md", "new_path": "docs/containerizers.md", "diff": "---\n-title: Apache Mesos - Containerizer\n+title: Apache Mesos - Containerizers\nlayout: documentation\n---\n-# Containerizer\n+# Containerizers\n## Motivation\n" }, { "change_type...
C++
Apache License 2.0
apache/mesos
Renamed containerizer.md. 'containerizers.md' makes it more clear it's an overview doc.
46,053
02.05.2017 14:20:57
-7,200
10bdcdc77cad097866055256255d8857dd4fadd3
Added Andrei Budnik to the contributors list. This closes
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: anandmazumdar\nreviewboard_user: anandmazumdar\n+- name: Andrei Budnik\n+ affiliations:\n+ - {organization: Mesosphere}\n+ emails:\n+ - abudnik@mesosphere.com\n+ jira_user: abud...
C++
Apache License 2.0
apache/mesos
Added Andrei Budnik to the contributors list. This closes #209
46,057
02.05.2017 10:14:13
25,200
924bf54d2632739fb19a94db6a208196fac7355c
Add myself to the contributors list. This closes
[ { "change_type": "MODIFY", "old_path": "docs/contributors.yaml", "new_path": "docs/contributors.yaml", "diff": "jira_user: benjaminhindman\nreviewboard_user: benjaminhindman\n+- name: Benno Evers\n+ affiliations:\n+ - {organization: Yandex}\n+ emails:\n+ - bennoe@yandex-team.ru\n+ jira_user: bennoe\...
C++
Apache License 2.0
apache/mesos
Add myself to the contributors list. This closes #210
46,181
01.05.2017 14:47:16
25,200
374a6a648a38a2d04a11403c0d93f36c51e2830b
Added a test case for numify in stout. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/tests/numify_tests.cpp", "new_path": "3rdparty/stout/tests/numify_tests.cpp", "diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n+#include <limits>\n+\n#include <gtest/gtest.h>\n#i...
C++
Apache License 2.0
apache/mesos
Added a test case for numify in stout. Review: https://reviews.apache.org/r/58897
46,181
02.05.2017 16:28:11
25,200
c20488db5d85fff40cff5a010172af4c46695d99
Synchronized configuration.md with flags usage text.
[ { "change_type": "MODIFY", "old_path": "docs/configuration.md", "new_path": "docs/configuration.md", "diff": "@@ -1378,10 +1378,13 @@ The amount of time to wait before removing docker containers\n--docker_socket=VALUE\n</td>\n<td>\n-The UNIX socket path to be mounted into the docker executor contain...
C++
Apache License 2.0
apache/mesos
Synchronized configuration.md with flags usage text.
46,062
02.05.2017 16:20:03
25,200
7db801c527a6fd6afbd9e05c6cdf678be47f64c2
Added the running cluster upgrade instructions for 1.3.0.
[ { "change_type": "MODIFY", "old_path": "docs/upgrades.md", "new_path": "docs/upgrades.md", "diff": "@@ -288,6 +288,15 @@ We categorize the changes as follows:\n<a name=\"1-3-x-executor-authentication\"></a>\n* New Agent flags authenticate_http_executors and executor_secret_key: Used to enable requir...
C++
Apache License 2.0
apache/mesos
Added the running cluster upgrade instructions for 1.3.0.
46,129
02.05.2017 16:59:54
25,200
67d55a298c19c7deca47dbc84c7ae1dbb89796e2
Added Secret to Image::Docker in v1/mesos.proto. This is a followup patch for Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/v1/mesos.proto", "new_path": "include/mesos/v1/mesos.proto", "diff": "@@ -2130,7 +2130,18 @@ message Image {\n// Credential to authenticate with docker registry.\n// NOTE: This is not encrypted, therefore framework and operators\n// should enable...
C++
Apache License 2.0
apache/mesos
Added Secret to Image::Docker in v1/mesos.proto. This is a followup patch for https://reviews.apache.org/r/58775/. Review: https://reviews.apache.org/r/58880/
46,062
02.05.2017 17:14:59
25,200
7668df7580a7ae072b52a1343c5e222c98e52e8a
Bumped the version to 1.4.0.
[ { "change_type": "MODIFY", "old_path": "CMakeLists.txt", "new_path": "CMakeLists.txt", "diff": "@@ -24,7 +24,7 @@ endif (NOT WIN32)\nproject(Mesos)\nset(MESOS_MAJOR_VERSION 1)\n-set(MESOS_MINOR_VERSION 3)\n+set(MESOS_MINOR_VERSION 4)\nset(MESOS_PATCH_VERSION 0)\nset(PACKAGE_VERSION\n${MESOS_MAJOR_VE...
C++
Apache License 2.0
apache/mesos
Bumped the version to 1.4.0.
46,174
03.05.2017 14:37:29
-28,800
5a299634eb036c3a9aa12c036a11efa003c47966
Added Pinterest 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": "@@ -81,6 +81,7 @@ layout: documentation\n* [PayPal](https://www.paypal.com)\n* [Piksel](http://www.piksel.com)\n* [Pinkbike](http://www.pinkbike.com)\n+* [Pinterest](https://www.pinter...
C++
Apache License 2.0
apache/mesos
Added Pinterest to 'powered by mesos' list. This closes #211
46,089
03.05.2017 01:45:43
25,200
25e3b1412b51b0991da93b93b853e4f48cf73160
Metrics for used resources should incorporate shared resources. The following metrics now take shared resources into account (i.e., the quantity of a share resource is not affected by its shared count) in determination of the actual amount of used resources: a) `master/<resource-name>_used` b) `master/<resource-name>_r...
[ { "change_type": "MODIFY", "old_path": "src/master/master.cpp", "new_path": "src/master/master.cpp", "diff": "@@ -9079,13 +9079,16 @@ double Master::_resources_used(const string& name)\ndouble used = 0.0;\nforeachvalue (Slave* slave, slaves.registered) {\n+ // We use `Resources` arithmetic to accumm...
C++
Apache License 2.0
apache/mesos
Metrics for used resources should incorporate shared resources. The following metrics now take shared resources into account (i.e., the quantity of a share resource is not affected by its shared count) in determination of the actual amount of used resources: a) `master/<resource-name>_used` b) `master/<resource-name>_...
46,089
03.05.2017 01:52:33
25,200
b5f595f7e7f0941fd0ddc5edb37b2c06062de253
Added a test to verify metrics when shared resources are present. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/persistent_volume_tests.cpp", "new_path": "src/tests/persistent_volume_tests.cpp", "diff": "@@ -1187,6 +1187,186 @@ TEST_P(PersistentVolumeTest, SharedPersistentVolumeRescindOnDestroy)\n}\n+// This test verifies that multiple frameworks belonging to ...
C++
Apache License 2.0
apache/mesos
Added a test to verify metrics when shared resources are present. Review: https://reviews.apache.org/r/57964/
46,078
03.05.2017 02:27:02
25,200
4f4aff955c864c5692c9ef594112ce86b2333899
Removed duplicate test due to merge failure.
[ { "change_type": "MODIFY", "old_path": "src/tests/persistent_volume_tests.cpp", "new_path": "src/tests/persistent_volume_tests.cpp", "diff": "@@ -1367,186 +1367,6 @@ TEST_P(PersistentVolumeTest, SharedPersistentVolumeMultipleFrameworks)\n}\n-// This test verifies that multiple frameworks belonging t...
C++
Apache License 2.0
apache/mesos
Removed duplicate test due to merge failure.
46,181
10.04.2017 09:38:41
25,200
242f58bc19bf96b3ae9242ffaf99b49bc29ea852
Updated "getting started" instructions for XCode 8.0 dependency. Review:
[ { "change_type": "MODIFY", "old_path": "docs/getting-started.md", "new_path": "docs/getting-started.md", "diff": "@@ -68,11 +68,11 @@ Following are the instructions for stock Ubuntu 16.04. If you are using a differ\n# Install other Mesos dependencies.\n$ sudo apt-get -y install build-essential pytho...
C++
Apache License 2.0
apache/mesos
Updated "getting started" instructions for XCode 8.0 dependency. Review: https://reviews.apache.org/r/58311
46,181
10.04.2017 09:44:42
25,200
305c5462b73600454d8bcfa4535e8b69b0d255a9
Replaced `THREAD_LOCAL` with `thread_local` in libprocess. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/libprocess/include/process/executor.hpp", "new_path": "3rdparty/libprocess/include/process/executor.hpp", "diff": "#include <process/id.hpp>\n#include <process/process.hpp>\n-#include <stout/thread_local.hpp>\n-\nnamespace process {\n// Provides an ab...
C++
Apache License 2.0
apache/mesos
Replaced `THREAD_LOCAL` with `thread_local` in libprocess. Review: https://reviews.apache.org/r/58312
46,181
10.04.2017 09:45:07
25,200
5cfab7752ddac1581dea1451bb596acea09f10b2
Replaced `THREAD_LOCAL` with `thread_local` in stout. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/os/windows/mkdtemp.hpp", "new_path": "3rdparty/stout/include/stout/os/windows/mkdtemp.hpp", "diff": "#include <stout/nothing.hpp>\n#include <stout/path.hpp>\n#include <stout/strings.hpp>\n-#include <stout/thread_local.hpp>\n#includ...
C++
Apache License 2.0
apache/mesos
Replaced `THREAD_LOCAL` with `thread_local` in stout. Review: https://reviews.apache.org/r/58313
46,181
10.04.2017 09:52:42
25,200
310c0d62d395fcc1a6063136832d5bda759e9919
Removed `thread_local.hpp` from stout. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/Makefile.am", "new_path": "3rdparty/stout/include/Makefile.am", "diff": "@@ -194,7 +194,6 @@ nobase_include_HEADERS = \\\nstout/subcommand.hpp \\\nstout/svn.hpp \\\nstout/synchronized.hpp \\\n- stout/thread_local.hpp \\\nstout/try.hpp \\...
C++
Apache License 2.0
apache/mesos
Removed `thread_local.hpp` from stout. Review: https://reviews.apache.org/r/58314
46,181
03.05.2017 11:10:39
25,200
59180f9fc0aa8bbb6cb9ec73a52e529e2c091bfa
Switched to using unsigned types to represent versions in stout. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/version.hpp", "new_path": "3rdparty/stout/include/stout/version.hpp", "diff": "#include <algorithm>\n#include <cctype>\n+#include <cstdint>\n#include <ostream>\n#include <string>\n#include <vector>\n@@ -111,10 +112,10 @@ struct Ver...
C++
Apache License 2.0
apache/mesos
Switched to using unsigned types to represent versions in stout. Review: https://reviews.apache.org/r/58971
46,181
06.03.2017 10:55:07
28,800
ecc73219d3ae29993b1b6d7429c51ce7713b801b
Checked validity of master and agent version numbers on startup. During startup, we now check that the compiled-in version number of the master and agent can be parsed by stout's `Version::parse` (i.e., that `MESOS_VERSION` is valid according to stout's extended variant of the Semver 2.0.0 format). Review:
[ { "change_type": "MODIFY", "old_path": "src/master/main.cpp", "new_path": "src/master/main.cpp", "diff": "#include <stout/stringify.hpp>\n#include <stout/strings.hpp>\n#include <stout/try.hpp>\n+#include <stout/version.hpp>\n#include \"common/build.hpp\"\n#include \"common/http.hpp\"\n@@ -175,6 +176...
C++
Apache License 2.0
apache/mesos
Checked validity of master and agent version numbers on startup. During startup, we now check that the compiled-in version number of the master and agent can be parsed by stout's `Version::parse` (i.e., that `MESOS_VERSION` is valid according to stout's extended variant of the Semver 2.0.0 format). Review: https://re...
46,056
04.05.2017 12:14:27
-7,200
e8fefeab7ee699e0f0398a648aba7c4349b7b77e
Removed the "WIP" prefix from 1.1.2 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -509,8 +509,8 @@ All Issues:\n* [MESOS-7062] - Add a test for a MULTI_ROLE framework receiving offers for each of its roles.\n-Release Notes - Mesos - Version 1.1.2 (WIP)\n---------------------------------------...
C++
Apache License 2.0
apache/mesos
Removed the "WIP" prefix from 1.1.2 CHANGELOG.
46,143
02.05.2017 16:21:08
25,200
d032764c3c16f9c2c1b1d8ce76ed1abac7276f63
Exposed full unreserved resources in /slaves endpoint on master. The JSON key for this information is "unreserved_resources_full". Review:
[ { "change_type": "MODIFY", "old_path": "src/master/http.cpp", "new_path": "src/master/http.cpp", "diff": "@@ -2374,6 +2374,17 @@ Future<Response> Master::Http::slaves(\n}\n});\n+\n+ Resources unreservedResources = slave->totalResources.unreserved();\n+\n+ writer->field(\n+ \"unreserved_resources_ful...
C++
Apache License 2.0
apache/mesos
Exposed full unreserved resources in /slaves endpoint on master. The JSON key for this information is "unreserved_resources_full". Review: https://reviews.apache.org/r/58940
46,143
02.05.2017 16:28:03
25,200
f158e03bb1764becbca26f03dde0da5d89fd86ac
Exposed full unreserved resources in /state endpoint on agent. The JSON key for this information is "unreserved_resources_full". Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/http.cpp", "new_path": "src/slave/http.cpp", "diff": "@@ -1300,6 +1300,14 @@ Future<Response> Slave::Http::state(\n}\n});\n+ writer->field(\n+ \"unreserved_resources_full\",\n+ [&totalResources](JSON::ArrayWriter* writer) {\n+ foreach (const Resource...
C++
Apache License 2.0
apache/mesos
Exposed full unreserved resources in /state endpoint on agent. The JSON key for this information is "unreserved_resources_full". Review: https://reviews.apache.org/r/58941
46,062
04.05.2017 14:12:03
25,200
400d241e5b64586f6bc2f898f14261441e247766
Fixed a minor bug in setting the agent's `totalResources`. If the following branch is taken, `totalResources` would be set to `resources.get()` which is not equal to `info.resources()`. ```cpp if (HookManager::hooksAvailable()) { info.mutable_resources()->CopyFrom( HookManager::slaveResourcesDecorator(info)); } ``` Rev...
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -520,7 +520,7 @@ void Slave::initialize()\n// Initialize `totalResources` with `info.resources`, checkpointed\n// resources will be applied later during recovery.\n- totalResources = resource...
C++
Apache License 2.0
apache/mesos
Fixed a minor bug in setting the agent's `totalResources`. If the following branch is taken, `totalResources` would be set to `resources.get()` which is not equal to `info.resources()`. ```cpp if (HookManager::hooksAvailable()) { info.mutable_resources()->CopyFrom( HookManager::slaveResourcesDecorator(i...
46,181
03.05.2017 13:45:10
25,200
f68e450bea7bcba2e66f2ac15133a90d38e20907
Fixed flakiness in HierarchicalAllocatorTest.NestedRoleQuota. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -4481,15 +4481,16 @@ TEST_F(HierarchicalAllocatorTest, NestedRoleQuota)\nFuture<Allocation> allocation = allocations.get();\nEXPECT_TRUE(allocati...
C++
Apache License 2.0
apache/mesos
Fixed flakiness in HierarchicalAllocatorTest.NestedRoleQuota. Review: https://reviews.apache.org/r/58974
46,057
05.05.2017 12:57:34
25,200
2b658c42c53d451a08de13d7fbae1ce5d2885cd2
Add IPv6 support to stout. This patch fills in several gaps in the net::IP and net::IPNetwork classes, enabling them to be used to store and represent IPv6 addresses and networks. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/ip.hpp", "new_path": "3rdparty/stout/include/stout/ip.hpp", "diff": "#include <sys/types.h>\n+#include <algorithm>\n#include <iostream>\n+#include <numeric>\n#include <string>\n#include <vector>\n@@ -78,7 +80,8 @@ public:\n// 10.0....
C++
Apache License 2.0
apache/mesos
Add IPv6 support to stout. This patch fills in several gaps in the net::IP and net::IPNetwork classes, enabling them to be used to store and represent IPv6 addresses and networks. Review: https://reviews.apache.org/r/58920/
46,062
02.05.2017 16:40:00
25,200
5ca68ee08b4bd884005fd985a5455b337bfea053
CHANGELOG for 1.3.0 release. Review:
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -2,7 +2,6 @@ Release Notes - Mesos - Version 1.3.0 (WIP)\n-------------------------------------------\nThis release contains the following new features:\n-\n* [MESOS-1763] - Support for frameworks to receive res...
C++
Apache License 2.0
apache/mesos
CHANGELOG for 1.3.0 release. Review: https://reviews.apache.org/r/58942
46,188
08.05.2017 13:48:57
-7,200
d32f85ec13b1437a6c19851558c808f854549f9b
Added basic resource provider Event/Call types. This patch added the basic Event/Call for resource providers to subscribe and apply offer operations. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resource_provider/resource_provider.proto", "new_path": "include/mesos/resource_provider/resource_provider.proto", "diff": "@@ -29,9 +29,24 @@ message Event {\n// is UNKNOWN. This enables enum values to be added\n// in a backwards-compatible way....
C++
Apache License 2.0
apache/mesos
Added basic resource provider Event/Call types. This patch added the basic Event/Call for resource providers to subscribe and apply offer operations. Review: https://reviews.apache.org/r/59046
46,188
08.05.2017 14:16:30
-7,200
18220a50d3033a4debffd7cc61f1514ede7e2c2b
Added internal wrapper messages for local resource provider Event/Call. For local resource providers, the agent will serve as a proxy between local resource provider and the master. It'll forward resource provider Events and Calls. Review:
[ { "change_type": "MODIFY", "old_path": "src/messages/messages.proto", "new_path": "src/messages/messages.proto", "diff": "syntax = \"proto2\";\nimport \"mesos/mesos.proto\";\n+import \"mesos/resource_provider/resource_provider.proto\";\npackage mesos.internal;\n@@ -600,6 +601,36 @@ message UpdateSla...
C++
Apache License 2.0
apache/mesos
Added internal wrapper messages for local resource provider Event/Call. For local resource providers, the agent will serve as a proxy between local resource provider and the master. It'll forward resource provider Events and Calls. Review: https://reviews.apache.org/r/59047
46,181
05.05.2017 17:47:00
25,200
3c8b7afa99834086834e5614f7077fcc0d0159e3
Fixed flakiness in HierarchicalAllocatorTest.NestedRoleDRF. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/hierarchical_allocator_tests.cpp", "new_path": "src/tests/hierarchical_allocator_tests.cpp", "diff": "@@ -742,11 +742,18 @@ TEST_F(HierarchicalAllocatorTest, NestedRoleDRF)\n// a/b share = 1 (cpus=2, mem=1024)\n// framework1 share = 1\n- // Add a new...
C++
Apache License 2.0
apache/mesos
Fixed flakiness in HierarchicalAllocatorTest.NestedRoleDRF. Review: https://reviews.apache.org/r/59038
46,181
04.05.2017 12:00:23
25,200
851d5f0a1ef2d1f0bb925e8c6e9ee7ed06a910fa
Fixed extra newline in webui for re-registered frameworks. Review:
[ { "change_type": "MODIFY", "old_path": "src/webui/master/static/framework.html", "new_path": "src/webui/master/static/framework.html", "diff": "<m-timestamp value=\"{{framework.registered_time * 1000}}\"></m-timestamp>\n</dd>\n<dt>Re-registered:</dt>\n- <dd ng-show=\"!framework.reregistered_time\">-...
C++
Apache License 2.0
apache/mesos
Fixed extra newline in webui for re-registered frameworks. Review: https://reviews.apache.org/r/58998
46,210
08.05.2017 19:15:29
-7,200
c3130bd56d6a691da8c561e7acc739fe5fd87564
Added new ContainerLaunchInfo task_environment. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/containerizer.proto", "new_path": "include/mesos/slave/containerizer.proto", "diff": "@@ -161,6 +161,8 @@ message ContainerLaunchInfo {\n// The additional preparation commands to execute before\n// executing the command.\nrepeated CommandIn...
C++
Apache License 2.0
apache/mesos
Added new ContainerLaunchInfo task_environment. Review: https://reviews.apache.org/r/58923/
46,210
08.05.2017 19:15:57
-7,200
1973ab59f731cb7c44c2abfc851567f3b9e6555a
Updated containerizer for isolator task_environment merge. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -1347,6 +1347,32 @@ Future<bool> MesosContainerizerProcess::_launch(\nlaunchInfo.mutable_command()->CopyFrom(container->config.command_...
C++
Apache License 2.0
apache/mesos
Updated containerizer for isolator task_environment merge. Review: https://reviews.apache.org/r/58924/
46,210
08.05.2017 19:16:54
-7,200
b53c5d3a598f0b7bf6fa7eda1f35dee0db00e082
Updated runtime isolators to use new task_environment member. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/isolators/appc/runtime.cpp", "new_path": "src/slave/containerizer/mesos/isolators/appc/runtime.cpp", "diff": "@@ -116,9 +116,7 @@ Future<Option<ContainerLaunchInfo>> AppcRuntimeIsolatorProcess::prepare(\nCommandInfo executorComman...
C++
Apache License 2.0
apache/mesos
Updated runtime isolators to use new task_environment member. Review: https://reviews.apache.org/r/58925/
46,177
08.05.2017 11:18:35
25,200
f457ecd26cf4040f501fa630a16af0ffdb896e46
CMake: Fixed resource_provider.proto variable name.
[ { "change_type": "MODIFY", "old_path": "src/CMakeLists.txt", "new_path": "src/CMakeLists.txt", "diff": "@@ -83,7 +83,7 @@ set(PUBLIC_PROTOBUF_SRC\n${OCI_SPEC_PROTO_CC}\n${OVERSUBSCRIPTION_PROTO_CC}\n${QUOTA_PROTO_CC}\n- ${RESOURCE_PROVIDER_CC}\n+ ${RESOURCE_PROVIDER_PROTO_CC}\n${SCHEDULER_PROTO_CC}\...
C++
Apache License 2.0
apache/mesos
CMake: Fixed resource_provider.proto variable name.
46,103
09.05.2017 10:15:09
-7,200
188d2e220aff950927ecbda78e3c306b7f79b83f
Introduced ResourceProviderInfo proto. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/mesos.proto", "new_path": "include/mesos/mesos.proto", "diff": "@@ -819,6 +819,18 @@ message SlaveInfo {\n}\n+/**\n+ * Describes a resource provider. Note that the 'id' field is only available\n+ * after a resource provider is registered with the...
C++
Apache License 2.0
apache/mesos
Introduced ResourceProviderInfo proto. Review: https://reviews.apache.org/r/58949/
46,056
09.05.2017 13:58:10
-7,200
7af95097f83d85b8e665d30e5ac05a579f2f0827
Chained the underlying error for mnt namespace failure.
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -1562,8 +1562,8 @@ Future<bool> MesosContainerizerProcess::_launch(\nTry<pid_t> mountNamespaceTarget = getMountNamespaceTarget(parentPi...
C++
Apache License 2.0
apache/mesos
Chained the underlying error for mnt namespace failure.
46,066
09.05.2017 14:58:10
-7,200
2108836fcd5ce25d2a810d470fb2f73f3d6d4b7e
Added fields for resource provider actions. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/resource_provider/resource_provider.proto", "new_path": "include/mesos/resource_provider/resource_provider.proto", "diff": "syntax = \"proto2\";\n+import \"mesos/mesos.proto\";\n+\npackage mesos.resource_provider;\noption java_package = \"org.apa...
C++
Apache License 2.0
apache/mesos
Added fields for resource provider actions. Review: https://reviews.apache.org/r/59083/
46,073
09.05.2017 09:21:53
25,200
d2afca0b78842f07d84c893815bf4b811c8c2f3f
Add new MUG for Tokyo. I just add the new Tokyo in Japan MUG in communities by Shingo.Kitayama. This closes
[ { "change_type": "MODIFY", "old_path": "site/source/community/user-groups.html.md", "new_path": "site/source/community/user-groups.html.md", "diff": "@@ -27,6 +27,9 @@ Mesos User Groups (MUGs) are responsible for organizing local meetups, hackathon\n* [Bangalore](http://www.meetup.com/Bangalore-Meso...
C++
Apache License 2.0
apache/mesos
Add new MUG for Tokyo. I just add the new Tokyo in Japan MUG in communities by Shingo.Kitayama. This closes #212
46,181
09.05.2017 07:59:01
25,200
c0ff3f2685e094154cacee91be485afe5a353410
Fixed flakiness in agent registration validation tests. RegisterSlaveValidationTest.DropInvalidReregistration and RegisterSlaveValidationTest.DropInvalidRegistration. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/master_validation_tests.cpp", "new_path": "src/tests/master_validation_tests.cpp", "diff": "@@ -3732,6 +3732,8 @@ class RegisterSlaveValidationTest : public MesosTest {};\nTEST_F(RegisterSlaveValidationTest, DropInvalidReregistration)\n{\n+ Clock::pa...
C++
Apache License 2.0
apache/mesos
Fixed flakiness in agent registration validation tests. RegisterSlaveValidationTest.DropInvalidReregistration and RegisterSlaveValidationTest.DropInvalidRegistration. Review: https://reviews.apache.org/r/59097
46,165
08.05.2017 18:13:25
25,200
e64c0d88e0d16a42baa0939e25f0be2dad2c6c52
Fixed the MULTI_ROLE upgrade path for an old master and new agent. The agent was accidentally assuming that the task sent by the master had the `allocation_info` set. The fix is for `getExecutorInfo` to inject only in the case where it is already set. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/slave.cpp", "new_path": "src/slave/slave.cpp", "diff": "@@ -4994,21 +4994,28 @@ ExecutorInfo Slave::getExecutorInfo(\n\"cpus:\" + stringify(DEFAULT_EXECUTOR_CPUS) + \";\" +\n\"mem:\" + stringify(DEFAULT_EXECUTOR_MEM.megabytes())).get();\n- // Inject ...
C++
Apache License 2.0
apache/mesos
Fixed the MULTI_ROLE upgrade path for an old master and new agent. The agent was accidentally assuming that the task sent by the master had the `allocation_info` set. The fix is for `getExecutorInfo` to inject only in the case where it is already set. Review: https://reviews.apache.org/r/59078
46,165
09.05.2017 14:15:25
25,200
1e00fd5fabde88bf2052c3e1f2530c7333f52f85
Added to the 1.3.0 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -198,6 +198,7 @@ All Resolved Issues:\n* [MESOS-7430] - Per-role Suppress call implementation is broken.\n* [MESOS-7453] - glyphicons-halflings-regular.woff2 is missing in WebUI.\n* [MESOS-7456] - Compilation er...
C++
Apache License 2.0
apache/mesos
Added MESOS-7478 to the 1.3.0 CHANGELOG.
46,114
09.05.2017 14:06:01
25,200
5e2188e6ad2acf190505b04db1aa03dade67bb75
Fixed `Version::validateIdentifier()` for Unicode edge case. The test case `u8"1.0.0-b\u00e9ta"` in `VersionTest.ParseInvalid` caused an abort in `isctype.cpp` with VS 2017. Changing the `char` to an `unsigned char` prevents this. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/version.hpp", "new_path": "3rdparty/stout/include/stout/version.hpp", "diff": "@@ -299,7 +299,7 @@ private:\nreturn Error(\"Empty identifier\");\n}\n- auto alphaNumericOrHyphen = [](char c) -> bool {\n+ auto alphaNumericOrHyphen = ...
C++
Apache License 2.0
apache/mesos
Fixed `Version::validateIdentifier()` for Unicode edge case. The test case `u8"1.0.0-b\u00e9ta"` in `VersionTest.ParseInvalid` caused an abort in `isctype.cpp` with VS 2017. Changing the `char` to an `unsigned char` prevents this. Review: https://reviews.apache.org/r/59110/
46,078
29.04.2017 14:38:28
25,200
315cec17233712088f1ee6663224f44d8ceb608e
Added C++11 scoped enumeration to style guide. Review:
[ { "change_type": "MODIFY", "old_path": "docs/c++-style-guide.md", "new_path": "docs/c++-style-guide.md", "diff": "@@ -645,3 +645,5 @@ Const expression constructors allow object initialization at compile time provid\n~~~\nC++11 does not provide `constexpr string` or `constexpr` containers in the STL ...
C++
Apache License 2.0
apache/mesos
Added C++11 scoped enumeration to style guide. Review: https://reviews.apache.org/r/58892
46,181
09.05.2017 15:08:43
25,200
1bdb1afeff17fe4c9a4fee3018d5e6b8071b0651
Improved error reporting in status update manager. When an I/O operation fails, we should include the error message returned by the I/O operation in the error we return to the caller. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/status_update_manager.cpp", "new_path": "src/slave/status_update_manager.cpp", "diff": "@@ -669,9 +669,10 @@ StatusUpdateStream::StatusUpdateStream(\ntaskId);\n// Create the base updates directory, if it doesn't exist.\n- Try<Nothing> directory = os:...
C++
Apache License 2.0
apache/mesos
Improved error reporting in status update manager. When an I/O operation fails, we should include the error message returned by the I/O operation in the error we return to the caller. Review: https://reviews.apache.org/r/59114
46,181
09.05.2017 17:52:20
25,200
002fbaef7a7b9064a5643b692e5f5f3ce3400fe7
Cleaned up comments in stout's Version. Review:
[ { "change_type": "MODIFY", "old_path": "3rdparty/stout/include/stout/version.hpp", "new_path": "3rdparty/stout/include/stout/version.hpp", "diff": "//\n// TODO(neilc): Consider providing a \"strict\" variant that does not\n// allow these extensions.\n-//\n-// Ideally, the version components would be...
C++
Apache License 2.0
apache/mesos
Cleaned up comments in stout's Version. Review: https://reviews.apache.org/r/59122
46,181
09.05.2017 21:26:14
25,200
f3bb43da3d7e68db2a015c3dd6b58849b9278b06
Sorted 1.2.1 CHANGELOG entries.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -302,10 +302,10 @@ 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 sand...
C++
Apache License 2.0
apache/mesos
Sorted 1.2.1 CHANGELOG entries.
46,181
09.05.2017 21:39:04
25,200
4a1b8a3ef3ce2d2c8299a94d494bef41f869f05d
Added MESOS-{1987,6976,7389,7464,7484} to 1.3.0 CHANGELOG.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -97,7 +97,6 @@ Unresolved Critical Issues:\n* [MESOS-7378] - Build failure with missing gnu_dev_major and gnu_dev_minor symbols.\n* [MESOS-7381] - Flaky tests in NestedMesosContainerizerTest.\n* [MESOS-7386] - E...
C++
Apache License 2.0
apache/mesos
Added MESOS-{1987,6976,7389,7464,7484} to 1.3.0 CHANGELOG.
46,210
10.05.2017 14:42:21
-7,200
17baccf84956d225b393538998aff195af0ea7cb
Fixed task_environment serializing in containerizer. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -1368,8 +1368,15 @@ Future<bool> MesosContainerizerProcess::_launch(\n}\nif (!commandTaskEnvironment.empty()) {\n+ Environment taskEnvi...
C++
Apache License 2.0
apache/mesos
Fixed task_environment serializing in containerizer. Review: https://reviews.apache.org/r/59140/
46,181
10.05.2017 14:42:43
25,200
ca7c5ca3ec3cbd9a6d3d0d68b6f3d655de4b5db2
Added to CHANGELOG for 1.3.0.
[ { "change_type": "MODIFY", "old_path": "CHANGELOG", "new_path": "CHANGELOG", "diff": "@@ -94,7 +94,6 @@ Unresolved Critical Issues:\n* [MESOS-7298] - Fetcher caches files with world-readable permissions.\n* [MESOS-7362] - GPU support can't work when run spark.\n* [MESOS-7374] - Running DOCKER images...
C++
Apache License 2.0
apache/mesos
Added MESOS-7378 to CHANGELOG for 1.3.0.
46,056
28.04.2017 16:32:32
-7,200
37f212e608c4f0d0580daefae5583916c570d080
Checkpointed and recovered ContainerLaunchInfo for non-orphans. In mesos containerizer, cache each container's launch info and recover it for non-orphan containers. This is a prerequisite for persisting some container characteristics across agent failover. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -909,6 +909,26 @@ Future<Nothing> MesosContainerizerProcess::__recover(\nconst list<ContainerState>& recovered,\nconst hashset<Containe...
C++
Apache License 2.0
apache/mesos
Checkpointed and recovered ContainerLaunchInfo for non-orphans. In mesos containerizer, cache each container's launch info and recover it for non-orphan containers. This is a prerequisite for persisting some container characteristics across agent failover. Review: https://reviews.apache.org/r/58847
46,056
28.04.2017 17:09:51
-7,200
e4940a5af27660332cbacb9fbeddd5ec5655d98a
Inherited environment from parent when launching a DEBUG container. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -1420,24 +1420,39 @@ Future<bool> MesosContainerizerProcess::_launch(\nlaunchInfo.mutable_command()->clear_environment();\nlaunchInfo.m...
C++
Apache License 2.0
apache/mesos
Inherited environment from parent when launching a DEBUG container. Review: https://reviews.apache.org/r/58262
46,056
24.04.2017 16:38:41
-7,200
721ee58196f1aaabeccf99324bebd78678198d60
Added a test that verifies a task's env var is seen by its check. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/check_tests.cpp", "new_path": "src/tests/check_tests.cpp", "diff": "@@ -505,6 +505,110 @@ TEST_F(CommandExecutorCheckTest, CommandCheckStatusChange)\n}\n+// Verifies that an environment variable set for the task is seen by its\n+// command check.\n+T...
C++
Apache License 2.0
apache/mesos
Added a test that verifies a task's env var is seen by its check. Review: https://reviews.apache.org/r/58718
46,056
27.04.2017 22:22:01
-7,200
5435f84c8319ebb1359df92a7ca88cbb1bec0582
Captured AgentID from the offer by reference in tests. Review:
[ { "change_type": "MODIFY", "old_path": "src/tests/check_tests.cpp", "new_path": "src/tests/check_tests.cpp", "diff": "@@ -285,7 +285,7 @@ TEST_F_TEMP_DISABLED_ON_WINDOWS(\nAWAIT_READY(offers);\nEXPECT_NE(0, offers->offers().size());\nconst v1::Offer& offer = offers->offers(0);\n- const v1::AgentID a...
C++
Apache License 2.0
apache/mesos
Captured AgentID from the offer by reference in tests. Review: https://reviews.apache.org/r/58817
46,056
27.04.2017 19:16:36
-7,200
eecbd501670547c051a99522679c86539503adb4
Ensured DEBUG container shares MESOS_SANDBOX with its parent. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.cpp", "new_path": "src/slave/containerizer/mesos/containerizer.cpp", "diff": "@@ -1457,8 +1457,7 @@ Future<bool> MesosContainerizerProcess::_launch(\nvariable->set_value(value);\n}\n- // TODO(klueska): Remove the che...
C++
Apache License 2.0
apache/mesos
Ensured DEBUG container shares MESOS_SANDBOX with its parent. Review: https://reviews.apache.org/r/58818
46,056
27.04.2017 18:19:35
-7,200
8b06fbc09f64e55f243770a657fed512c34103e1
Clarified the comment about Container.directory. Review:
[ { "change_type": "MODIFY", "old_path": "src/slave/containerizer/mesos/containerizer.hpp", "new_path": "src/slave/containerizer/mesos/containerizer.hpp", "diff": "@@ -319,6 +319,11 @@ private:\n// Sandbox directory for the container. It is optional here because\n// we don't keep track of sandbox dire...
C++
Apache License 2.0
apache/mesos
Clarified the comment about Container.directory. Review: https://reviews.apache.org/r/58819
46,056
27.04.2017 17:26:18
-7,200
6ed5207b7c0ecf08b117ef123a4b3b96aabc9bac
Explained how container working directory differs from its sandbox. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/containerizer.proto", "new_path": "include/mesos/slave/containerizer.proto", "diff": "@@ -184,8 +184,9 @@ message ContainerLaunchInfo {\n// a command task.\noptional CommandInfo command = 5;\n- // The working directory for the container.\n-...
C++
Apache License 2.0
apache/mesos
Explained how container working directory differs from its sandbox. Review: https://reviews.apache.org/r/58820
46,056
28.04.2017 17:29:54
-7,200
2cab2c02457ee4471f5143772a53e84aceaab06b
Inherited working dir from parent when launching a DEBUG container. Review:
[ { "change_type": "MODIFY", "old_path": "include/mesos/slave/containerizer.proto", "new_path": "include/mesos/slave/containerizer.proto", "diff": "@@ -184,9 +184,10 @@ message ContainerLaunchInfo {\n// a command task.\noptional CommandInfo command = 5;\n- // The working directory for the container. I...
C++
Apache License 2.0
apache/mesos
Inherited working dir from parent when launching a DEBUG container. Review: https://reviews.apache.org/r/58263