Skip to content

Commit 72bb484

Browse files
committed
Fix for SparkContext stop behavior
1 parent a5a7d7f commit 72bb484

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/scala/org/apache/spark/SparkEnv.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,8 @@ class SparkEnv (
107107
outputCommitCoordinator.stop()
108108
rpcEnv.shutdown()
109109
} catch {
110-
case e: ServerStateException =>
111-
logInfo("Exception while SparkEnv stop", e)
112110
case NonFatal(e) =>
111+
logInfo("Exception while SparkEnv stop", e)
113112
throw e;
114113
}
115114

0 commit comments

Comments
 (0)