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

(Updated March 22, 2016, 9:50 a.m.)


Review request for Aurora, Joshua Cohen and Bill Farner.


Repository: aurora


Description
-------

When using `--executor_environment_variables` without explicitely
passing LD_LIBRARY_PATH, `sys.executable` returns an empty string
resulting in a '[Errno 13] Permission denied' error for every launched
task.

Moreover, it seems that this feature is coming in 0.30: "Executors no
longer inherit environment variables from the agent".

This patch partially revert back 07ce21d where chmod_x method was
removed in favor of using sys.executable.


Diffs
-----

  src/main/python/apache/aurora/executor/thermos_task_runner.py 
3896e3841562600379705dbf78a6f62728246348 

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


Testing (updated)
-------

Make Aurora executor run on CentOS7, while running mesos agent with 
`--executor_environment_variables` option and no excplicit $PATH set.


Thanks,

Pierre Cheynier

Reply via email to