Return-Path: Delivered-To: apmail-hadoop-mapreduce-dev-archive@minotaur.apache.org Received: (qmail 94351 invoked from network); 11 Sep 2009 04:27:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Sep 2009 04:27:20 -0000 Received: (qmail 28123 invoked by uid 500); 11 Sep 2009 04:27:20 -0000 Delivered-To: apmail-hadoop-mapreduce-dev-archive@hadoop.apache.org Received: (qmail 28041 invoked by uid 500); 11 Sep 2009 04:27:20 -0000 Mailing-List: contact mapreduce-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-dev@hadoop.apache.org Delivered-To: mailing list mapreduce-dev@hadoop.apache.org Received: (qmail 28018 invoked by uid 99); 11 Sep 2009 04:27:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Sep 2009 04:27:20 +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; Fri, 11 Sep 2009 04:27:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id EF6A3234C1EF for ; Thu, 10 Sep 2009 21:26:57 -0700 (PDT) Message-ID: <491043206.1252643217979.JavaMail.jira@brutus> Date: Thu, 10 Sep 2009 21:26:57 -0700 (PDT) From: "Jothi Padmanabhan (JIRA)" To: mapreduce-dev@hadoop.apache.org Subject: [jira] Resolved: (MAPREDUCE-240) Improve the shuffle phase by using the "connection: keep-alive" and doing batch transfers of files 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-240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jothi Padmanabhan resolved MAPREDUCE-240. ----------------------------------------- Resolution: Duplicate MAPREDUCE-318 incorporated this > Improve the shuffle phase by using the "connection: keep-alive" and doing batch transfers of files > -------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-240 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-240 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Reporter: Devaraj Das > Assignee: Jothi Padmanabhan > Attachments: hadoop-1338-v1.patch, hadoop-1338-v2.patch > > > We should do transfers of map outputs at the granularity of *total-bytes-transferred* rather than the current way of transferring a single file and then closing the connection to the server. A single TaskTracker might have a couple of map output files for a given reduce, and we should transfer multiple of them (upto a certain total size) in a single connection to the TaskTracker. Using HTTP-1.1's keep-alive connection would help since it would keep the connection open for more than one file transfer. We should limit the transfers to a certain size so that we don't hold up a jetty thread indefinitely (and cause timeouts for other clients). > Overall, this should give us improved performance. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.