You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jp...@apache.org on 2018/02/02 00:33:34 UTC

[2/2] mesos git commit: Support `revocable_resources` capability in `mesos-execute`.

Support `revocable_resources` capability in `mesos-execute`.

Add revocable resources support to mesos-execute.

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


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

Branch: refs/heads/master
Commit: 6e52d565087f51e6f0e3b6c2ae03fa163e0bf2de
Parents: 6145565
Author: Zhitao Li <zh...@gmail.com>
Authored: Thu Feb 1 16:02:18 2018 -0800
Committer: James Peach <jp...@apache.org>
Committed: Thu Feb 1 16:06:53 2018 -0800

----------------------------------------------------------------------
 src/cli/execute.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/6e52d565/src/cli/execute.cpp
----------------------------------------------------------------------
diff --git a/src/cli/execute.cpp b/src/cli/execute.cpp
index 6e62689..729896a 100644
--- a/src/cli/execute.cpp
+++ b/src/cli/execute.cpp
@@ -1055,11 +1055,11 @@ int main(int argc, char** argv)
       << "Flags '--docker-image' and '--appc-image' are both set";
   }
 
-  // Always enable the RESERVATION_REFINEMENT and TASK_KILLING_STATE
-  // capabilities.
+  // Always enable the following capabilities.
   vector<FrameworkInfo::Capability::Type> frameworkCapabilities = {
     FrameworkInfo::Capability::RESERVATION_REFINEMENT,
     FrameworkInfo::Capability::TASK_KILLING_STATE,
+    FrameworkInfo::Capability::REVOCABLE_RESOURCES,
   };
 
   // Enable PARTITION_AWARE unless disabled by the user.