deimos icon indicating copy to clipboard operation
deimos copied to clipboard

Mesos environment variables not set when task_info specified

Open boompig opened this issue 9 years ago • 0 comments

If task_info is used instead of executor_info (see here), then executor() return value is None, which makes the return value of needs_observer() True. This causes Mesos environment variables to not be set.

The code for that can be found here.

Is this the expected behaviour? It does not seem to be, because for me specifying task_info implies I want to create a new executor to work with it, rather than attaching to an existing one.

Also, the documentation makes reference to TaskInfo rather than ExecutorInfo here, which seems to suggest that this is the preferred way.

boompig avatar Jul 22 '14 18:07 boompig