Skip to content

Commit 5a409ce

Browse files
committed
Refine comment
1 parent 340e07c commit 5a409ce

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

core/src/main/scala/org/apache/spark/scheduler/DAGScheduler.scala

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,14 +1045,9 @@ class DAGScheduler(
10451045

10461046
// Abort execution
10471047
return
1048-
case NonFatal(e) =>
1048+
case e: Throwable =>
10491049
abortStage(stage, s"Task serialization failed: $e\n${Utils.exceptionString(e)}", Some(e))
10501050
runningStages -= stage
1051-
return
1052-
1053-
case e: NoClassDefFoundError =>
1054-
abortStage(stage, s"Task serialization failed: $e\n${Utils.exceptionString(e)}", Some(e))
1055-
runningStages -= stage
10561051

10571052
// Abort execution
10581053
return

0 commit comments

Comments
 (0)