Github user markhamstra commented on the pull request:
https://github.com/apache/spark/pull/186#issuecomment-38191649
I haven't tested this yet, but it looks to me that in instances of
preRestart where we have a DAGSchedulerEvent message and that event is one that
includes a jobId or task, then we should call handleJobCancellation on just
the one job, not on all running jobs.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---