aurora-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Farner" <wfar...@apache.org>
Subject Re: Review Request 38260: Print a traceback when MesosExecutorDriver fails to load.
Date Thu, 10 Sep 2015 23:53:42 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/38260/
-----------------------------------------------------------

(Updated Sept. 10, 2015, 4:53 p.m.)


Review request for Aurora and Steve Niemitz.


Repository: aurora


Description
-------

This is especially useful when running docker-based tasks, as there are image dependencies.
 See https://issues.apache.org/jira/browse/AURORA-1487 for an example.


Diffs (updated)
-----

  src/main/python/apache/aurora/executor/bin/thermos_executor_main.py b3e8bf1e924999306e0b8a1314273b22c51028e7


Diff: https://reviews.apache.org/r/38260/diff/


Testing
-------

Produced a useful error in a docker image:
```
Traceback (most recent call last):
  File "/thermos_executor/apache/aurora/executor/bin/thermos_executor_main.py", line 41, in
<module>
    from mesos.native import MesosExecutorDriver
  File "/root/.pex/install/mesos.native-0.23.0-py2.7-linux-x86_64.egg.eb60011deb59722e3835f7a7cfc48d14dc3b104a/mesos.native-0.23.0-py2.7-linux-x86_64.egg/mesos/native/__init__.py",
line 17, in <module>
    from ._mesos import MesosExecutorDriverImpl
ImportError: libcurl-nss.so.4: cannot open shared object file: No such file or directory
```


Thanks,

Bill Farner


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message