Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 75028 invoked from network); 30 Oct 2008 17:35:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2008 17:35:07 -0000 Received: (qmail 73700 invoked by uid 500); 30 Oct 2008 17:35:12 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 73051 invoked by uid 500); 30 Oct 2008 17:35:10 -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 73040 invoked by uid 99); 30 Oct 2008 17:35:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 10:35:10 -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; Thu, 30 Oct 2008 17:34:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 73612234C268 for ; Thu, 30 Oct 2008 10:34:44 -0700 (PDT) Message-ID: <313033922.1225388084471.JavaMail.jira@brutus> Date: Thu, 30 Oct 2008 10:34:44 -0700 (PDT) From: "dhruba borthakur (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Assigned: (HADOOP-2560) Processing multiple input splits per mapper task 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-2560?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] dhruba borthakur reassigned HADOOP-2560: ---------------------------------------- Assignee: dhruba borthakur > Processing multiple input splits per mapper task > ------------------------------------------------ > > Key: HADOOP-2560 > URL: https://issues.apache.org/jira/browse/HADOOP-2560 > Project: Hadoop Core > Issue Type: Bug > Reporter: Runping Qi > Assignee: dhruba borthakur > Attachments: multipleSplitsPerMapper.patch > > > Currently, an input split contains a consecutive chunk of input file, which by default, corresponding to a DFS block. > This may lead to a large number of mapper tasks if the input data is large. This leads to the following problems: > 1. Shuffling cost: since the framework has to move M * R map output segments to the nodes running reducers, > larger M means larger shuffling cost. > 2. High JVM initialization overhead > 3. Disk fragmentation: larger number of map output files means lower read throughput for accessing them. > Ideally, you want to keep the number of mappers to no more than 16 times the number of nodes in the cluster. > To achive that, we can increase the input split size. However, if a split span over more than one dfs block, > you lose the data locality scheduling benefits. > One way to address this problem is to combine multiple input blocks with the same rack into one split. > If in average we combine B blocks into one split, then we will reduce the number of mappers by a factor of B. > Since all the blocks for one mapper share a rack, thus we can benefit from rack-aware scheduling. > Thoughts? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.