You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Dongjoon Hyun (JIRA)" <ji...@apache.org> on 2019/07/16 16:42:13 UTC

[jira] [Updated] (SPARK-23440) Clean up StreamExecution interrupts

     [ https://issues.apache.org/jira/browse/SPARK-23440?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun updated SPARK-23440:
----------------------------------
    Affects Version/s:     (was: 2.4.0)
                       3.0.0

> Clean up StreamExecution interrupts
> -----------------------------------
>
>                 Key: SPARK-23440
>                 URL: https://issues.apache.org/jira/browse/SPARK-23440
>             Project: Spark
>          Issue Type: Improvement
>          Components: Structured Streaming
>    Affects Versions: 3.0.0
>            Reporter: Jose Torres
>            Priority: Minor
>
> StreamExecution currently heavily leverages interrupt() to stop the query execution thread. But the query execution thread is sometimes in the middle of a context that will wrap or convert the InterruptedException, so we maintain a whitelist of exceptions that we think indicate an exception caused by stop rather than an error condition. This is awkward and probably fragile.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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