Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 97740 invoked from network); 11 Sep 2008 21:12:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Sep 2008 21:12:38 -0000 Received: (qmail 64983 invoked by uid 500); 11 Sep 2008 21:12:32 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 64957 invoked by uid 500); 11 Sep 2008 21:12:32 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 64943 invoked by uid 99); 11 Sep 2008 21:12:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2008 14:12:32 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Sep 2008 21:11:42 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8DE16234C1D7 for ; Thu, 11 Sep 2008 14:11:44 -0700 (PDT) Message-ID: <623688289.1221167504576.JavaMail.jira@brutus> Date: Thu, 11 Sep 2008 14:11:44 -0700 (PDT) From: "Arun C Murthy (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-4162) CodecPool.getDecompressor(LzopCodec) always creates a brand-new decompressor. In-Reply-To: <1602506014.1221166784338.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-4162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arun C Murthy updated HADOOP-4162: ---------------------------------- Affects Version/s: 0.18.0 Fix Version/s: 0.19.0 > CodecPool.getDecompressor(LzopCodec) always creates a brand-new decompressor. > ----------------------------------------------------------------------------- > > Key: HADOOP-4162 > URL: https://issues.apache.org/jira/browse/HADOOP-4162 > Project: Hadoop Core > Issue Type: Bug > Affects Versions: 0.18.0 > Reporter: Hong Tang > Assignee: Arun C Murthy > Fix For: 0.19.0 > > Attachments: HADOOP-4162_0_20080911.patch > > > CodecPool.getDecompressor(LzopCodec) always creates a brand-new decompressor. I investigated the code, the reason seems to be the following: > LzopCodec inherits from LzoCodec. The getDecompressorType() method is supposed to return the concrete Decompressor class type the specific Codec class creates. In this case, LzopCodec creates LzopDecompressors and should return LzopDecompressor.class. But instead, it uses the getDecompressorType() method defined in the parent and returns LzoDecompressor.class. > This leads to CodecPool unable to properly recycle the decompressors. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.