Return-Path: X-Original-To: apmail-accumulo-dev-archive@www.apache.org Delivered-To: apmail-accumulo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E99109514 for ; Wed, 2 May 2012 15:21:10 +0000 (UTC) Received: (qmail 79747 invoked by uid 500); 2 May 2012 15:21:10 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 79682 invoked by uid 500); 2 May 2012 15:21:10 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 79674 invoked by uid 99); 2 May 2012 15:21:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 15:21:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 May 2012 15:21:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D348F42BFAE for ; Wed, 2 May 2012 15:20:49 +0000 (UTC) Date: Wed, 2 May 2012 15:20:49 +0000 (UTC) From: "Eric Newton (JIRA)" To: dev@accumulo.apache.org Message-ID: <254949770.17373.1335972049877.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Assigned] (ACCUMULO-487) Batch Scanner can get stuck when external thread closes scanner MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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