Skip to content

Commit

Permalink
Fix for SparkContext stop behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
rekhajoshm committed Jun 26, 2015
1 parent a5a7d7f commit 72bb484
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/main/scala/org/apache/spark/SparkEnv.scala
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,8 @@ class SparkEnv (
outputCommitCoordinator.stop()
rpcEnv.shutdown()
} catch {
case e: ServerStateException =>
logInfo("Exception while SparkEnv stop", e)
case NonFatal(e) =>
logInfo("Exception while SparkEnv stop", e)
throw e;
}

Expand Down

0 comments on commit 72bb484

Please sign in to comment.