Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 22437 invoked from network); 7 Dec 2010 21:49:34 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Dec 2010 21:49:34 -0000 Received: (qmail 32403 invoked by uid 500); 7 Dec 2010 21:49:34 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 32337 invoked by uid 500); 7 Dec 2010 21:49:34 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 32329 invoked by uid 99); 7 Dec 2010 21:49:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 21:49:34 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Dec 2010 21:49:32 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oB7LnAkJ003278 for ; Tue, 7 Dec 2010 21:49:10 GMT Message-ID: <8501648.37171291758550435.JavaMail.jira@thor> Date: Tue, 7 Dec 2010 16:49:10 -0500 (EST) From: "Todd Lipcon (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-2212) MapTask and ReduceTask should only compress/decompress the final map output file In-Reply-To: <15552167.33731291751413593.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969021#action_12969021 ] Todd Lipcon commented on MAPREDUCE-2212: ---------------------------------------- Do we have data to confirm that intermediate compression is only useful for reducing network traffic? It seems we're also reducing disk IO which can be a bottleneck especially when the core:disk ratio is high. > MapTask and ReduceTask should only compress/decompress the final map output file > -------------------------------------------------------------------------------- > > Key: MAPREDUCE-2212 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2212 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Components: task > Affects Versions: 0.23.0 > Reporter: Scott Chen > Assignee: Scott Chen > Fix For: 0.23.0 > > > Currently if we set mapred.map.output.compression.codec > 1. MapTask will compress every spill, decompress every spill, merge and compress the final map output file > 2. ReduceTask will decompress, merge and compress every map output file. And repeat the compression/decompression every pass. > This causes all the data being compressed/decompressed many times. > The reason we need mapred.map.output.compression.codec is for network traffic. > We should not compress/decompress the data again and again during merge sort. > We should only compress the final map output file that will be transmitted over the network. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.