You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/04/10 22:22:12 UTC

[jira] [Created] (DRILL-2755) Use and handle InterruptedException during query processing

Chris Westin created DRILL-2755:
-----------------------------------

             Summary: Use and handle InterruptedException during query processing
                 Key: DRILL-2755
                 URL: https://issues.apache.org/jira/browse/DRILL-2755
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Flow
    Affects Versions: 0.8.0
            Reporter: Chris Westin
            Assignee: Chris Westin
             Fix For: 1.0.0


Cancellation requests don't yet handle using InterruptedException to deal with blocking operations. For example, if a thread is blocked doing I/O, or waiting for completion of write requests (via SendingAccountor), then we need to be able to interrupt it so we can continue.

This means both knowing what threads to interrupt, and for any relevant blocking sites to handle the InterruptedException correctly (see http://www.ibm.com/developerworks/library/j-jtp05236/). At present, most of these just log the exception and continue, effectively swallowing the exception, which is not correct.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)