Github user mateiz commented on a diff in the pull request:
https://github.com/apache/spark/pull/186#discussion_r10869998
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -892,6 +892,9 @@ class SparkContext(
partitions: Seq[Int],
allowLocal: Boolean,
resultHandler: (Int, U) => Unit) {
+ if (dagScheduler == null) {
+ throw new SparkException("DAGScheduler has been shutdown")
--- End diff --
Maybe change the message to SparkContext has been shut down.
---
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.
---