Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 83893 invoked from network); 14 Jul 2008 19:04:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Jul 2008 19:04:54 -0000 Received: (qmail 43330 invoked by uid 500); 14 Jul 2008 19:04:52 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 43303 invoked by uid 500); 14 Jul 2008 19:04:52 -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 43292 invoked by uid 99); 14 Jul 2008 19:04:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Jul 2008 12:04:52 -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; Mon, 14 Jul 2008 19:04:08 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B54AD234C177 for ; Mon, 14 Jul 2008 12:04:31 -0700 (PDT) Message-ID: <1685242899.1216062271741.JavaMail.jira@brutus> Date: Mon, 14 Jul 2008 12:04:31 -0700 (PDT) From: "Chris Douglas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-3646) Providing bzip2 as codec In-Reply-To: <249768212.1214433766357.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-3646?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated HADOOP-3646: ---------------------------------- Assignee: Abdul Qadeer Status: Patch Available (was: Reopened) > Providing bzip2 as codec > ------------------------ > > Key: HADOOP-3646 > URL: https://issues.apache.org/jira/browse/HADOOP-3646 > Project: Hadoop Core > Issue Type: Improvement > Components: conf, io > Affects Versions: 0.19.0 > Reporter: Abdul Qadeer > Assignee: Abdul Qadeer > Fix For: 0.19.0 > > Attachments: HADOOP-3646.patch, HADOOP-3646.patch > > Original Estimate: 1008h > Remaining Estimate: 1008h > > Hadoop recognizes gzip compressed input and automatically decompresses the data before providing it to the mapper. But Hadoop can not split a gzip stream due to the very nature of the gzip compression. Consequently one gzip stream (e.g a whole file) can go to only one mapper. On the contrary Bzip2 compressed stream can be split across its block delimiters. > We are interested in extending Hadoop to support splittable bzip2 with a codec. (https://issues.apache.org/jira/browse/HADOOP-1823 uses input reader to split the bzip2 files, which must be provided by the user and can handle FileInputFormat. If a user wants to use some other input format or wants to do custom record handling, he must write a new input reader!) > We have a patch now that provides a basic bzip2 codec equivalent to the current gzip codec. We are in the process of extending that to support splitting. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.