Return-Path: Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: (qmail 38226 invoked from network); 9 Feb 2010 06:11:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Feb 2010 06:11:49 -0000 Received: (qmail 63803 invoked by uid 500); 9 Feb 2010 06:11:49 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 63711 invoked by uid 500); 9 Feb 2010 06:11:49 -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 63699 invoked by uid 99); 9 Feb 2010 06:11:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Feb 2010 06:11:49 +0000 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; Tue, 09 Feb 2010 06:11:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id F233A29A0016 for ; Mon, 8 Feb 2010 22:11:27 -0800 (PST) Message-ID: <896113434.141731265695887990.JavaMail.jira@brutus.apache.org> Date: Tue, 9 Feb 2010 06:11:27 +0000 (UTC) From: "Amar Kamat (JIRA)" To: common-issues@hadoop.apache.org Subject: [jira] Updated: (HADOOP-5879) GzipCodec should read compression level etc from configuration 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-5879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amar Kamat updated HADOOP-5879: ------------------------------- Attachment: hadoop-5879-yahoo-0.20-v1.0.patch Attaching a patch for Yahoo!'s distribution of hadoop 0.20, not to be committed here. > GzipCodec should read compression level etc from configuration > -------------------------------------------------------------- > > Key: HADOOP-5879 > URL: https://issues.apache.org/jira/browse/HADOOP-5879 > Project: Hadoop Common > Issue Type: Improvement > Components: io > Reporter: Zheng Shao > Assignee: He Yongqiang > Fix For: 0.21.0 > > Attachments: H5879-5.patch, hadoop-5879-5-21.patch, hadoop-5879-7-13-2.patch, hadoop-5879-7-13-3.patch, hadoop-5879-7-18-3.patch, hadoop-5879-7-26.patch, hadoop-5879-yahoo-0.20-v1.0.patch > > > GzipCodec currently uses the default compression level. We should allow overriding the default value from Configuration. > {code} > static final class GzipZlibCompressor extends ZlibCompressor { > public GzipZlibCompressor() { > super(ZlibCompressor.CompressionLevel.DEFAULT_COMPRESSION, > ZlibCompressor.CompressionStrategy.DEFAULT_STRATEGY, > ZlibCompressor.CompressionHeader.GZIP_FORMAT, 64*1024); > } > } > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.