You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2016/02/15 12:38:58 UTC
mesos git commit: Added note about implicit default filter to javadoc.
Repository: mesos
Updated Branches:
refs/heads/master b6a5d3585 -> e7e6ed610
Added note about implicit default filter to javadoc.
Makes framework developers aware that the MesosSchedulerDriver will
add an implicit filter declining unused resources.
Review: https://reviews.apache.org/r/43491/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/e7e6ed61
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/e7e6ed61
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/e7e6ed61
Branch: refs/heads/master
Commit: e7e6ed6109723b102f5caf0c248431bcd90292fe
Parents: b6a5d35
Author: Joerg Schad <jo...@mesosphere.io>
Authored: Mon Feb 15 12:38:28 2016 +0100
Committer: Bernd Mathiske <be...@mesosphere.io>
Committed: Mon Feb 15 12:38:28 2016 +0100
----------------------------------------------------------------------
src/java/src/org/apache/mesos/SchedulerDriver.java | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/e7e6ed61/src/java/src/org/apache/mesos/SchedulerDriver.java
----------------------------------------------------------------------
diff --git a/src/java/src/org/apache/mesos/SchedulerDriver.java b/src/java/src/org/apache/mesos/SchedulerDriver.java
index efe71b0..bf866f5 100644
--- a/src/java/src/org/apache/mesos/SchedulerDriver.java
+++ b/src/java/src/org/apache/mesos/SchedulerDriver.java
@@ -141,6 +141,10 @@ public interface SchedulerDriver {
/**
* Launches the given set of tasks. See above for details.
+ * Note that this may add a default filter (see mesos.proto)
+ * for the remaining resources. Notably the MesosSchedulerDriver
+ * does so.
+ *
*
* @param offerIds The collection of offer IDs.
* @param tasks The collection of tasks to be launched.
@@ -164,6 +168,9 @@ public interface SchedulerDriver {
/**
* @deprecated Use {@link #launchTasks(Collection, Collection)} instead.
+ * Note that this may add a default filter (see mesos.proto)
+ * for the remaining resources. Notably the MesosSchedulerDriver
+ * does so.
*
* @param offerId The offer ID.
* @param tasks The collection of tasks to be launched.