accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Newton (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ACCUMULO-487) Batch Scanner can get stuck when external thread closes scanner
Date Wed, 02 May 2012 15:20:49 GMT

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

Eric Newton reassigned ACCUMULO-487:
------------------------------------

    Assignee: Keith Turner
    
> 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.4.0, 1.3.5
>            Reporter: John Vines
>            Assignee: Keith Turner
>              Labels: newbie
>             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