[ 
https://issues.apache.org/jira/browse/SPARK-34997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17329244#comment-17329244
 ] 

Holden Karau commented on SPARK-34997:
--------------------------------------

We could add a configuration for which signals spark should enable graceful 
shutdown.

> Make graceful shutdown controllable by property
> -----------------------------------------------
>
>                 Key: SPARK-34997
>                 URL: https://issues.apache.org/jira/browse/SPARK-34997
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.1.1
>            Reporter: Oleg Kuznetsov
>            Priority: Major
>
> I'm using Spark in embedded mode, i.e. Spark is one of many components in my 
> app.
> Currently, when JVM received sigterm, Spark immediately start shutting down.
>  
> Expected: provide client code with an option to control how and when to 
> shutdown Spark app, i.e. create a config to disable unconditional shutdown by 
> Spark itself.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to