org.apache.spark.SparkException: Job cancelled because SparkContext was shut down

nabble.com | 4 months ago
  1. 0

    Apache Spark Developers List - Spark fails after 6000s because of akka

    nabble.com | 4 months ago
    org.apache.spark.SparkException: Job cancelled because SparkContext was shut down
  2. 0

    GitHub comment 109#130664925

    GitHub | 1 year ago | cacti77
    org.apache.spark.SparkException: Job cancelled because SparkContext was shut down
  3. 0

    GitHub comment 109#134049748

    GitHub | 1 year ago | velvia
    org.apache.spark.SparkException: Job cancelled because SparkContext was shut down
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SparkContext was shut down on long running as_h2o_frame

    GitHub | 2 months ago | jmuhlenkamp
    org.apache.spark.SparkException: Job 34 cancelled because SparkContext was shut down
  6. 0

    "sparkContext was shut down" while running spark on a large dataset

    Stack Overflow | 1 year ago | Aleksander Zendel
    org.apache.spark.SparkException: Job cancelled because SparkContext was shut down

  1. tyson925 1 times, last 4 days ago
  2. Nikolay Rybak 2 times, last 4 weeks ago
  3. tyson925 12 times, last 2 months ago
3 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.apache.spark.SparkException

    Job cancelled because SparkContext was shut down

    at org.apache.spark.scheduler.DAGScheduler$$anonfun$cleanUpAfterSchedulerStop$1.apply()
  2. Spark
    DAGScheduler$$anonfun$cleanUpAfterSchedulerStop$1.apply
    1. org.apache.spark.scheduler.DAGScheduler$$anonfun$cleanUpAfterSchedulerStop$1.apply(DAGScheduler.scala:703)
    2. org.apache.spark.scheduler.DAGScheduler$$anonfun$cleanUpAfterSchedulerStop$1.apply(DAGScheduler.scala:702)
    2 frames
  3. Scala
    HashSet.foreach
    1. scala.collection.mutable.HashSet.foreach(HashSet.scala:79)
    1 frame
  4. Spark
    SparkContext.stop
    1. org.apache.spark.scheduler.DAGScheduler.cleanUpAfterSchedulerStop(DAGScheduler.scala:702)
    2. org.apache.spark.scheduler.DAGSchedulerEventProcessLoop.onStop(DAGScheduler.scala:1514)
    3. org.apache.spark.util.EventLoop.stop(EventLoop.scala:84)
    4. org.apache.spark.scheduler.DAGScheduler.stop(DAGScheduler.scala:1438)
    5. org.apache.spark.SparkContext$$anonfun$stop$7.apply$mcV$sp(SparkContext.scala:1724)
    6. org.apache.spark.util.Utils$.tryLogNonFatalError(Utils.scala:1185)
    7. org.apache.spark.SparkContext.stop(SparkContext.scala:1723)
    7 frames