Skip to content

Commit

Permalink
[SPARK][CORE] NoClassDefFoundError will not be catch up which will ca…
Browse files Browse the repository at this point in the history
…use job hung
  • Loading branch information
caneGuy committed Jun 29, 2018
1 parent f6e6899 commit 340e07c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1049,6 +1049,13 @@ class DAGScheduler(
abortStage(stage, s"Task serialization failed: $e\n${Utils.exceptionString(e)}", Some(e))
runningStages -= stage
return

case e: NoClassDefFoundError =>
abortStage(stage, s"Task serialization failed: $e\n${Utils.exceptionString(e)}", Some(e))
runningStages -= stage

// Abort execution
return
}

val tasks: Seq[Task[_]] = try {
Expand Down

0 comments on commit 340e07c

Please sign in to comment.