accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-487) Batch Scanner can get stuck when external thread closes scanner
Date Thu, 22 Mar 2012 16:52:22 GMT
Batch Scanner can get stuck when external thread closes scanner
---------------------------------------------------------------

                 Key: ACCUMULO-487
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-487
             Project: Accumulo
          Issue Type: Bug
          Components: client
    Affects Versions: 1.3.5, 1.4.0
            Reporter: John Vines
             Fix For: 1.4.1


Scenario- client is using batch scanner to run queries with complex server side iterators.
They run long. User has external thread which determines thread is running long, so that thread
calls close on the batch scanner. Query threads exit nicely, but there is a thread which is
constantly polling an internal queue. It only breaks out of that loop if there is a next key
or an error thrown. If neither occur, it continues to poll. We should probably have an exit
condition get set on close() which is used in that query loop.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message