You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by yael aharon <ya...@gmail.com> on 2016/05/26 12:49:04 UTC

System.exit in local mode ?

Hello,
I have noticed that in
https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/util/SparkUncaughtExceptionHandler.scala
spark would call System.exit if an uncaught exception was encountered.
I have an application that is running spark in local mode, and would like
to avoid exiting the application if that happens.
Will spark exit my application in local mode too, or is that the behavior
only in cluster mode? Is there a setting to override this behavior?
thanks, Yael