aurora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wfar...@apache.org
Subject aurora git commit: Print a traceback when MesosExecutorDriver fails to load.
Date Fri, 11 Sep 2015 00:24:24 GMT
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 <wfarner@apache.org>
Authored: Thu Sep 10 17:24:18 2015 -0700
Committer: Bill Farner <wfarner@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
 
 


Mime
View raw message