Github user markhamstra commented on a diff in the pull request:
https://github.com/apache/spark/pull/186#discussion_r11463867
--- Diff: core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala
---
@@ -1128,13 +986,160 @@ class DAGScheduler(
}
def stop() {
- if (eventProcessActor != null) {
- eventProcessActor ! StopDAGScheduler
+ logInfo("Stopping DAGScheduler")
+ if (dagSchedulerActorSupervisor != null) {
+ dagSchedulerActorSupervisor ! PoisonPill.getInstance
--- End diff --
We don't actually need the `getInstance` since this is Scala, not Java;
just `PoisonPill` will do -- my bad.
---
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.
---