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 4E08B110BA for ; Mon, 22 Sep 2014 15:51:35 +0000 (UTC) Received: (qmail 22229 invoked by uid 500); 22 Sep 2014 15:51:34 -0000 Delivered-To: apmail-accumulo-notifications-archive@accumulo.apache.org Received: (qmail 22155 invoked by uid 500); 22 Sep 2014 15:51:34 -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 21722 invoked by uid 99); 22 Sep 2014 15:51:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Sep 2014 15:51:34 +0000 Date: Mon, 22 Sep 2014 15:51:34 +0000 (UTC) From: "Eric Newton (JIRA)" To: notifications@accumulo.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (ACCUMULO-3157) MetaDataTableScanner is unclosed upon return from FindOfflineTablets#findOffline() 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-3157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14143327#comment-14143327 ] Eric Newton commented on ACCUMULO-3157: --------------------------------------- Lowered the priority as this program will terminate and release any resources. > MetaDataTableScanner is unclosed upon return from FindOfflineTablets#findOffline() > ---------------------------------------------------------------------------------- > > Key: ACCUMULO-3157 > URL: https://issues.apache.org/jira/browse/ACCUMULO-3157 > Project: Accumulo > Issue Type: Bug > Components: client > Affects Versions: 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1 > Reporter: Ted Yu > Assignee: Eric Newton > Priority: Trivial > Fix For: 1.5.3, 1.6.2, 1.7.0 > > > {code} > Iterator rootScanner = new MetaDataTableScanner(instance, creds, MetadataSchema.TabletsSection.getRange(), RootTable.NAME); > if ((offline = checkTablets(rootScanner, tservers)) > 0) > return offline; > ... > Iterator metaScanner = new MetaDataTableScanner(instance, creds, range, MetadataTable.NAME); > return checkTablets(metaScanner, tservers); > {code} > Upon return, the MetaDataTableScanner is not closed. -- This message was sent by Atlassian JIRA (v6.3.4#6332)