[
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: 3.0.0)
3.1.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.1.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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]