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 E2E08CC76 for ; Thu, 5 Jul 2012 20:37:34 +0000 (UTC) Received: (qmail 89563 invoked by uid 500); 5 Jul 2012 20:37:34 -0000 Delivered-To: apmail-accumulo-dev-archive@accumulo.apache.org Received: (qmail 89545 invoked by uid 500); 5 Jul 2012 20:37:34 -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 89537 invoked by uid 99); 5 Jul 2012 20:37:34 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Jul 2012 20:37:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 8ACF6142852 for ; Thu, 5 Jul 2012 20:37:34 +0000 (UTC) Date: Thu, 5 Jul 2012 20:37:34 +0000 (UTC) From: "Adam Fuchs (JIRA)" To: dev@accumulo.apache.org Message-ID: <1734535508.10785.1341520654571.JavaMail.jiratomcat@issues-vm> In-Reply-To: <339604038.23.1341344554769.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Assigned] (ACCUMULO-668) first index block reader not closed in RFile 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-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adam Fuchs reassigned ACCUMULO-668: ----------------------------------- Assignee: Adam Fuchs > first index block reader not closed in RFile > -------------------------------------------- > > Key: ACCUMULO-668 > URL: https://issues.apache.org/jira/browse/ACCUMULO-668 > Project: Accumulo > Issue Type: Bug > Reporter: Adam Fuchs > Assignee: Adam Fuchs > Fix For: 1.5.0 > > > If an RFile is read without index caching, the reader it uses does not get closed. We saw this happen in an RFile unit test, where several Decompressors were not being returned to the CompressorPool. Inside of BCFile.Reader.Reader(...) the cachedDataIndex object never gets closed. The object eventually gets garbage collected, which frees up the resources, but it should be closed to properly return its Decompressor to the pool. This probably has little or no effect on any running instance, but it is nonetheless a bug. -- 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