How to shutdown/kill Spark Streaming application when one of the job fails
<p>I am running a Spark streaming application. There are few times where one of the jobs fails due to some runtime exception. Spark marks the job as failed and continues to process the next streaming batch. Is there a parameter that I can set to notify Spark to kill the application (not to process next streaming batch) if one of the jobs fails? I am using Spark 1.4.1 on Standalone cluster mode. </p>