Github user mateiz commented on the pull request:
https://github.com/apache/spark/pull/186#issuecomment-38371680
@CodingCat I think we should throw a SparkException from every active job
as we cancel it (that will happen with the cancel code), and then throw an
exception if they submit a new job on a DAGScheduler in this state. We
shouldn't do System.exit() or anything like that.
---
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.
---