Hi,
I'm implementing an executor which is used by the mesos slave to launch
tasks. The tasks are to launch a docker container - this is because I need
more info about the launched container than what the docker containerizer
returns.

Is it OK to block in the executor's launchTask method until the task
completes? If not, how does the framework discover when that task
completes? I could spawn a process which notifies my executor when the task
completes and then have my executor send a status update. Or is there some
other recommended way to deal with this when the task could run for an
indefinite period of time before completing its work?

Thanks!

Janet

--
Janet Borschowa
CodeFutures Corporation

Reply via email to