You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by tn...@apache.org on 2014/12/31 01:13:34 UTC

[2/2] mesos git commit: Updated help text for max_executors_per_slave flag for master.

Updated help text for max_executors_per_slave flag for master.

The new help text has more context as to why this flag is needed.

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


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

Branch: refs/heads/master
Commit: f5f6b0edb1653d4da5154245c6e98de12f58726d
Parents: 5212b3d
Author: Kapil Arya <ka...@mesosphere.io>
Authored: Tue Dec 30 16:03:40 2014 -0800
Committer: Timothy Chen <tn...@apache.org>
Committed: Tue Dec 30 16:03:41 2014 -0800

----------------------------------------------------------------------
 src/master/flags.hpp | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/f5f6b0ed/src/master/flags.hpp
----------------------------------------------------------------------
diff --git a/src/master/flags.hpp b/src/master/flags.hpp
index 1cea50c..f5c8d2a 100644
--- a/src/master/flags.hpp
+++ b/src/master/flags.hpp
@@ -290,7 +290,10 @@ public:
 #ifdef WITH_NETWORK_ISOLATOR
     add(&Flags::max_executors_per_slave,
         "max_executors_per_slave",
-        "A maximum number of executors to allow per slave.");
+        "Maximum number of executors allowed per slave. The network\n"
+        "monitoring/isolation technique imposes an implicit resource\n"
+        "acquisition on each executor (# ephemeral ports), as a result\n"
+        "one can only run a certain number of executors on each slave.");
 #endif  // WITH_NETWORK_ISOLATOR
 
     // TODO(karya): When we have optimistic offers, this will only
@@ -299,7 +302,7 @@ public:
         "offer_timeout",
         "Duration of time before an offer is rescinded from a framework.\n"
         "This helps fairness when running frameworks that hold on to offers,\n"
-        "or frameworks that accidentally drop offers.\n");
+        "or frameworks that accidentally drop offers.");
 
     // This help message for --modules flag is the same for
     // {master,slave,tests}/flags.hpp and should always be kept in