On Fri, May 16, 2014 at 12:30 PM, Diptanu Choudhury <dipta...@gmail.com>wrote:
> Is the ExecutorDriver that one gets in a launchTask callback in a Mesos > Executor singleton? I am currently caching the instance of the > ExecutorDriver when a launchTask is called in an Akka Actor which monitors > a linux container and sends updates about it's state to my framework. > > I am wondering if that's the right way to do this, or should I use the > instance of MesosExecutorDriver that I create to register the executor for > this? > It is a singleton. The same instance of driver that you instantiate the executor with is passed back via the callbacks (e.g., registered(), launchTask(), etc).