Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5769FFC41 for ; Wed, 3 Apr 2013 22:29:16 +0000 (UTC) Received: (qmail 84624 invoked by uid 500); 3 Apr 2013 22:29:16 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 84590 invoked by uid 500); 3 Apr 2013 22:29:16 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 84580 invoked by uid 99); 3 Apr 2013 22:29:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Apr 2013 22:29:16 +0000 Date: Wed, 3 Apr 2013 22:29:15 +0000 (UTC) From: "Alejandro Abdelnur (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HADOOP-9401) CodecPool: Add counters for number of (de)compressors leased out 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/HADOOP-9401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alejandro Abdelnur updated HADOOP-9401: --------------------------------------- Resolution: Fixed Fix Version/s: 2.0.5-beta Hadoop Flags: Reviewed Status: Resolved (was: Patch Available) Thanks Karthik. Committed to trunk and branch-2. > CodecPool: Add counters for number of (de)compressors leased out > ---------------------------------------------------------------- > > Key: HADOOP-9401 > URL: https://issues.apache.org/jira/browse/HADOOP-9401 > Project: Hadoop Common > Issue Type: Improvement > Affects Versions: 2.0.3-alpha > Reporter: Karthik Kambatla > Assignee: Karthik Kambatla > Fix For: 2.0.5-beta > > Attachments: hadoop-9401.patch, hadoop-9401.patch, hadoop-9401.patch, hadoop-9401.patch, hadoop-9401.patch > > > CodecPool enables reusing compressors/decompressors created. However, the onus is on the user to return the compressors/decompressors to the pool, and can be easily missed. > It would be quite handy to keep track of the total number of compressors/decompressors created and helper methods to check outstanding (not returned) compressors/decompressors. It immediately allows Hadoop and downstream projects to write unit tests for the same. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira