You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2016/03/04 02:04:24 UTC

[1/2] mesos git commit: Updated upgrades.md for 0.28.0.

Repository: mesos
Updated Branches:
  refs/heads/master 6040db884 -> ab1ec6a0d


Updated upgrades.md for 0.28.0.


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/46dcae53
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/46dcae53
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/46dcae53

Branch: refs/heads/master
Commit: 46dcae5315f285d754eea674ae00cd985c48d01c
Parents: 6040db8
Author: Vinod Kone <vi...@gmail.com>
Authored: Thu Mar 3 16:58:44 2016 -0800
Committer: Vinod Kone <vi...@gmail.com>
Committed: Thu Mar 3 16:59:10 2016 -0800

----------------------------------------------------------------------
 docs/upgrades.md | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/46dcae53/docs/upgrades.md
----------------------------------------------------------------------
diff --git a/docs/upgrades.md b/docs/upgrades.md
index b22e87f..e888b23 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -13,6 +13,15 @@ This document serves as a guide for users who wish to upgrade an existing Mesos
 
 * Mesos 0.28 changes the definitions of two ACLs used for authorization. The objects of the `ReserveResources` and `CreateVolume` ACLs have been changed to `roles`. In both cases, principals can now be authorized to perform these operations for particular roles. This means that by default, a framework or operator can reserve resources/create volumes for any role. To restrict this behavior, [ACLs can be added](authorization.md) to the master which authorize principals to reserve resources/create volumes for specified roles only. Previously, frameworks could only reserve resources for their own role; this behavior can be preserved by configuring the `ReserveResources` ACLs such that the framework's principal is only authorized to reserve for the framework's role. **NOTE** This renders existing `ReserveResources` and `CreateVolume` ACL definitions obsolete; if you are authorizing these operations, your ACL definitions should be updated.
 
+In order to upgrade a running cluster:
+
+1. Rebuild and install any modules so that upgraded masters/slaves can use them.
+2. Install the new master binaries and restart the masters.
+3. Install the new slave binaries and restart the slaves.
+4. Upgrade the schedulers by linking the latest native library / jar / egg (if necessary).
+5. Restart the schedulers.
+6. Upgrade the executors by linking the latest native library / jar / egg (if necessary).
+
 ## Upgrading from 0.26.x to 0.27.x ##
 
 * Mesos 0.27 introduces the concept of _implicit roles_. In previous releases, configuring roles required specifying a static whitelist of valid role names on master startup (via the `--roles` flag). In Mesos 0.27, if `--roles` is omitted, _any_ role name can be used; controlling which principals are allowed to register as which roles should be done using [ACLs](authorization.md). The role whitelist functionality is still supported but is deprecated.
@@ -27,6 +36,15 @@ This document serves as a guide for users who wish to upgrade an existing Mesos
 
 * Reserved resources are now accounted for in the DRF role sorter. Previously unaccounted reservations will influence the weighted DRF sorter. If role weights were explicitly set, they may need to be adjusted in order to account for the reserved resources in the cluster.
 
+In order to upgrade a running cluster:
+
+1. Rebuild and install any modules so that upgraded masters/slaves can use them.
+2. Install the new master binaries and restart the masters.
+3. Install the new slave binaries and restart the slaves.
+4. Upgrade the schedulers by linking the latest native library / jar / egg (if necessary).
+5. Restart the schedulers.
+6. Upgrade the executors by linking the latest native library / jar / egg (if necessary).
+
 ## Upgrading from 0.25.x to 0.26.x ##
 
 * The names of some TaskStatus::Reason enums have been changed. But the tag numbers remain unchanged, so it is backwards compatible. Frameworks using the new version might need to do some compile time adjustments:
@@ -42,6 +60,15 @@ This document serves as a guide for users who wish to upgrade an existing Mesos
 
 * The `NetworkInfo` protobuf has been changed. The fields `protocol` and `ip_address` are now deprecated. The new field `ip_addresses` subsumes the information provided by them.
 
+In order to upgrade a running cluster:
+
+1. Rebuild and install any modules so that upgraded masters/slaves can use them.
+2. Install the new master binaries and restart the masters.
+3. Install the new slave binaries and restart the slaves.
+4. Upgrade the schedulers by linking the latest native library / jar / egg (if necessary).
+5. Restart the schedulers.
+6. Upgrade the executors by linking the latest native library / jar / egg (if necessary).
+
 ## Upgrading from 0.24.x to 0.25.x
 
 * The following endpoints will be deprecated in favor of new endpoints. Both versions will be available in 0.25 but the deprecated endpoints will be removed in a subsequent release.


[2/2] mesos git commit: Added CHANGELOG description for reservation labels.

Posted by vi...@apache.org.
Added CHANGELOG description for reservation labels.

Review: https://reviews.apache.org/r/44371/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/ab1ec6a0
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/ab1ec6a0
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/ab1ec6a0

Branch: refs/heads/master
Commit: ab1ec6a0d9ed4ba7180f4576c1bb267e58f94e00
Parents: 46dcae5
Author: Neil Conway <ne...@gmail.com>
Authored: Thu Mar 3 17:02:02 2016 -0800
Committer: Vinod Kone <vi...@gmail.com>
Committed: Thu Mar 3 17:04:08 2016 -0800

----------------------------------------------------------------------
 CHANGELOG | 21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/ab1ec6a0/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index 4530336..236d90f 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -18,6 +18,12 @@ This release contains the following new features:
     fractional resources may observe differences in roundoff error and numerical
     precision.
 
+  * [MESOS-4479] - Reserved resources can now optionally include "labels".
+    Labels are a set of key-value pairs that can be used to associate metadata
+    with a reserved resource. For example, frameworks can use this feature to
+    distinguish between two reservations for the same role at the same agent
+    that are intended for different purposes.
+
   * [MESOS-2840] - **Experimental** support for container images in Mesos
     containerizer (a.k.a. Unified Containerizer). This allows frameworks to
     launch Docker/Appc containers using Mesos containerizer without relying on
@@ -25,22 +31,19 @@ This release contains the following new features:
     isolators. Please refer to docs/container-image.md for currently supported
     features and limitations.
 
-  * [MESOS-4793] - **Experimental** support for v1 Executor HTTP API. This allows
-    executors to send HTTP requests to agent endpoint ('/api/v1/executor')
-    without the need for a driver. Please refer to docs/executor-http-api.md
-    for more details.
+  * [MESOS-4793] - **Experimental** support for v1 Executor HTTP API. This
+    allows executors to send HTTP requests to the /api/v1/executor agent
+    endpoint without the need for an executor driver. Please refer to
+    docs/executor-http-api.md for more details.
 
-** API Changes:
+Additional API Changes:
   * [MESOS-4066] - Agent should not return partial state when a request is made to /state endpoint during recovery.
-  * [MESOS-4479] - Implement reservation labels.
   * [MESOS-4547] - Introduce TASK_KILLING state.
   * [MESOS-4712] - Remove 'force' field from the Subscribe Call in v1 Scheduler API.
   * [MESOS-4591] - Change the object of ReserveResources and CreateVolume ACLs to `roles`.
   * [MESOS-3583] - Add stream IDs for HTTP schedulers.
 
- ** Deprecations:
-  * All Mesos HTTP endpoints  with ".json" suffix (e.g., /master/state.json) are
-    deprecated in favor of endpoints without the suffix (e.g., /master/state).
+All Issues:
 
 ** Bug
     * [MESOS-1187] - precision errors with allocation calculations