Jose Torres created SPARK-23440:
-----------------------------------

             Summary: 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: 2.4.0
            Reporter: Jose Torres


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.3#76005)

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

Reply via email to