author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
46,181 | 11.05.2017 16:03:13 | 25,200 | 85569d002f154610862f9860d10f5b742ac7d7c2 | Removed code for old agents when handling status updates.
0.x agents are no longer supported.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -6446,14 +6446,8 @@ void Master::statusUpdate(StatusUpdate update, const UPID& pid)\nLOG(INFO) << \"Status update \" << update << \" from agent \" << *slave;\n- // We ensure that the uuid... | C++ | Apache License 2.0 | apache/mesos | Removed code for old agents when handling status updates.
0.x agents are no longer supported.
Review: https://reviews.apache.org/r/59218 |
46,181 | 11.05.2017 16:04:09 | 25,200 | 207b61981d6f3084b8d13c9535ebe40215d6d699 | Removed logic for handling missing FrameworkID in ExecutorInfo.
The master will inject missing `FrameworkID`s into `ExecutorInfo` since
Mesos 0.23 (see so it should be safe to assume it is always
set.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -7573,16 +7573,8 @@ void Master::reconcileKnownSlave(\n// for resources. First we index the executors for fast lookup below.\nmultihashmap<FrameworkID, ExecutorID> slaveExecutors;\nforeac... | C++ | Apache License 2.0 | apache/mesos | Removed logic for handling missing FrameworkID in ExecutorInfo.
The master will inject missing `FrameworkID`s into `ExecutorInfo` since
Mesos 0.23 (see MESOS-2290), so it should be safe to assume it is always
set.
Review: https://reviews.apache.org/r/59219 |
46,181 | 13.05.2017 12:51:59 | 25,200 | 9529ebfed7d78ce859b5a4c4371bae8551e70a51 | Cleaned up master code to check for PARTITION_AWARE capability.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -3836,8 +3836,7 @@ void Master::accept(\n\"Task launched with invalid offers: \" + error.get().message,\nTaskStatus::REASON_INVALID_OFFERS);\n- if (protobuf::frameworkHasCapability(\n- fr... | C++ | Apache License 2.0 | apache/mesos | Cleaned up master code to check for PARTITION_AWARE capability.
Review: https://reviews.apache.org/r/59259 |
46,181 | 15.05.2017 15:16:29 | 25,200 | 7dec5f4f79517158fbf474ff064625bc95b33d45 | Marked a few deprecated proto fields with the "deprecated" option.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/master/master.proto",
"new_path": "include/mesos/master/master.proto",
"diff": "@@ -360,7 +360,7 @@ message Response {\n// `recovered` field set to true.\n//\n// TODO(neilc): Remove this field in Mesos 2.0.\n- repeated FrameworkInfo recovered_fra... | C++ | Apache License 2.0 | apache/mesos | Marked a few deprecated proto fields with the "deprecated" option.
Review: https://reviews.apache.org/r/59301 |
46,181 | 15.05.2017 16:39:31 | 25,200 | 8054de1967a09bc04b316e183c74cf56a4ee493e | Simplified master logic for agent re-registration.
Now that 0.x agents are not supported, the master logic can be
simplified somewhat.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/master.cpp",
"new_path": "src/master/master.cpp",
"diff": "@@ -6165,15 +6165,10 @@ void Master::___reregisterSlave(\nCHECK_NOTNULL(slave);\n// Send the latest framework pids to the slave.\n- hashset<FrameworkID> ids;\n-\nforeach (const FrameworkInfo... | C++ | Apache License 2.0 | apache/mesos | Simplified master logic for agent re-registration.
Now that 0.x agents are not supported, the master logic can be
simplified somewhat.
Review: https://reviews.apache.org/r/59302 |
46,111 | 31.05.2017 14:01:40 | 25,200 | 0bc502292d51c7d78c01de5764c5280b3fc0e3df | Uses temp dir for docker and appc stores in test.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/mesos.cpp",
"new_path": "src/tests/mesos.cpp",
"diff": "@@ -177,6 +177,10 @@ slave::Flags MesosTest::CreateSlaveFlags()\nflags.launcher_dir = getLauncherDir();\n+ flags.appc_store_dir = path::join(directory.get(), \"store\", \"appc\");\n+\n+ flags.do... | C++ | Apache License 2.0 | apache/mesos | Uses temp dir for docker and appc stores in test.
Review: https://reviews.apache.org/r/59279/ |
46,181 | 31.05.2017 14:42:55 | 25,200 | d5c5561c0e58183a61c014e1de4095c9ea703fec | Tweak wording of master flag usage text. | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration.md",
"new_path": "docs/configuration.md",
"diff": "@@ -587,7 +587,7 @@ Note that if the flag <code>--authorizers</code> is provided with a value\ndifferent than the default <code>local</code>, the ACLs\npassed through the <code>--acls</code>... | C++ | Apache License 2.0 | apache/mesos | Tweak wording of master flag usage text. |
46,188 | 30.05.2017 14:26:07 | 25,200 | b90ba2b7aeffeffef0d590c813a924b94762207d | Used `delete` for `Slave` copy constructor and assignment operator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.hpp",
"new_path": "src/slave/slave.hpp",
"diff": "@@ -504,8 +504,8 @@ private:\nconst FrameworkID& frameworkId,\nconst ExecutorID& executorId);\n- Slave(const Slave&); // No copying.\n- Slave& operator=(const Slave&); // No assigning.\n+ Slave(... | C++ | Apache License 2.0 | apache/mesos | Used `delete` for `Slave` copy constructor and assignment operator.
Review: https://reviews.apache.org/r/59659 |
46,188 | 30.05.2017 14:30:23 | 25,200 | 7ba736ae7c08cfe293bcb2298645b3c1248f3cc2 | Reordered some method definitions in `Slave` class.
Moved all the metrics related continuation methods close to each other
so it's more consistent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.hpp",
"new_path": "src/slave/slave.hpp",
"diff": "@@ -534,6 +534,14 @@ private:\ndouble _executor_directory_max_allowed_age_secs();\n+ double _resources_total(const std::string& name);\n+ double _resources_used(const std::string& name);\n+ doub... | C++ | Apache License 2.0 | apache/mesos | Reordered some method definitions in `Slave` class.
Moved all the metrics related continuation methods close to each other
so it's more consistent.
Review: https://reviews.apache.org/r/59660 |
46,188 | 30.05.2017 15:36:54 | 25,200 | 96ec255e1160b7abc7a4c0222d43af5d87007ae4 | Fixed some style issues in slave.hpp.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.hpp",
"new_path": "src/slave/slave.hpp",
"diff": "@@ -96,7 +96,6 @@ namespace mesos {\nclass Authorizer;\nnamespace internal {\n-\nnamespace slave {\n// Some forward declarations.\n@@ -105,6 +104,7 @@ struct Executor;\nstruct Framework;\nstruct... | C++ | Apache License 2.0 | apache/mesos | Fixed some style issues in slave.hpp.
Review: https://reviews.apache.org/r/59661 |
46,188 | 30.05.2017 15:38:09 | 25,200 | 96e08d8ff1ab2a2f3b6096a26e5c4cab7575b40d | Changed `Executor` and `Framework` to class.
It's wierd that `Executor` and `Framework` are struct, but they have
`private` fields.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.hpp",
"new_path": "src/slave/slave.hpp",
"diff": "@@ -100,8 +100,9 @@ namespace slave {\n// Some forward declarations.\nclass StatusUpdateManager;\n-struct Executor;\n-struct Framework;\n+class Executor;\n+class Framework;\n+\nstruct HttpConnec... | C++ | Apache License 2.0 | apache/mesos | Changed `Executor` and `Framework` to class.
It's wierd that `Executor` and `Framework` are struct, but they have
`private` fields.
Review: https://reviews.apache.org/r/59662 |
46,188 | 30.05.2017 15:39:53 | 25,200 | fc1fd076ef81767afda9c61a4c206fc688cbb938 | Removed unnecessary friend declaration for an stream operator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.hpp",
"new_path": "src/slave/slave.hpp",
"diff": "@@ -742,10 +742,6 @@ public:\n// Returns the task group associated with the task.\nOption<TaskGroupInfo> getQueuedTaskGroup(const TaskID& taskId);\n- friend std::ostream& operator<<(\n- std::ost... | C++ | Apache License 2.0 | apache/mesos | Removed unnecessary friend declaration for an stream operator.
Review: https://reviews.apache.org/r/59663 |
46,188 | 30.05.2017 15:40:55 | 25,200 | ca52dec7da0d6327661326e90004c6f2e991ed5c | Used `delete` for deleting copy constructor and assignment operator.
This is for `Executor` and `Framework` class in slave.hpp.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.hpp",
"new_path": "src/slave/slave.hpp",
"diff": "@@ -835,8 +835,8 @@ public:\nOption<mesos::slave::ContainerTermination> pendingTermination;\nprivate:\n- Executor(const Executor&); // No copying.\n- Executor& operator=(const Executor&); // No ... | C++ | Apache License 2.0 | apache/mesos | Used `delete` for deleting copy constructor and assignment operator.
This is for `Executor` and `Framework` class in slave.hpp.
Review: https://reviews.apache.org/r/59664 |
46,188 | 30.05.2017 15:42:30 | 25,200 | 3f5008a4226a489660a1be9185299d16825b0250 | Reordered the streaming functions in slave.hpp|cpp.
Ensure that the streaming functions are sorted according to alphabet
order.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -7807,13 +7807,13 @@ std::ostream& operator<<(std::ostream& stream, const Executor& executor)\n}\n-std::ostream& operator<<(std::ostream& stream, Slave::State state)\n+std::ostream& operator<... | C++ | Apache License 2.0 | apache/mesos | Reordered the streaming functions in slave.hpp|cpp.
Ensure that the streaming functions are sorted according to alphabet
order.
Review: https://reviews.apache.org/r/59665 |
46,188 | 30.05.2017 15:55:04 | 25,200 | fc00c5bb379079dc01f33fe8ed1f7800a9bc0811 | Moved Framework::hasTask to the source file.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -7307,6 +7307,26 @@ void Framework::recoverExecutor(\n}\n+bool Framework::hasTask(const TaskID& taskId)\n+{\n+ foreachkey (const ExecutorID& executorId, pending) {\n+ if (pending[executorId].... | C++ | Apache License 2.0 | apache/mesos | Moved Framework::hasTask to the source file.
Review: https://reviews.apache.org/r/59666 |
46,188 | 30.05.2017 15:55:19 | 25,200 | 6254e2df9a609139cc478b1eea4f7e4925db269d | Reordered some methods in the agent code into logic units.
Also, make sure the order in the header is in sync with that in the
corresponding source file.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -4882,6 +4882,26 @@ Executor* Slave::getExecutor(\n}\n+Executor* Slave::getExecutor(const ContainerID& containerId) const\n+{\n+ const ContainerID rootContainerId = protobuf::getRootContainer... | C++ | Apache License 2.0 | apache/mesos | Reordered some methods in the agent code into logic units.
Also, make sure the order in the header is in sync with that in the
corresponding source file.
Review: https://reviews.apache.org/r/59667 |
46,188 | 30.05.2017 16:02:14 | 25,200 | 10ab6c225cab7f6bbe8890e06fb8aafde662bc92 | Removed an unnecessary function declaration from slave.hpp.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -161,6 +161,14 @@ namespace slave {\nusing namespace state;\n+// Forward declarations.\n+\n+// Needed for logging task/task group.\n+static string taskOrTaskGroup(\n+ const Option<TaskInfo>& ... | C++ | Apache License 2.0 | apache/mesos | Removed an unnecessary function declaration from slave.hpp.
Review: https://reviews.apache.org/r/59668 |
46,188 | 30.05.2017 16:03:57 | 25,200 | 97272c80c3586bea568974161223d1c4ec381e36 | Removed some unnecessary std:: prefix in slave.cpp.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -128,8 +128,10 @@ using mesos::slave::ResourceEstimator;\nusing std::find;\nusing std::list;\nusing std::map;\n+using std::ostream;\nusing std::ostringstream;\nusing std::set;\n+using std::sh... | C++ | Apache License 2.0 | apache/mesos | Removed some unnecessary std:: prefix in slave.cpp.
Review: https://reviews.apache.org/r/59669 |
46,188 | 30.05.2017 16:32:07 | 25,200 | e6a865b519601fd9fbd3b44f5bc3d3a97c6a5bb8 | Removed an unnecessary declaration in slave.hpp.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -171,6 +171,12 @@ static string taskOrTaskGroup(\nconst Option<TaskGroupInfo>& taskGroup);\n+// Returns the command info for default executor.\n+static CommandInfo defaultExecutorCommandInfo(... | C++ | Apache License 2.0 | apache/mesos | Removed an unnecessary declaration in slave.hpp.
Review: https://reviews.apache.org/r/59670 |
46,188 | 30.05.2017 16:33:34 | 25,200 | a1731d4f0ee8ea8a5f882a37cd7874d8bdbd67f4 | Reordered `Slave` copy constructor and assignment operator.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.hpp",
"new_path": "src/slave/slave.hpp",
"diff": "@@ -476,6 +476,9 @@ private:\nfriend struct Metrics;\n+ Slave(const Slave&) = delete;\n+ Slave& operator=(const Slave&) = delete;\n+\nvoid _authenticate();\nvoid authenticationTimeout(process::F... | C++ | Apache License 2.0 | apache/mesos | Reordered `Slave` copy constructor and assignment operator.
Review: https://reviews.apache.org/r/59671 |
46,188 | 30.05.2017 16:36:53 | 25,200 | b415c8cef1f39ae94b2b59c3c74495e7dd141eba | Reordered gauge methods in `Slave` class.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -6585,126 +6585,6 @@ Future<ResourceUsage> Slave::usage()\n}\n-// TODO(dhamon): Move these to their own metrics.hpp|cpp.\n-double Slave::_tasks_staging()\n-{\n- double count = 0.0;\n- foreach... | C++ | Apache License 2.0 | apache/mesos | Reordered gauge methods in `Slave` class.
Review: https://reviews.apache.org/r/59672 |
46,188 | 30.05.2017 16:49:12 | 25,200 | 3e4a12ccab9efff8a7ba7e95c35429fa5ff86402 | Combined an 'undef' workaround for Windows.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.hpp",
"new_path": "src/slave/slave.hpp",
"diff": "// constant in the Windows SDK.\n#ifdef __WINDOWS__\n#undef REGISTERING\n+#undef REGISTERED\n#endif // __WINDOWS__\nnamespace mesos {\n@@ -742,16 +743,6 @@ public:\n// Returns the task group ass... | C++ | Apache License 2.0 | apache/mesos | Combined an 'undef' workaround for Windows.
Review: https://reviews.apache.org/r/59673 |
46,109 | 31.05.2017 14:56:36 | 25,200 | d5d3432c9766ae115273d73ffe51f79060f096c3 | Add Quinn Leng to contributors list.
This closes | [
{
"change_type": "MODIFY",
"old_path": "docs/contributors.yaml",
"new_path": "docs/contributors.yaml",
"diff": "jira_user: qianzhang\nreviewboard_user: qianzhang\n+- name: Quinn Leng\n+ affiliations:\n+ - {organization: Mesosphere}\n+ emails:\n+ - qleng@mesosphere.io\n+ jira_user: quinn.leng.666@gma... | C++ | Apache License 2.0 | apache/mesos | Add Quinn Leng to contributors list.
This closes #215 |
46,114 | 31.05.2017 15:30:13 | 25,200 | a85a228d62f879b649240c82bb09c47c0bea94c8 | Renamed `flags` to `libprocess_flags` to fix Windows build.
On Windows, the use of pre-compiled headers causes problems when reusing
the identifier `flags`. This commit renames it to `libprocess_flags` to
avoid conflicts.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/src/process.cpp",
"new_path": "3rdparty/libprocess/src/process.cpp",
"diff": "@@ -576,7 +576,7 @@ private:\nstd::atomic_bool finalizing;\n};\n-static internal::Flags* flags = new internal::Flags();\n+static internal::Flags* libprocess_flags... | C++ | Apache License 2.0 | apache/mesos | Renamed `flags` to `libprocess_flags` to fix Windows build.
On Windows, the use of pre-compiled headers causes problems when reusing
the identifier `flags`. This commit renames it to `libprocess_flags` to
avoid conflicts.
Review: https://reviews.apache.org/r/59691/ |
46,181 | 31.05.2017 15:39:50 | 25,200 | 7c1c96d712a4c3a9e0ffd579e542cbd074fa964e | Ordered configuration flag docs alphabetically. | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration.md",
"new_path": "docs/configuration.md",
"diff": "@@ -120,91 +120,65 @@ Show the help message and exit. (default: false)\n</tr>\n<tr>\n<td>\n- --http_authenticators=VALUE\n- </td>\n- <td>\n-HTTP authenticator implementation to use when hand... | C++ | Apache License 2.0 | apache/mesos | Ordered configuration flag docs alphabetically. |
46,181 | 31.05.2017 16:16:43 | 25,200 | f3a1ad0a1e15136196b3e093cb89083e2db8a0a7 | Fixed various minor stylistic issues with flag help text. | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration.md",
"new_path": "docs/configuration.md",
"diff": "@@ -7,8 +7,8 @@ layout: documentation\n# Mesos Configuration\nThe Mesos master and agent can take a variety of configuration options\n-through command-line arguments, or environment variable... | C++ | Apache License 2.0 | apache/mesos | Fixed various minor stylistic issues with flag help text. |
46,181 | 01.06.2017 10:50:39 | 25,200 | 1afc364c06706b107f26ce796f393879faab7be6 | Synchronized help text and doc text for --allowed_capabilities flag. | [
{
"change_type": "MODIFY",
"old_path": "docs/configuration.md",
"new_path": "docs/configuration.md",
"diff": "@@ -1022,15 +1022,32 @@ cgroup.\n--allowed_capabilities=VALUE\n</td>\n<td>\n-The value needs to be a JSON-formatted string of Linux capabilities\n-that the agent should allow. Note that if n... | C++ | Apache License 2.0 | apache/mesos | Synchronized help text and doc text for --allowed_capabilities flag. |
46,128 | 01.06.2017 12:16:56 | 25,200 | 2998026bb920924906fc1d4ddabc81397f8cd452 | Added test for agent ping timeout during agent recovery.
This patch adds a new test,
`SlaveRecoveryTest.PingTimeoutDuringRecovery`, which verifies
that the agent will reply to pings from the master while it
is performing recovery.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_recovery_tests.cpp",
"new_path": "src/tests/slave_recovery_tests.cpp",
"diff": "@@ -913,6 +913,157 @@ TYPED_TEST(SlaveRecoveryTest, ReconnectExecutorRetry)\n}\n+// This test verifies that the agent responds to pings from the master while the\n+... | C++ | Apache License 2.0 | apache/mesos | Added test for agent ping timeout during agent recovery.
This patch adds a new test,
`SlaveRecoveryTest.PingTimeoutDuringRecovery`, which verifies
that the agent will reply to pings from the master while it
is performing recovery.
Review: https://reviews.apache.org/r/59463/ |
46,128 | 01.06.2017 12:17:01 | 25,200 | 9e5bd10217d37166957cc6a4ebca82bceb2f8d74 | Added a test to verify the agent flag 'executor_reregistration_timeout'.
This patch adds a test to verify the correct behavior of
the agent flag 'executor_reregistration_timeout.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_tests.cpp",
"new_path": "src/tests/slave_tests.cpp",
"diff": "@@ -7210,6 +7210,141 @@ TEST_F(SlaveTest, IgnoreV0ExecutorIfItReregistersWithoutReconnect)\ndriver.join();\n}\n+\n+// This test verifies that the 'executor_reregistration_timeout' ag... | C++ | Apache License 2.0 | apache/mesos | Added a test to verify the agent flag 'executor_reregistration_timeout'.
This patch adds a test to verify the correct behavior of
the agent flag 'executor_reregistration_timeout.
Review: https://reviews.apache.org/r/59545/ |
46,128 | 01.06.2017 12:17:08 | 25,200 | f6c2fdb65703845b7048aeb5ad0ec78ffbe3a5ab | Added a test to verify executor driver message dropping behavior.
This patch adds a test which verifies that the executor driver will drop
RunTaskMessages when it is not connected to the agent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_tests.cpp",
"new_path": "src/tests/slave_tests.cpp",
"diff": "@@ -7211,6 +7211,133 @@ TEST_F(SlaveTest, IgnoreV0ExecutorIfItReregistersWithoutReconnect)\n}\n+// This test verifies that a disconnected PID-based executor will drop\n+// RunTaskMes... | C++ | Apache License 2.0 | apache/mesos | Added a test to verify executor driver message dropping behavior.
This patch adds a test which verifies that the executor driver will drop
RunTaskMessages when it is not connected to the agent.
Review: https://reviews.apache.org/r/59583/ |
46,181 | 01.06.2017 12:57:42 | 25,200 | 570dc89f8c884e1c349bdaaca65443a41aa6fbf6 | Replaced "!(x == y)" with "x != y" when comparing ExecutorInfos. | [
{
"change_type": "MODIFY",
"old_path": "src/master/validation.cpp",
"new_path": "src/master/validation.cpp",
"diff": "@@ -869,7 +869,7 @@ Option<Error> validateCompatibleExecutorInfo(\nslave->executors.at(framework->id()).at(executorId);\n}\n- if (executorInfo.isSome() && !(executor == executorInfo.... | C++ | Apache License 2.0 | apache/mesos | Replaced "!(x == y)" with "x != y" when comparing ExecutorInfos. |
46,103 | 01.06.2017 14:34:54 | 25,200 | d87f496b2f52ecca72ca319d8f3ba4d3c0f141fc | Added parallel test runner to distribution.
This commit add the parallel test runner to the distributed files.
Review: | [
{
"change_type": "MODIFY",
"old_path": "Makefile.am",
"new_path": "Makefile.am",
"diff": "@@ -40,7 +40,8 @@ all-recursive: src/python/setup.py \\\n# Standard stuff.\nEXTRA_DIST += bootstrap LICENSE NOTICE README.md \\\n- support/atexit.sh support/colors.sh\n+ support/atexit.sh support/colors.sh \\\n... | C++ | Apache License 2.0 | apache/mesos | Added parallel test runner to distribution.
This commit add the parallel test runner to the distributed files.
Review: https://reviews.apache.org/r/59730/ |
46,181 | 01.06.2017 14:38:02 | 25,200 | 178a3cccd0c3ceec1589a33163eaa89ccc993c86 | Clarified docs for multi-role frameworks and offers. | [
{
"change_type": "MODIFY",
"old_path": "docs/roles.md",
"new_path": "docs/roles.md",
"diff": "@@ -64,18 +64,31 @@ recommended practice is to only use ACLs to define which roles can be used; the\n## Associating frameworks with roles\nA framework specifies which roles it would like to subscribe to whe... | C++ | Apache License 2.0 | apache/mesos | Clarified docs for multi-role frameworks and offers. |
46,177 | 01.06.2017 17:32:06 | 25,200 | 6fa67899ef0f06dc6a0fdbb65f5efe9a7e12e76e | Windows: Disabled SlaveTest.ExecutorReregistrationTimeoutFlag.
This test aborts on Windows due to a difference in AgentID during
agent recovery. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_tests.cpp",
"new_path": "src/tests/slave_tests.cpp",
"diff": "@@ -7340,7 +7340,7 @@ TEST_F(SlaveTest, DisconnectedExecutorDropsMessages)\n// This test verifies that the 'executor_reregistration_timeout' agent flag\n// successfully extends the t... | C++ | Apache License 2.0 | apache/mesos | Windows: Disabled SlaveTest.ExecutorReregistrationTimeoutFlag.
This test aborts on Windows due to a difference in AgentID during
agent recovery. |
46,078 | 01.06.2017 17:33:39 | 25,200 | 396cda9cef532b9be980002d97e4aadf12ccec85 | Fixed a typo caused compilation error. | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -1128,7 +1128,7 @@ void HierarchicalAllocatorProcess::recoverResources(\nif (slaves.contains(slaveId)) {\nSlave& slave = slaves.at(slaveId);\n-... | C++ | Apache License 2.0 | apache/mesos | Fixed a typo caused compilation error. |
46,181 | 02.06.2017 14:58:44 | 25,200 | be8f1189ded92a573a7db17bdaec717230d4bbee | Copy-edited persistent volume docs. | [
{
"change_type": "MODIFY",
"old_path": "docs/persistent-volume.md",
"new_path": "docs/persistent-volume.md",
"diff": "@@ -5,16 +5,18 @@ layout: documentation\n# Persistent Volumes\n-Mesos provides a mechanism to create a persistent volume from disk\n-resources. When launching a task, you can create ... | C++ | Apache License 2.0 | apache/mesos | Copy-edited persistent volume docs. |
46,165 | 01.06.2017 14:57:24 | 25,200 | e86fa6d8e57f1db22cf6c246d51bd6b8b6a460c4 | Added subcomponent maintainers for the mesos containerizer.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/committers.md",
"new_path": "docs/committers.md",
"diff": "@@ -402,15 +402,53 @@ committers to learn about areas of the code that they are unfamiliar with.\n<thead>\n<tr>\n<th>Component</th>\n+ <th>Subcomponent</th>\n<th>Maintainers (alphabetical)</th>\n<... | C++ | Apache License 2.0 | apache/mesos | Added subcomponent maintainers for the mesos containerizer.
Review: https://reviews.apache.org/r/59731 |
46,188 | 01.06.2017 16:50:02 | 25,200 | 7a1f0a09dfba669387d9479f427ae741323b2901 | Removed out-dated working groups.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/working-groups.md",
"new_path": "docs/working-groups.md",
"diff": "@@ -4,148 +4,3 @@ layout: documentation\n---\n# Working Groups\n-\n-* **External Volumes**\n- * members:\n- * Adam B\n-* **Global resources**\n- * members:\n- * Adam B\n- * Jie Yu\n- * Joe... | C++ | Apache License 2.0 | apache/mesos | Removed out-dated working groups.
Review: https://reviews.apache.org/r/59749 |
46,188 | 02.06.2017 09:02:05 | 25,200 | 93c61cbe0cec8da374da5b580fa3f4f573313842 | Added working groups guidance.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/working-groups.md",
"new_path": "docs/working-groups.md",
"diff": "@@ -4,3 +4,19 @@ layout: documentation\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 project.\n+Belo... | C++ | Apache License 2.0 | apache/mesos | Added working groups guidance.
Review: https://reviews.apache.org/r/59750 |
46,188 | 02.06.2017 09:11:36 | 25,200 | d624255394b864ed477838e32f9712d7e63fc86f | Added a table for the active working groups.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/working-groups.md",
"new_path": "docs/working-groups.md",
"diff": "@@ -20,3 +20,10 @@ We don't use separate mailing lists for each working group.\nIn order to distinguish emails for a specific working group, please tag the email subject with the working g... | C++ | Apache License 2.0 | apache/mesos | Added a table for the active working groups.
Review: https://reviews.apache.org/r/59751 |
46,165 | 01.06.2017 15:05:03 | 25,200 | d8b3cf4775036b7a4f78bbbb0a8ae761fb2e7d03 | Added bmahler to the webui maintainers.
Review: | [
{
"change_type": "MODIFY",
"old_path": "docs/committers.md",
"new_path": "docs/committers.md",
"diff": "@@ -386,7 +386,7 @@ committers to learn about areas of the code that they are unfamiliar with.\n</tr>\n<tr>\n<td>WebUI</td>\n- <td>Haosdent Huang</td>\n+ <td>Haosdent Huang, Benjamin Mahler</td>\n... | C++ | Apache License 2.0 | apache/mesos | Added bmahler to the webui maintainers.
Review: https://reviews.apache.org/r/59732 |
46,181 | 05.06.2017 13:44:39 | 25,200 | cb4dc76434abd12173d962815c4a430bb05e7968 | Corrected a few comments. | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources.cpp",
"new_path": "src/common/resources.cpp",
"diff": "@@ -353,7 +353,7 @@ static bool addable(const Resource& left, const Resource& right)\nreturn false;\n}\n- // Check ResourceProvider.\n+ // Check ResourceProviderID.\nif (left.has_provi... | C++ | Apache License 2.0 | apache/mesos | Corrected a few comments. |
46,092 | 05.06.2017 14:43:21 | 25,200 | 588bb0b9f9ee6f47bd70ba0f93c8ddb4c3bc5e1c | Attach latest symlink when executor is registered.
This will assist framework developers in making features that need
to access the latest sandbox when hitting various operator API
endpoints.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/slave.cpp",
"new_path": "src/slave/slave.cpp",
"diff": "@@ -5414,8 +5414,16 @@ void Slave::removeExecutor(Framework* framework, Executor* executor)\nconst string path = paths::getExecutorPath(\nflags.work_dir, info.id(), framework->id(), executor->id... | C++ | Apache License 2.0 | apache/mesos | Attach latest symlink when executor is registered.
This will assist framework developers in making features that need
to access the latest sandbox when hitting various operator API
endpoints.
Review: https://reviews.apache.org/r/59641/ |
46,089 | 05.06.2017 15:26:49 | 25,200 | 978ac538186b131bb3dac8340f718da4ab60ae6e | Added `suppressed_roles` field in `SUBSCRIBE`.
This field is a subset of roles the framework registered as for which
the framework does not want any resources offere to.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/scheduler/scheduler.proto",
"new_path": "include/mesos/scheduler/scheduler.proto",
"diff": "@@ -245,6 +245,14 @@ message Call {\n// uses this field to know when it needs to send FrameworkRegisteredMessage\n// vs FrameworkReregisteredMessage.\nopt... | C++ | Apache License 2.0 | apache/mesos | Added `suppressed_roles` field in `SUBSCRIBE`.
This field is a subset of roles the framework registered as for which
the framework does not want any resources offere to.
Review: https://reviews.apache.org/r/57815/ |
46,089 | 05.06.2017 15:27:10 | 25,200 | 5dd1dd3b0d77ee6902af705a112f79b2b847644c | Added unit tests to verify offers are suppressed based on registration.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/scheduler_tests.cpp",
"new_path": "src/tests/scheduler_tests.cpp",
"diff": "@@ -1437,6 +1437,87 @@ TEST_P(SchedulerTest, Suppress)\n}\n+TEST_P(SchedulerTest, NoOffersWithAllRolesSuppressed)\n+{\n+ master::Flags flags = CreateMasterFlags();\n+\n+ Try<... | C++ | Apache License 2.0 | apache/mesos | Added unit tests to verify offers are suppressed based on registration.
Review: https://reviews.apache.org/r/57818/ |
46,083 | 01.06.2017 13:49:23 | 25,200 | f7f661525468e0b8b28e7fd71fdf3e3de4e67d23 | Windows: Ported the `net::links` helper.
On Windows, link devices (known as "adaptors") are named as a GUID
instead of the more predictable scheme seen in Posix.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/net.hpp",
"new_path": "3rdparty/stout/include/stout/net.hpp",
"diff": "#include <stout/bytes.hpp>\n#include <stout/error.hpp>\n#include <stout/ip.hpp>\n-#ifdef __WINDOWS__\n-#include <stout/windows/net.hpp>\n-#else\n-#include <stou... | C++ | Apache License 2.0 | apache/mesos | Windows: Ported the `net::links` helper.
On Windows, link devices (known as "adaptors") are named as a GUID
instead of the more predictable scheme seen in Posix.
Review: https://reviews.apache.org/r/59200/ |
46,083 | 01.06.2017 17:55:19 | 25,200 | 5a7c8d8ef99331de53fc5d74be15526b73b19b4d | Windows: Ported `IPNetwork::fromLinkDevice` helper.
Similar to the Posix implementation, this helper takes a link device
(known as an "adaptor" on Windows) name and returns an IP address
and subnet mask.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/Makefile.am",
"new_path": "3rdparty/stout/include/Makefile.am",
"diff": "@@ -180,6 +180,7 @@ nobase_include_HEADERS = \\\nstout/protobuf.hpp \\\nstout/posix/dynamiclibrary.hpp \\\nstout/posix/fs.hpp \\\n+ stout/posix/ip.hpp \\\nstout/pos... | C++ | Apache License 2.0 | apache/mesos | Windows: Ported `IPNetwork::fromLinkDevice` helper.
Similar to the Posix implementation, this helper takes a link device
(known as an "adaptor" on Windows) name and returns an IP address
and subnet mask.
Review: https://reviews.apache.org/r/59201/ |
46,083 | 05.06.2017 17:25:06 | 25,200 | 0a1e94d8471a7ecee09af51977ae9c5128f19ef8 | Windows: Ported the `net::mac` helper.
The Windows implementation is effectively the same as the Posix
implementation, except that the loopback interface does not show
up as a link device on Windows.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/Makefile.am",
"new_path": "3rdparty/stout/include/Makefile.am",
"diff": "@@ -181,6 +181,7 @@ nobase_include_HEADERS = \\\nstout/posix/dynamiclibrary.hpp \\\nstout/posix/fs.hpp \\\nstout/posix/ip.hpp \\\n+ stout/posix/mac.hpp \\\nstout/po... | C++ | Apache License 2.0 | apache/mesos | Windows: Ported the `net::mac` helper.
The Windows implementation is effectively the same as the Posix
implementation, except that the loopback interface does not show
up as a link device on Windows.
Review: https://reviews.apache.org/r/59202/ |
46,083 | 05.06.2017 18:08:56 | 25,200 | 7ec3269d51d7d180aa857140097c170c469d7959 | Windows: Enable NetTest.LinkDevice and NetTest.Mac tests.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/tests/ip_tests.cpp",
"new_path": "3rdparty/stout/tests/ip_tests.cpp",
"diff": "@@ -31,9 +31,7 @@ using std::string;\nusing std::vector;\n-// TODO(hausdorff): Look into enabling this test on Windows. Currently `links`\n-// is not implemented on W... | C++ | Apache License 2.0 | apache/mesos | Windows: Enable NetTest.LinkDevice and NetTest.Mac tests.
Review: https://reviews.apache.org/r/59203/ |
46,103 | 06.06.2017 09:28:04 | 25,200 | ed623fd928549e8a2773936638acaaa3f17e0aac | Fixed googletest target name in mesos-tidy script.
Fixed googletest target name in mesos-tidy script.
Review: | [
{
"change_type": "MODIFY",
"old_path": "support/mesos-tidy/entrypoint.sh",
"new_path": "support/mesos-tidy/entrypoint.sh",
"diff": "@@ -36,7 +36,7 @@ cmake -DCMAKE_BUILD_TYPE=Release \\\ncmake --build 3rdparty --target boost-1.53.0 -- -j $(nproc)\ncmake --build 3rdparty --target elfio-3.2 -- -j $(np... | C++ | Apache License 2.0 | apache/mesos | Fixed googletest target name in mesos-tidy script.
Fixed googletest target name in mesos-tidy script.
Review: https://reviews.apache.org/r/59840/ |
46,181 | 06.06.2017 09:41:49 | 25,200 | f970f2f307e6e43f6ad0e68999697a22e93add05 | Updated comment for addition of SharedInfo to Resource. | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/resources.hpp",
"new_path": "include/mesos/resources.hpp",
"diff": "@@ -420,11 +420,11 @@ public:\nResources flatten() const;\n// Returns a Resources object that contains all the scalar resources\n- // in this object, but with their ReservationIn... | C++ | Apache License 2.0 | apache/mesos | Updated comment for addition of SharedInfo to Resource. |
46,056 | 07.06.2017 12:00:59 | -7,200 | cae76904aee17db579993c8918f102f553c20b50 | Removed some unused includes and using declarations. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/persistent_volume_endpoints_tests.cpp",
"new_path": "src/tests/persistent_volume_endpoints_tests.cpp",
"diff": "@@ -63,8 +63,6 @@ using process::http::Response;\nusing process::http::Unauthorized;\nusing testing::_;\n-using testing::DoAll;\n-using te... | C++ | Apache License 2.0 | apache/mesos | Removed some unused includes and using declarations. |
46,056 | 07.06.2017 15:09:11 | -7,200 | 791a1dc3e920e14648858b2f5df1a866e0af6174 | Fixed a referenced book title in docs. | [
{
"change_type": "MODIFY",
"old_path": "docs/home.md",
"new_path": "docs/home.md",
"diff": "@@ -136,7 +136,7 @@ layout: documentation\n<a href=\"https://www.packtpub.com/big-data-and-business-intelligence/mastering-mesos\" class=\"thumbnail\">\n<img src=\"https://www.packtpub.com/sites/default/files... | C++ | Apache License 2.0 | apache/mesos | Fixed a referenced book title in docs. |
46,053 | 07.06.2017 15:17:41 | -7,200 | c8178e06be5f9eeb370f81fa3726c06a39318604 | Used glog for logging in executors.
The rule for choosing between glog and cout is described by
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/docker/executor.cpp",
"new_path": "src/docker/executor.cpp",
"diff": "@@ -111,7 +111,7 @@ public:\nconst FrameworkInfo& _frameworkInfo,\nconst SlaveInfo& slaveInfo)\n{\n- cout << \"Registered docker executor on \" << slaveInfo.hostname() << endl;\n+ LOG(IN... | C++ | Apache License 2.0 | apache/mesos | Used glog for logging in executors.
The rule for choosing between glog and cout is described by MESOS-7586.
Review: https://reviews.apache.org/r/59605/ |
46,053 | 07.06.2017 15:17:55 | -7,200 | cf71c5efaf0e6f5c269ce26b361b917d29c75ecc | Added logging of flag warnings in the default executor.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/launcher/default_executor.cpp",
"new_path": "src/launcher/default_executor.cpp",
"diff": "@@ -1366,6 +1366,11 @@ int main(int argc, char** argv)\nmesos::internal::logging::initialize(argv[0], flags, true); // Catch signals.\n+ // Log any flag warnings (aft... | C++ | Apache License 2.0 | apache/mesos | Added logging of flag warnings in the default executor.
Review: https://reviews.apache.org/r/59837/ |
46,056 | 07.06.2017 15:54:12 | -7,200 | e1e10d55ff654050ea5628d0f3e6f8b398304958 | Reordered flags help and error checks for consistency in executors.
We are inconsistent throughout our code base about what should happen
first: check for `--help` or check for errors. This patch makes the
behaviour consistent for major binaries: master, slave, built-in
executors. A general clean-up is addressed in | [
{
"change_type": "MODIFY",
"old_path": "src/docker/executor.cpp",
"new_path": "src/docker/executor.cpp",
"diff": "@@ -730,16 +730,16 @@ int main(int argc, char** argv)\n// Load flags from environment and command line.\nTry<flags::Warnings> load = flags.load(None(), &argc, &argv);\n- if (load.isError... | C++ | Apache License 2.0 | apache/mesos | Reordered flags help and error checks for consistency in executors.
We are inconsistent throughout our code base about what should happen
first: check for `--help` or check for errors. This patch makes the
behaviour consistent for major binaries: master, slave, built-in
executors. A general clean-up is addressed in ME... |
46,056 | 07.06.2017 15:55:37 | -7,200 | cbae0ce07f39db58ef466245d7d4ad5412136f6d | Added a TODO about glog initialization in master and slave main(). | [
{
"change_type": "MODIFY",
"old_path": "src/master/main.cpp",
"new_path": "src/master/main.cpp",
"diff": "@@ -252,6 +252,7 @@ int main(int argc, char** argv)\n<< \"`main()` was not the function's first invocation\";\n}\n+ // TODO(alexr): This should happen before we start using glog, see MESOS-7586.... | C++ | Apache License 2.0 | apache/mesos | Added a TODO about glog initialization in master and slave main(). |
46,077 | 08.06.2017 03:02:55 | -28,800 | 740ffdecd6c05ab8bd4019d1d03e4040805c2cce | Show allocated and offered resources in per-framework page.
Show allocated and offered resources in per-framework page.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/webui/master/static/framework.html",
"new_path": "src/webui/master/static/framework.html",
"diff": "</dd>\n<dt>Active tasks:</dt>\n<dd>{{framework.tasks.length | number}}</dd>\n- <dt>CPUs:</dt>\n- <dd>{{framework.resources.cpus | number}}</dd>\n- <dt>GPUs:... | C++ | Apache License 2.0 | apache/mesos | Show allocated and offered resources in per-framework page.
Show allocated and offered resources in per-framework page.
Review: https://reviews.apache.org/r/59796/ |
46,188 | 09.05.2017 15:25:01 | -7,200 | 7987677f3ce02f4934cb7de6e2f67553aa74312a | Added resource provider protobufs to Java and Python bindings.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -365,6 +365,7 @@ V1_JAVA_PROTOS = \\\njava/generated/org/apache/mesos/v1/maintenance/Protos.java \\\njava/generated/org/apache/mesos/v1/master/Protos.java \\\njava/generated/org/apache/mesos/v1/quota... | C++ | Apache License 2.0 | apache/mesos | Added resource provider protobufs to Java and Python bindings.
Review: https://reviews.apache.org/r/59091 |
46,188 | 09.05.2017 15:57:41 | -7,200 | a3b203c9704caedfe508d18799012be228f19eb3 | Fixed an ordering style issue in automake file.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/Makefile.am",
"new_path": "src/Makefile.am",
"diff": "@@ -423,19 +423,15 @@ java/generated/org/apache/mesos/scheduler/Protos.java: $(SCHEDULER_PROTO)\n$(MKDIR_P) $(@D)\n$(PROTOC) $(PROTOCFLAGS) --java_out=java/generated $^\n-java/generated/org/apache/mesos... | C++ | Apache License 2.0 | apache/mesos | Fixed an ordering style issue in automake file.
Review: https://reviews.apache.org/r/59094 |
46,188 | 25.05.2017 09:57:59 | 25,200 | c31f24abf2477176db46e811d27d8f90ea65888c | Renamed the ifdef guard for resource provider proto header.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/resource_provider/resource_provider.hpp",
"new_path": "include/mesos/resource_provider/resource_provider.hpp",
"diff": "// See the License for the specific language governing permissions and\n// limitations under the License.\n-#ifndef __MESOS_RE... | C++ | Apache License 2.0 | apache/mesos | Renamed the ifdef guard for resource provider proto header.
Review: https://reviews.apache.org/r/59596 |
46,103 | 07.06.2017 13:20:46 | 25,200 | d368f3880bdba012cb194cb7c701bff553917159 | Included ResourceProviderID in Resource equality check.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources.cpp",
"new_path": "src/common/resources.cpp",
"diff": "@@ -259,6 +259,15 @@ bool operator==(const Resource& left, const Resource& right)\nreturn false;\n}\n+ // Check ResourceProviderID.\n+ if (left.has_provider_id() != right.has_provider_... | C++ | Apache License 2.0 | apache/mesos | Included ResourceProviderID in Resource equality check.
Review: https://reviews.apache.org/r/59878/ |
46,103 | 07.06.2017 13:20:48 | 25,200 | c5274141afc77aad2b50a28353e428dde7313766 | Cleared ResourceProviderID with createStrippedScalarQuantity.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/common/resources.cpp",
"new_path": "src/common/resources.cpp",
"diff": "@@ -1264,6 +1264,7 @@ Resources Resources::createStrippedScalarQuantity() const\nforeach (const Resource& resource, resources) {\nif (resource.type() == Value::SCALAR) {\nResource scal... | C++ | Apache License 2.0 | apache/mesos | Cleared ResourceProviderID with createStrippedScalarQuantity.
Review: https://reviews.apache.org/r/59882/ |
46,128 | 07.06.2017 13:31:30 | 25,200 | b882f66394be1047d6f8ed3136a05eb5fe1e3e8e | Cleaned up two agent tests.
This patch addresses some style issues in two agent tests,
`SlaveTest.DisconnectedExecutorDropsMessages` and
`SlaveTest.ExecutorReregistrationTimeoutFlag`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/slave_tests.cpp",
"new_path": "src/tests/slave_tests.cpp",
"diff": "@@ -7217,22 +7217,28 @@ TEST_F(SlaveTest, DisconnectedExecutorDropsMessages)\n{\nClock::pause();\n- master::Flags masterFlags = this->CreateMasterFlags();\n-\n- Try<Owned<cluster::Ma... | C++ | Apache License 2.0 | apache/mesos | Cleaned up two agent tests.
This patch addresses some style issues in two agent tests,
`SlaveTest.DisconnectedExecutorDropsMessages` and
`SlaveTest.ExecutorReregistrationTimeoutFlag`.
Review: https://reviews.apache.org/r/59892/ |
46,181 | 07.06.2017 15:42:13 | 25,200 | b08bb6baf067e8c9a4236e55c92dadd5f51d1684 | Update website for Mesos 1.3.0 release. | [
{
"change_type": "MODIFY",
"old_path": "docs/getting-started.md",
"new_path": "docs/getting-started.md",
"diff": "@@ -11,8 +11,8 @@ There are different ways you can get Mesos:\n1\\. Download the latest stable release from [Apache](http://mesos.apache.org/downloads/) (***Recommended***)\n- $ wget htt... | C++ | Apache License 2.0 | apache/mesos | Update website for Mesos 1.3.0 release. |
46,139 | 09.06.2017 14:59:50 | -7,200 | bda488d0f963e14905cf2cacf4fda282551b9e9c | Fixed a typo in mesos.proto.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -528,7 +528,7 @@ message HealthCheck {\noptional uint32 consecutive_failures = 5 [default = 3];\n// Amount of time after the task is launched during which health check\n- // failu... | C++ | Apache License 2.0 | apache/mesos | Fixed a typo in mesos.proto.
Review: https://reviews.apache.org/r/59871/ |
46,139 | 09.06.2017 15:00:40 | -7,200 | ec40f359ba70e354580865ee3934461047c0fdac | Improved health checks validations.
Add validation for the "general" fields, such as `timeout_seconds`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/checks/health_checker.cpp",
"new_path": "src/checks/health_checker.cpp",
"diff": "@@ -370,19 +370,19 @@ void HealthChecker::success()\nnamespace validation {\n-Option<Error> healthCheck(const HealthCheck& check)\n+Option<Error> healthCheck(const HealthChec... | C++ | Apache License 2.0 | apache/mesos | Improved health checks validations.
Add validation for the "general" fields, such as `timeout_seconds`.
Review: https://reviews.apache.org/r/59902/ |
46,139 | 09.06.2017 15:00:51 | -7,200 | b2801f0012535e29609f603b4324a9ca693f70cb | Made `CheckerProcess` use a consistent description for log messages.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/checks/checker.cpp",
"new_path": "src/checks/checker.cpp",
"diff": "@@ -174,6 +174,7 @@ Checker::Checker(\n_agentURL,\n_authorizationHeader,\nNone(),\n+ name,\n_commandCheckViaAgent));\nspawn(process.get());\n"
},
{
"change_type": "MODIFY",
"ol... | C++ | Apache License 2.0 | apache/mesos | Made `CheckerProcess` use a consistent description for log messages.
Review: https://reviews.apache.org/r/59874/ |
46,056 | 09.06.2017 15:36:48 | -7,200 | afe886c1dcac07dd487a40edd6777e0c7a095a18 | Cleaned up logging in `CheckerProcess`. | [
{
"change_type": "MODIFY",
"old_path": "src/checks/checker_process.cpp",
"new_path": "src/checks/checker_process.cpp",
"diff": "@@ -291,7 +291,7 @@ void CheckerProcess::processCheckResult(\nupdateCallback(Error(result.error()));\n} else {\n// The check failed due to a transient error.\n- LOG(INFO) <... | C++ | Apache License 2.0 | apache/mesos | Cleaned up logging in `CheckerProcess`. |
46,103 | 12.06.2017 12:04:44 | -7,200 | 9e61b3c7af35a29664361067c0bfa8b460bfefb9 | Remove unused http_parser patch.
This is not required anymore.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -114,14 +114,6 @@ endif (NOT WIN32)\nset(HTTP_PARSER_UPDATE_CMD ${CMAKE_COMMAND} -E copy ${MESOS_3RDPARTY_SRC}/http-parser/CMakeLists.txt.template ${HTTP_PARSER_ROOT}/CMakeLists.txt)\... | C++ | Apache License 2.0 | apache/mesos | Remove unused http_parser patch.
This is not required anymore.
Review: https://reviews.apache.org/r/59994/ |
46,108 | 12.06.2017 08:47:40 | 25,200 | a2368db102f281f55e1531461ec36889e3f5ecf3 | Updated 'config.py' in the new Mesos CLI to take settings as parameter.
Previously, we were importing settings directly from the `bin`
directory, which is obviously not portable. Instead, we need to be
passing the settings into the constructor for the config so that it
can access it from there.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/cli_new/bin/main.py",
"new_path": "src/cli_new/bin/main.py",
"diff": "@@ -84,7 +84,7 @@ def main(argv):\n\"\"\"\n# Load the CLI config.\n- config = cli.config.Config()\n+ config = cli.config.Config(settings)\nplugins = cli.util.import_modules(\ncli.util.jo... | C++ | Apache License 2.0 | apache/mesos | Updated 'config.py' in the new Mesos CLI to take settings as parameter.
Previously, we were importing settings directly from the `bin`
directory, which is obviously not portable. Instead, we need to be
passing the settings into the constructor for the config so that it
can access it from there.
Review: https://review... |
46,172 | 12.06.2017 08:49:54 | 25,200 | 3644defdd5e192a6d086ac11851ab7a88489d66b | Extended the unit test infrastructure in the new Mesos CLI.
This infrastructure includes the ability to bring up a test cluster to
run the CLI against. Future unit tests will use this infrastructure to
test their commands against a running mesos cluster. The tests require
some binaries created when building Mesos.
Revi... | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "src/cli_new/lib/cli/tests/__init__.py",
"diff": "+# Licensed to the Apache Software Foundation (ASF) under one\n+# or more contributor license agreements. See the NOTICE file\n+# distributed with this work for additional information\n+# regardin... | C++ | Apache License 2.0 | apache/mesos | Extended the unit test infrastructure in the new Mesos CLI.
This infrastructure includes the ability to bring up a test cluster to
run the CLI against. Future unit tests will use this infrastructure to
test their commands against a running mesos cluster. The tests require
some binaries created when building Mesos.
Re... |
46,181 | 07.06.2017 16:14:32 | 25,200 | 03f1713d3fb7e40bc1dda7d8d11458ed82e62d7d | Updated website for Mesos 1.3.0 release.
An earlier commit (b08bb6baf067e8c9a4236e55c92dadd5f51d1684) updated the
Mesos version in the docs but not the website itself.
Review: | [
{
"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.2.0\n- jira_version: 12338394\n+ version: 1.3.0\n+ jira_v... | C++ | Apache License 2.0 | apache/mesos | Updated website for Mesos 1.3.0 release.
An earlier commit (b08bb6baf067e8c9a4236e55c92dadd5f51d1684) updated the
Mesos version in the docs but not the website itself.
Review: https://reviews.apache.org/r/59903 |
46,114 | 06.06.2017 16:06:56 | 25,200 | 9cbf6fb47e3957ff63d3f60fc5177942ac5f18f9 | Windows: CMake: Removed usage of VsBuildCommand.
This CMake function was previously used to generate a `.bat` script on
Windows that would build the project. However, this is unnecessary, as
the command `cmake --build .` performs the same function.
Review: | [
{
"change_type": "MODIFY",
"old_path": "CMakeLists.txt",
"new_path": "CMakeLists.txt",
"diff": "@@ -54,7 +54,6 @@ include(Common)\ninclude(External)\ninclude(PatchCommand)\ninclude(Versions)\n-include(VsBuildCommand)\ninclude(cotire)\n# Configuration.\n"
},
{
"change_type": "MODIFY",
"ol... | C++ | Apache License 2.0 | apache/mesos | Windows: CMake: Removed usage of VsBuildCommand.
This CMake function was previously used to generate a `.bat` script on
Windows that would build the project. However, this is unnecessary, as
the command `cmake --build .` performs the same function.
Review: https://reviews.apache.org/r/59771/ |
46,114 | 06.06.2017 16:08:52 | 25,200 | dae5c728282d847c0a3963ced1bb359d87dc2877 | Windows: CMake: Removed VsBuildCommand.
This CMake function was previously used to generate a `.bat` script on
Windows that would build the project. However, this is unnecessary, as
the command `cmake --build .` performs the same function.
Review: | [
{
"change_type": "DELETE",
"old_path": "3rdparty/libprocess/cmake/macros/VsBuildCommand.cmake",
"new_path": null,
"diff": "-# Licensed to the Apache Software Foundation (ASF) under one\n-# or more contributor license agreements. See the NOTICE file\n-# distributed with this work for additional infor... | C++ | Apache License 2.0 | apache/mesos | Windows: CMake: Removed VsBuildCommand.
This CMake function was previously used to generate a `.bat` script on
Windows that would build the project. However, this is unnecessary, as
the command `cmake --build .` performs the same function.
Review: https://reviews.apache.org/r/59771/ |
46,114 | 08.06.2017 12:27:47 | 25,200 | 7c7b9a5ee277b6e3b889d83fce19283ee4e22ed9 | CMake: Updated Zookeeper build arguments.
This also changes the Linux build to respect `BUILD_SHARED_LIBS`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -408,17 +408,29 @@ if (NOT WIN32)\n${MESOS_3RDPARTY_SRC}/zookeeper-${ZOOKEEPER_VERSION}.patch\nZOOKEEPER_PATCH_CMD)\n+ # NOTE: ZooKeeper's `configure` script must be run with within t... | C++ | Apache License 2.0 | apache/mesos | CMake: Updated Zookeeper build arguments.
This also changes the Linux build to respect `BUILD_SHARED_LIBS`.
Review: https://reviews.apache.org/r/59777/ |
46,114 | 08.06.2017 13:09:17 | 25,200 | 31024db3ffa1d52db7b9ce9fc44cf5f1ec33df74 | CMake: Updated Protobuf build arguments.
This replaces the hard-coded configuration and build steps for
protobuf on Windows, with the default CMake driven process from
`ExternalProject_Add`, using `SOURCE_SUBDIR cmake`. Unfortunately, the
call to `ExternalProject_Add` must be duplicated because older versions
of CMake ... | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -331,16 +331,6 @@ elseif (WIN32)\nset(GOOGLETEST_INSTALL_CMD ${CMAKE_NOOP})\nendif (NOT WIN32)\n-if (NOT WIN32)\n- set(PROTOBUF_CONFIG_CMD ${PROTOBUF_ROOT}/src/../configure --prefix=$... | C++ | Apache License 2.0 | apache/mesos | CMake: Updated Protobuf build arguments.
This replaces the hard-coded configuration and build steps for
protobuf on Windows, with the default CMake driven process from
`ExternalProject_Add`, using `SOURCE_SUBDIR cmake`. Unfortunately, the
call to `ExternalProject_Add` must be duplicated because older versions
of CMake... |
46,114 | 08.06.2017 13:18:27 | 25,200 | 54bbd4725affde0134c5caeb6c61e46755fe55ba | CMake: Windows: Fixed configuration-dependent linkage of protobuf.
The library generated by protobuf differs based on the configuration.
In Debug mode, the library generated is `libprotobufd`, whereas in
Release mode, the library is just `libprotobuf`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"new_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"diff": "@@ -107,11 +107,16 @@ if (WIN32)\n# libcurl.lib. Hence, we have to special case it here because CMake assumes\n# the lib... | C++ | Apache License 2.0 | apache/mesos | CMake: Windows: Fixed configuration-dependent linkage of protobuf.
The library generated by protobuf differs based on the configuration.
In Debug mode, the library generated is `libprotobufd`, whereas in
Release mode, the library is just `libprotobuf`.
Review: https://reviews.apache.org/r/59779/ |
46,114 | 08.06.2017 13:36:39 | 25,200 | d6b276cc763046aac76926823cf2ffba18066d2b | CMake: Updated libevent build arguments.
This removes the hard-coded `C_FLAGS` and properly forwards all
arguments for each configuration. This also disables building the
unnecessary benchmark, tests, and samples artifacts.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -129,30 +129,24 @@ if (NOT WIN32)\nPATCH_CMD(${MESOS_3RDPARTY_SRC}/libev-4.22.patch LIBEV_PATCH_CMD)\nset(LIBEVENT_INSTALL_CMD mkdir -p ${LIBEVENT_LIB_ROOT} && cp -r ${LIBEVENT_ROOT}-... | C++ | Apache License 2.0 | apache/mesos | CMake: Updated libevent build arguments.
This removes the hard-coded `C_FLAGS` and properly forwards all
arguments for each configuration. This also disables building the
unnecessary benchmark, tests, and samples artifacts.
Review: https://reviews.apache.org/r/59780/ |
46,114 | 08.06.2017 14:07:01 | 25,200 | 628a5cdc1aec653c85d1116d730d55b79e2229aa | CMake: Updated glog build arguments.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -199,8 +199,8 @@ ExternalProject_Add(\nExternalProject_Add(\n${GLOG_TARGET}\nPREFIX ${GLOG_CMAKE_ROOT}\n- CMAKE_ARGS -DBUILD_SHARED_LIBS=OFF -DCMAKE_CXX_FLAGS_DEBUG=${CMAKE_CXX_FLAGS_... | C++ | Apache License 2.0 | apache/mesos | CMake: Updated glog build arguments.
Review: https://reviews.apache.org/r/59781/ |
46,114 | 08.06.2017 14:18:20 | 25,200 | 00f59f8d54316db48ff1ff3c7c34f72312c73e0f | CMake: Updated zlib build arguments.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -293,8 +293,7 @@ if (WIN32)\nExternalProject_Add(\n${ZLIB_TARGET}\nPREFIX ${ZLIB_CMAKE_ROOT}\n- CMAKE_ARGS -DBUILD_SHARED_LIBS=OFF\n- BUILD_COMMAND ${GLOG_BUILD_CMD}\n+ CMAKE_ARGS ${C... | C++ | Apache License 2.0 | apache/mesos | CMake: Updated zlib build arguments.
Review: https://reviews.apache.org/r/59783/ |
46,114 | 08.06.2017 14:30:53 | 25,200 | 31ca10738149c7c15eb75040f7ea8a096741bf60 | CMake: Windows: Fixed configuration-dependent linkage of zlib.
The library generated by protobuf differs based on the configuration
and linkage. For example, in Debug mode, the static library generated
is `zlibstaticd`, whereas in Release mode, the shared library is just
`zlib`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"new_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"diff": "@@ -108,15 +108,24 @@ if (WIN32)\n# the library names are generated correctly.\nset(CURL_LFLAG libcurl)\n- # Windows req... | C++ | Apache License 2.0 | apache/mesos | CMake: Windows: Fixed configuration-dependent linkage of zlib.
The library generated by protobuf differs based on the configuration
and linkage. For example, in Debug mode, the static library generated
is `zlibstaticd`, whereas in Release mode, the shared library is just
`zlib`.
Review: https://reviews.apache.org/r/... |
46,114 | 08.06.2017 14:40:22 | 25,200 | e672abf65fd8a8d764f0b83d1a84b3df4d503d8a | CMake: Updated gtest build arguments.
Also removed blank variables and spurious comment (both Windows and
non-Windows use CMake to build gtest, not just non-Windows).
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -324,18 +324,12 @@ elseif (WIN32)\nset(GOOGLETEST_INSTALL_CMD ${CMAKE_NOOP})\nendif (NOT WIN32)\n-# NOTE: An implicit consequence of the following code is that on non-Windows\n-# plat... | C++ | Apache License 2.0 | apache/mesos | CMake: Updated gtest build arguments.
Also removed blank variables and spurious comment (both Windows and
non-Windows use CMake to build gtest, not just non-Windows).
Review: https://reviews.apache.org/r/59785/ |
46,114 | 08.06.2017 14:46:34 | 25,200 | 4676e99b600b251fe7be1f09e3dfbab01e212398 | CMake: Tweaked usage of `BUILD_SHARED_LIBS` global flag.
Instead of hard-coding `BUILD_SHARED_LIBS` and
`MESOS_DEFAULT_LIBRARY_LINKAGE` based on the platform, this sets a
default `BUILD_SHARED_LIBS` that is platform-dependent.
Review: | [
{
"change_type": "MODIFY",
"old_path": "cmake/CompilationConfigure.cmake",
"new_path": "cmake/CompilationConfigure.cmake",
"diff": "option(VERBOSE \"Enable verbose CMake statements and compilation output\" ON)\nset(CMAKE_VERBOSE_MAKEFILE ${VERBOSE})\n-option(BUILD_SHARED_LIBS \"Build shared librarie... | C++ | Apache License 2.0 | apache/mesos | CMake: Tweaked usage of `BUILD_SHARED_LIBS` global flag.
Instead of hard-coding `BUILD_SHARED_LIBS` and
`MESOS_DEFAULT_LIBRARY_LINKAGE` based on the platform, this sets a
default `BUILD_SHARED_LIBS` that is platform-dependent.
Review: https://reviews.apache.org/r/59786/ |
46,177 | 08.06.2017 14:56:30 | 25,200 | a914dda1197fb639f15ea791d7d69f43e94b1d58 | CMake: Tweaked naming in a for loop. | [
{
"change_type": "MODIFY",
"old_path": "cmake/CompilationConfigure.cmake",
"new_path": "cmake/CompilationConfigure.cmake",
"diff": "@@ -220,8 +220,8 @@ string(COMPARE EQUAL ${CMAKE_SYSTEM_NAME} \"Linux\" LINUX)\nif (WIN32)\n# Speed up incremental linking for the VS compiler/linker, for more info, se... | C++ | Apache License 2.0 | apache/mesos | CMake: Tweaked naming in a for loop. |
46,114 | 08.06.2017 15:08:52 | 25,200 | 9dba260c023f9b3a71d216c85f19221a5cfa3611 | CMake: Fixed glog `EXTERNAL` setup.
This was missed when the versions were reconciled. The `GLOG_VERSION` is
now correct on every platform, so `EXTERNAL("glog"...)` can be reused.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"new_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"diff": "set(STOUT ${MESOS_3RDPARTY_SRC}/stout)\nEXTERNAL(\"boost\" ${BOOST_VERSION} \"${MESOS_3RDPARTY_BIN}\")\n+EXTERNAL(\"glog... | C++ | Apache License 2.0 | apache/mesos | CMake: Fixed glog `EXTERNAL` setup.
This was missed when the versions were reconciled. The `GLOG_VERSION` is
now correct on every platform, so `EXTERNAL("glog"...)` can be reused.
Review: https://reviews.apache.org/r/59788/ |
46,114 | 08.06.2017 15:10:42 | 25,200 | cd9190f7031b8a54b55c1c7b0316a290d4febeff | CMake: Windows: Fixed gmock and gtest `LIB_DIR`.
Multi-configuration build systems will get a `/${CMAKE_BUILD_TYPE}`
appended to their output directories automatically (by CMake).
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/cmake/StoutTestsConfigure.cmake",
"new_path": "3rdparty/stout/cmake/StoutTestsConfigure.cmake",
"diff": "@@ -45,8 +45,8 @@ set(GTEST_INCLUDE_DIR ${GOOGLETEST_ROOT}/googletest/include)\n# Convenience variables for `lib` directories of built third... | C++ | Apache License 2.0 | apache/mesos | CMake: Windows: Fixed gmock and gtest `LIB_DIR`.
Multi-configuration build systems will get a `/${CMAKE_BUILD_TYPE}`
appended to their output directories automatically (by CMake).
Review: https://reviews.apache.org/r/59789/ |
46,114 | 08.06.2017 15:13:39 | 25,200 | 022f6d686a2952d076d543b9932a091b45719e69 | CMake: Windows: Fixed libprocess 3rdparty `LIB_DIR` variables.
Multi-configuration build systems will get a `/${CMAKE_BUILD_TYPE}`
appended to their output directories automatically (by CMake).
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"new_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"diff": "@@ -74,12 +74,12 @@ endif (WIN32)\nset(LIBEV_LIB_DIR ${LIBEV_ROOT}-build/.libs)\nif (WIN32)\n- set(HTTP_PARSER_LIB_DIR $... | C++ | Apache License 2.0 | apache/mesos | CMake: Windows: Fixed libprocess 3rdparty `LIB_DIR` variables.
Multi-configuration build systems will get a `/${CMAKE_BUILD_TYPE}`
appended to their output directories automatically (by CMake).
Review: https://reviews.apache.org/r/59790/ |
46,114 | 08.06.2017 15:17:24 | 25,200 | ad1017da8180d6491f5b6822fce6b1d4af79987d | CMake: Windows: Fixed path to protoc.
This variable is used in a custom_command which accepts generator
expressions.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"new_path": "3rdparty/libprocess/cmake/Process3rdpartyConfigure.cmake",
"diff": "@@ -138,7 +138,7 @@ endif (WIN32)\nif (NOT WIN32)\nset(PROTOC ${PROTOBUF_LIB_ROOT}/bin/protoc)\nelse (NOT WIN32)\n- set(... | C++ | Apache License 2.0 | apache/mesos | CMake: Windows: Fixed path to protoc.
This variable is used in a custom_command which accepts generator
expressions.
Review: https://reviews.apache.org/r/59791/ |
46,114 | 08.06.2017 15:18:34 | 25,200 | dc4adbf4ef8dbd006ba1a4045264a82d89979285 | CMake: Cleaned up leveldb build.
When originally added, the configure and install commands were set but
not used. We use `BUILD_IN_SOURCE` to avoid using `cd`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -438,19 +438,18 @@ else ()\nendif ()\nif (NOT WIN32)\n- set(LEVELDB_CONFIG_CMD cd ${LEVELDB_ROOT} && ./configure --prefix=${LEVELDB_ROOT}-lib)\n- set(LEVELDB_BUILD_CMD cd ${LEVELDB_RO... | C++ | Apache License 2.0 | apache/mesos | CMake: Cleaned up leveldb build.
When originally added, the configure and install commands were set but
not used. We use `BUILD_IN_SOURCE` to avoid using `cd`.
Review: https://reviews.apache.org/r/59792/ |
46,177 | 12.06.2017 13:10:06 | 25,200 | 1d0b8ac7093ead00f4d96802e9f4936e3aed49bf | CMake: Removed blank HTTP_PARSER_PATCH_CMD variable. | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -232,7 +232,6 @@ ExternalProject_Add(\n${HTTP_PARSER_TARGET}\nPREFIX ${HTTP_PARSER_CMAKE_ROOT}\nUPDATE_COMMAND ${HTTP_PARSER_UPDATE_CMD}\n- PATCH_COMMAND ${HTTP_PARSER_PATCH_CMD}\nCMA... | C++ | Apache License 2.0 | apache/mesos | CMake: Removed blank HTTP_PARSER_PATCH_CMD variable. |
46,114 | 12.06.2017 13:58:41 | 25,200 | 78bb62260f9f8b233d8e3364a478478fa625ae5f | CMake: Windows: Updated curl build.
Instead of calling `msbuild` with hard-coded arguments, this instead
uses the forwarded CMake arguments, and automatic `ExternalProject_Add`
build.
The `-DCURL_STATIC_LIB` must be defined here so that every target which
includes `curl.h` has the proper configuration.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/CMakeLists.txt",
"new_path": "3rdparty/CMakeLists.txt",
"diff": "@@ -277,13 +277,20 @@ endif ()\n# them here.\n###############################################################################\nif (WIN32)\n+ set(CURL_CMAKE_ARGS ${CMAKE_FORWARD_ARGS} -DB... | C++ | Apache License 2.0 | apache/mesos | CMake: Windows: Updated curl build.
Instead of calling `msbuild` with hard-coded arguments, this instead
uses the forwarded CMake arguments, and automatic `ExternalProject_Add`
build.
The `-DCURL_STATIC_LIB` must be defined here so that every target which
includes `curl.h` has the proper configuration.
Review: https... |
46,114 | 12.06.2017 14:05:16 | 25,200 | fb54d469dcadf762e9c3f8a2fed78ed7b306120a | CMake: Windows: Updated runtime library linkage.
Instead of hard-coding the static version of the runtime library, this
patch uses the runtime library based on `BUILD_SHARED_LIBS` and
`CMAKE_BUILD_TYPE`, and sets all the appropriate configuration and
language variables.
Review: | [
{
"change_type": "MODIFY",
"old_path": "cmake/CompilationConfigure.cmake",
"new_path": "cmake/CompilationConfigure.cmake",
"diff": "@@ -228,18 +228,38 @@ if (WIN32)\n# allow for an object file. We use this to avoid those problems.\nstring(APPEND CMAKE_CXX_FLAGS \" /bigobj -DGOOGLE_GLOG_DLL_DECL= /vd... | C++ | Apache License 2.0 | apache/mesos | CMake: Windows: Updated runtime library linkage.
Instead of hard-coding the static version of the runtime library, this
patch uses the runtime library based on `BUILD_SHARED_LIBS` and
`CMAKE_BUILD_TYPE`, and sets all the appropriate configuration and
language variables.
Review: https://reviews.apache.org/r/59787/ |
46,210 | 13.06.2017 04:18:16 | -7,200 | c67acdcdd1c1c90dc1ae108b354a390e92512120 | Fixed Docker containerizer stdout/stderr ownership.
Without this patch, the Docker containerizer would not inherit the
ownership of stdout/stderr from the FrameworkInfo user. This issue
got introduced recently in the refactorings of the Docker
containerizer.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/slave/containerizer/docker.cpp",
"new_path": "src/slave/containerizer/docker.cpp",
"diff": "@@ -420,7 +420,8 @@ Future<Nothing> DockerContainerizerProcess::fetch(\ncontainerId,\ncontainer->command,\ncontainer->containerWorkDir,\n- None());\n+ container->co... | C++ | Apache License 2.0 | apache/mesos | Fixed Docker containerizer stdout/stderr ownership.
Without this patch, the Docker containerizer would not inherit the
ownership of stdout/stderr from the FrameworkInfo user. This issue
got introduced recently in the refactorings of the Docker
containerizer.
Review: https://reviews.apache.org/r/59898/ |
46,210 | 13.06.2017 04:18:25 | -7,200 | 77d5075784f2e804274adc243eb8e3fb458edfd9 | Test confirming the Docker containerizer stdout/stderr ownership.
This test would fail before applying the Docker containerizer sandbox
stdout/stderr ownership fix. Note that when we are setting a task-user,
this test did not fail before - only when setting the framework-user
but not the task-user.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"new_path": "src/tests/containerizer/docker_containerizer_tests.cpp",
"diff": "@@ -4190,6 +4190,152 @@ TEST_F(DockerContainerizerTest, ROOT_DOCKER_CGROUPS_CFS_CgroupsEnableCFS)\n}\n#endif // __linux__\n+... | C++ | Apache License 2.0 | apache/mesos | Test confirming the Docker containerizer stdout/stderr ownership.
This test would fail before applying the Docker containerizer sandbox
stdout/stderr ownership fix. Note that when we are setting a task-user,
this test did not fail before - only when setting the framework-user
but not the task-user.
Review: https://re... |
46,157 | 13.06.2017 12:20:17 | 25,200 | 61ea8bb32d17dc4f9028f6e8aa1cfe73b0b73a04 | Enabled allocator to handle hierarchical reservation.
When collecting resources allocatable to a role, allocator should
aggregate not only reservations of the role itself, but also that
of all its ancestors.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/master/allocator/mesos/hierarchical.cpp",
"new_path": "src/master/allocator/mesos/hierarchical.cpp",
"diff": "@@ -1648,9 +1648,8 @@ void HierarchicalAllocatorProcess::__allocate()\n}\n// The resources we offer are the unreserved resources as well as the\n-... | C++ | Apache License 2.0 | apache/mesos | Enabled allocator to handle hierarchical reservation.
When collecting resources allocatable to a role, allocator should
aggregate not only reservations of the role itself, but also that
of all its ancestors.
Review: https://reviews.apache.org/r/58509/ |
46,157 | 13.06.2017 12:20:20 | 25,200 | d2e26564d5c7ebcbf84ed0c1de328371fcbf6db0 | Added a test for hierarchical reservation.
Review: | [
{
"change_type": "MODIFY",
"old_path": "src/tests/hierarchical_allocator_tests.cpp",
"new_path": "src/tests/hierarchical_allocator_tests.cpp",
"diff": "@@ -4498,6 +4498,69 @@ TEST_F(HierarchicalAllocatorTest, DisproportionateQuotaVsAllocation)\n}\n+// This test ensures that resources reserved to anc... | C++ | Apache License 2.0 | apache/mesos | Added a test for hierarchical reservation.
Review: https://reviews.apache.org/r/58510/ |
46,062 | 13.06.2017 13:06:51 | 25,200 | 13cae29e7832d8bb879c68847ad0df449d227f17 | Updated a test subtly dependent on implementation-defined behavior. | [
{
"change_type": "MODIFY",
"old_path": "src/tests/persistent_volume_endpoints_tests.cpp",
"new_path": "src/tests/persistent_volume_endpoints_tests.cpp",
"diff": "@@ -2162,23 +2162,10 @@ TEST_F(PersistentVolumeEndpointsTest, SlavesEndpointFullResources)\n\"allocation_info\": {\n\"role\": \"role1\"\n}... | C++ | Apache License 2.0 | apache/mesos | Updated a test subtly dependent on implementation-defined behavior. |
46,062 | 03.05.2017 18:45:13 | 25,200 | a8f7ded4c8d53fcc6e252c9d1e9455633798b3e3 | Added `HIERARCHICAL_ROLE` agent capability.
Review: | [
{
"change_type": "MODIFY",
"old_path": "include/mesos/mesos.proto",
"new_path": "include/mesos/mesos.proto",
"diff": "@@ -805,6 +805,15 @@ message SlaveInfo {\n// This expresses the ability for the agent to be able\n// to launch tasks of a 'multi-role' framework.\nMULTI_ROLE = 1;\n+\n+ // This expre... | C++ | Apache License 2.0 | apache/mesos | Added `HIERARCHICAL_ROLE` agent capability.
Review: https://reviews.apache.org/r/59859 |
46,062 | 12.06.2017 21:51:53 | 25,200 | bc2f0626ce2b5ad85a7f6642c53be37a94719d44 | Added support for printing JSON values via `jsonify`.
Review: | [
{
"change_type": "MODIFY",
"old_path": "3rdparty/stout/include/stout/json.hpp",
"new_path": "3rdparty/stout/include/stout/json.hpp",
"diff": "@@ -138,7 +138,7 @@ struct Number\nprivate:\nfriend struct Value;\nfriend struct Comparator;\n- friend std::ostream& operator<<(std::ostream& stream, const Nu... | C++ | Apache License 2.0 | apache/mesos | Added support for printing JSON values via `jsonify`.
Review: https://reviews.apache.org/r/60035 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.