Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 69307 invoked from network); 7 Mar 2008 18:59:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Mar 2008 18:59:05 -0000 Received: (qmail 87750 invoked by uid 500); 7 Mar 2008 18:59:00 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 87722 invoked by uid 500); 7 Mar 2008 18:59:00 -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 87713 invoked by uid 99); 7 Mar 2008 18:59:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Mar 2008 10:59:00 -0800 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; Fri, 07 Mar 2008 18:58:32 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7214B234C0A0 for ; Fri, 7 Mar 2008 10:57:46 -0800 (PST) Message-ID: <61922997.1204916266466.JavaMail.jira@brutus> Date: Fri, 7 Mar 2008 10:57:46 -0800 (PST) From: "Chris Douglas (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Updated: (HADOOP-2943) Compression for intermediate map output is broken In-Reply-To: <846414915.1204770777968.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-2943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chris Douglas updated HADOOP-2943: ---------------------------------- Attachment: 2943.patch > Compression for intermediate map output is broken > ------------------------------------------------- > > Key: HADOOP-2943 > URL: https://issues.apache.org/jira/browse/HADOOP-2943 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Affects Versions: 0.17.0 > Reporter: Chris Douglas > Assignee: Chris Douglas > Fix For: 0.17.0 > > Attachments: 2943.patch, 2943.patch, 2943.patch, 2943.patch > > > It looks like SequenceFile::RecordCompressWriter and SequenceFile::BlockCompressWriter weren't updated to use the new serialization added in HADOOP-1986. This causes failures in the merge when mapred.compress.map.output is true and mapred.map.output.compression.type=BLOCK: > {noformat} > java.io.IOException: File is corrupt! > at org.apache.hadoop.io.SequenceFile$Reader.readBlock(SequenceFile.java:1656) > at org.apache.hadoop.io.SequenceFile$Reader.nextRawKey(SequenceFile.java:1969) > at org.apache.hadoop.io.SequenceFile$Sorter$SegmentDescriptor.nextRawKey(SequenceFile.java:2985) > at org.apache.hadoop.io.SequenceFile$Sorter$MergeQueue.merge(SequenceFile.java:2785) > at org.apache.hadoop.io.SequenceFile$Sorter.merge(SequenceFile.java:2494) > at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.mergeParts(MapTask.java:654) > at org.apache.hadoop.mapred.MapTask$MapOutputBuffer.flush(MapTask.java:740) > at org.apache.hadoop.mapred.MapTask.run(MapTask.java:212) > at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2077) > {noformat} > mapred.map.output.compression.type=RECORD works for Writables, but should be updated. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.