Skip to content

Commit

Permalink
Catch all errors during serialization in DAGScheduler.
Browse files Browse the repository at this point in the history
  • Loading branch information
darabos committed Jul 8, 2014
1 parent 56e009d commit 361e962
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,10 @@ class DAGScheduler(
abortStage(stage, "Task not serializable: " + e.toString)
runningStages -= stage
return
case e: Throwable => // Other exceptions, such as IllegalArgumentException from Kryo.
abortStage(stage, "Task serialization failed: " + e.toString)
runningStages -= stage
return
}

logInfo("Submitting " + tasks.size + " missing tasks from " + stage + " (" + stage.rdd + ")")
Expand Down

0 comments on commit 361e962

Please sign in to comment.