You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by wf...@apache.org on 2015/09/11 02:24:24 UTC

aurora git commit: Print a traceback when MesosExecutorDriver fails to load.

Repository: aurora
Updated Branches:
  refs/heads/master 98f692d16 -> e57993bfb


Print a traceback when MesosExecutorDriver fails to load.

Reviewed at https://reviews.apache.org/r/38260/


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

Branch: refs/heads/master
Commit: e57993bfb33b7c14cf69958d9340284bc75c72c5
Parents: 98f692d
Author: Bill Farner <wf...@apache.org>
Authored: Thu Sep 10 17:24:18 2015 -0700
Committer: Bill Farner <wf...@apache.org>
Committed: Thu Sep 10 17:24:18 2015 -0700

----------------------------------------------------------------------
 .../python/apache/aurora/executor/bin/thermos_executor_main.py  | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aurora/blob/e57993bf/src/main/python/apache/aurora/executor/bin/thermos_executor_main.py
----------------------------------------------------------------------
diff --git a/src/main/python/apache/aurora/executor/bin/thermos_executor_main.py b/src/main/python/apache/aurora/executor/bin/thermos_executor_main.py
index b3e8bf1..0d02dc1 100644
--- a/src/main/python/apache/aurora/executor/bin/thermos_executor_main.py
+++ b/src/main/python/apache/aurora/executor/bin/thermos_executor_main.py
@@ -19,7 +19,11 @@ slave.
 
 """
 
+from __future__ import print_function
+
 import os
+import sys
+import traceback
 
 from twitter.common import app, log
 from twitter.common.log.options import LogOptions
@@ -39,6 +43,7 @@ from apache.aurora.executor.thermos_task_runner import (
 try:
   from mesos.native import MesosExecutorDriver
 except ImportError:
+  print(traceback.format_exc(), file=sys.stderr)
   MesosExecutorDriver = None