Return-Path: X-Original-To: apmail-accumulo-notifications-archive@minotaur.apache.org Delivered-To: apmail-accumulo-notifications-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6182E18103 for ; Mon, 6 Jul 2015 18:20:17 +0000 (UTC) Received: (qmail 28954 invoked by uid 500); 6 Jul 2015 18:20:17 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 28914 invoked by uid 500); 6 Jul 2015 18:20:17 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 28901 invoked by uid 99); 6 Jul 2015 18:20:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jul 2015 18:20:17 +0000 Date: Mon, 6 Jul 2015 18:20:17 +0000 (UTC) From: "Josh Elser (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-3931) Repeated invocations of BatchScanner iterator().hasNext() causes MAC to become unresponsive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-3931?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14615432#comment-14615432 ] Josh Elser commented on ACCUMULO-3931: -------------------------------------- Tagged some fixVersions to make sure this doesn't get passed over. > Repeated invocations of BatchScanner iterator().hasNext() causes MAC to become unresponsive > ------------------------------------------------------------------------------------------- > > Key: ACCUMULO-3931 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3931 > Project: Accumulo > Issue Type: Bug > Components: mini > Affects Versions: 1.6.3, 1.7.0 > Reporter: Russ Weeks > Assignee: Eric Newton > Fix For: 1.6.4, 1.7.1, 1.8.0 > > Attachments: tablet_server_0.txt, tablet_server_1.txt, test_runner_stack.txt > > > Steps to reproduce: > # Instantiate a MiniAccumuloCluster with at least two tablet servers > # Create a table; add splits to the table. > # Add some mutations to the table distributed across the splits; flush the mutations. > # Create a BatchScanner across the full range of the table. > # Assert that the batch scanner has at least one KV pair by calling {{scanner.iterator().hasNext()}} > # Repeat. > It doesn't seem to matter if you close the scanner and create a new one in between calls to hasNext, or if you re-seek the same scanner, or if the scanner is created in a static context and re-used by multiple tests or created by each test. Eventually you will see that the {{TabletServerBatchReaderIterator}} gets stuck polling its resultsQueue, preventing further tests from running. > This happens roughyl 20% of the time in 1.6 when I run {{mvn clean test -Dtest=org.apache.accumulo.minicluster.MultipleHasNextTest --projects minicluster}}, maybe less often in 1.7, and 100% of the time when I try to use the MAC in my company's product build environment, which uses gradle. > (I'll update with a link to a failing unit test as soon as I get an issue ID) -- This message was sent by Atlassian JIRA (v6.3.4#6332)