Note that MesosExecutorBackend also has a `killTask()` callback it can get from Mesos, so you might as well call Executor.killTask there. Also, the SchedulerDriver object in the MesosSchedulerBackend class has a killTask API you can use to invoke task killing.