Github user jerryshao commented on the pull request:
https://github.com/apache/spark/pull/9288#issuecomment-151404693
Can we do this by adding pending to kill tasks into list, only when all the
tasks marked as finished, then call `markStageAsFinished`, also post
`SparkListenerJobEnd`. AFAIK, this is the way to manage executor killing in
`CoarseGrainedSchedulerBacked`, from the code level (not sure the complexity)
this can also be achieved here in `DAGScheduler`.
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]