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 2016/08/02 23:55:44 UTC

[6/8] mesos git commit: Added logs for pre-exec commands to sandbox in MesosContainerizerLaunch.

Added logs for pre-exec commands to sandbox in MesosContainerizerLaunch.

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


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

Branch: refs/heads/1.0.x
Commit: 263f4e30228b089b12988dfe592538c6037733e8
Parents: 44d32ea
Author: Gilbert Song <so...@gmail.com>
Authored: Tue Aug 2 15:46:31 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Tue Aug 2 16:35:49 2016 -0700

----------------------------------------------------------------------
 src/slave/containerizer/mesos/launch.cpp | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/263f4e30/src/slave/containerizer/mesos/launch.cpp
----------------------------------------------------------------------
diff --git a/src/slave/containerizer/mesos/launch.cpp b/src/slave/containerizer/mesos/launch.cpp
index e1cf9d5..2db8db5 100644
--- a/src/slave/containerizer/mesos/launch.cpp
+++ b/src/slave/containerizer/mesos/launch.cpp
@@ -217,6 +217,8 @@ int MesosContainerizerLaunch::execute()
         return EXIT_FAILURE;
       }
 
+      cout << "Executing pre-exec command '" << value << "'" << endl;
+
       Try<Subprocess> s = Error("Not launched");
 
       if (parse->shell()) {