You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2015/06/29 20:36:13 UTC

[1/4] mesos git commit: Updated upgrades.md about the new 'acceptOffers' API.

Repository: mesos
Updated Branches:
  refs/heads/master 0d5dc05b5 -> fcbb923e0


Updated upgrades.md about the new 'acceptOffers' API.

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


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

Branch: refs/heads/master
Commit: 1cafa82f1742eaafbd423c1fb053f0233d31bca2
Parents: 0d5dc05
Author: Jie Yu <yu...@gmail.com>
Authored: Mon Jun 29 10:46:23 2015 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Jun 29 11:30:19 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/1cafa82f/docs/upgrades.md
----------------------------------------------------------------------
diff --git a/docs/upgrades.md b/docs/upgrades.md
index 35e893c..3eca7b8 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -12,6 +12,7 @@ This document serves as a guide for users who wish to upgrade an existing mesos
 
 **NOTE** Slave ping timeouts are now configurable on the master via `--slave_ping_timeout` and `--max_slave_ping_timeouts`. Slaves should be upgraded to 0.23.x before changing these flags.
 
+**NOTE** A new scheduler driver API, `acceptOffers`, has been introduced. This is a more general version of the `launchTasks` API, which allows the scheduler to accept an offer and specify a list of operations (Offer.Operation) to perform using the resources in the offer. Currently, the supported operations include LAUNCH (launching tasks), RESERVE (making dynamic reservations), UNRESERVE (releasing dynamic reservations), CREATE (creating persistent volumes) and DESTROY (releasing persistent volumes). Similar to the `launchTasks` API, any unused resources will be considered declined, and the specified filters will be applied on all unused resources.
 
 ## Upgrading from 0.21.x to 0.22.x
 


[3/4] mesos git commit: Updated upgrades.md about Resource API changes.

Posted by ji...@apache.org.
Updated upgrades.md about Resource API changes.

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


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

Branch: refs/heads/master
Commit: f74759f3f5ac4fd04c2542b6280c985d21265e6c
Parents: a8e0a33
Author: Jie Yu <yu...@gmail.com>
Authored: Mon Jun 29 11:12:56 2015 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Jun 29 11:34:01 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/f74759f3/docs/upgrades.md
----------------------------------------------------------------------
diff --git a/docs/upgrades.md b/docs/upgrades.md
index 3eca7b8..cef055b 100644
--- a/docs/upgrades.md
+++ b/docs/upgrades.md
@@ -14,6 +14,8 @@ This document serves as a guide for users who wish to upgrade an existing mesos
 
 **NOTE** A new scheduler driver API, `acceptOffers`, has been introduced. This is a more general version of the `launchTasks` API, which allows the scheduler to accept an offer and specify a list of operations (Offer.Operation) to perform using the resources in the offer. Currently, the supported operations include LAUNCH (launching tasks), RESERVE (making dynamic reservations), UNRESERVE (releasing dynamic reservations), CREATE (creating persistent volumes) and DESTROY (releasing persistent volumes). Similar to the `launchTasks` API, any unused resources will be considered declined, and the specified filters will be applied on all unused resources.
 
+**NOTE** The Resource protobuf has been extended to include more metadata for supporting persistence (DiskInfo), dynamic reservations (ReservationInfo) and oversubscription (RevocableInfo). You must not combine two Resource objects if they have different metadata.
+
 ## Upgrading from 0.21.x to 0.22.x
 
 **NOTE** Slave checkpoint flag has been removed as it will be enabled for all


[4/4] mesos git commit: Updated CHANGELOG about the Resource API changes.

Posted by ji...@apache.org.
Updated CHANGELOG about the Resource API changes.

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


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

Branch: refs/heads/master
Commit: fcbb923e0d492a7ad7aa4700cc222499c08928c4
Parents: f74759f
Author: Jie Yu <yu...@gmail.com>
Authored: Mon Jun 29 11:16:12 2015 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Jun 29 11:35:18 2015 -0700

----------------------------------------------------------------------
 CHANGELOG | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/fcbb923e/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index 59eacac..252f068 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -7,9 +7,12 @@ This release contains several new features:
   using them to be throttled or preempted.
 
 * API Changes:
+  * [MESOS-2097] - Update Resource protobuf with DiskInfo.
+  * [MESOS-2475] - Add the Resource::ReservationInfo protobuf message.
   * [MESOS-2485] - Added master metrics for slave removal reasons.
   * [MESOS-2654] - A new 'capabilities' field has been addd to FrameworkInfo to
                    opt in to revocable resources.
+  * [MESOS-2691] - Update Resource message to include revocable resources.
   * [MESOS-2775] - Added slave metrics for revocable resources.
   * [MESOS-2776] - Added master metrics for revocable resources.
   * [MESOS-2955] - Introduce acceptOffers scheduler driver API for performing


[2/4] mesos git commit: Updated CHANGELOG about the acceptOffers API.

Posted by ji...@apache.org.
Updated CHANGELOG about the acceptOffers API.

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


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

Branch: refs/heads/master
Commit: a8e0a33712205c1241d60e26df43c3eba38be930
Parents: 1cafa82
Author: Jie Yu <yu...@gmail.com>
Authored: Mon Jun 29 10:57:22 2015 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Mon Jun 29 11:30:29 2015 -0700

----------------------------------------------------------------------
 CHANGELOG | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/a8e0a337/CHANGELOG
----------------------------------------------------------------------
diff --git a/CHANGELOG b/CHANGELOG
index bf383ab..59eacac 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -12,6 +12,8 @@ This release contains several new features:
                    opt in to revocable resources.
   * [MESOS-2775] - Added slave metrics for revocable resources.
   * [MESOS-2776] - Added master metrics for revocable resources.
+  * [MESOS-2955] - Introduce acceptOffers scheduler driver API for performing
+                   operations on Offers
 
 * Deprecations:
   * [MESOS-2697] - '/master/shutdown' endpoint is deprecated in favor of