My scenario is that a framework is running on server A. It has an executor on server B running a task (a long running web service with a long initialization time). Server A is shutdown. The framework is then restarted somewhere else in the cluster.
Currently, after the restart the new framework registers a new executor which runs a new task. After some time, the Mesos master deactivates the old and no-longer-running framework which in turn kills the old but still-running executor and its task.
I would like the new framework to re-register the old executor rather than register a new one. Is this possible?
This on the Mesos forum answers my question:
http://www.mail-archive.com/user%40mesos.apache.org/msg00069.html
Included here for reference: