Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 64668 invoked from network); 18 May 2006 20:58:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 May 2006 20:58:39 -0000 Received: (qmail 70241 invoked by uid 500); 18 May 2006 20:58:39 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 70113 invoked by uid 500); 18 May 2006 20:58:38 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 70104 invoked by uid 99); 18 May 2006 20:58:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 13:58:38 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 May 2006 13:58:38 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0E2CA7142A1 for ; Thu, 18 May 2006 20:58:07 +0000 (GMT) Message-ID: <7621142.1147985887055.JavaMail.jira@brutus> Date: Thu, 18 May 2006 20:58:07 +0000 (GMT+00:00) From: "Milind Bhandarkar (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-229) hadoop cp should generate a better number of map tasks In-Reply-To: <2422002.1147911845993.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HADOOP-229?page=comments#action_12412420 ] Milind Bhandarkar commented on HADOOP-229: ------------------------------------------ Number of maps is now computed as follows: numMaps = max(1, min(numFiles, numNodes*10, totalBytes/256MB, 10000)). Plus added reporting status for every file (or every 32MB - approx 10 seconds) so that tasks dont timeout while copying huge files. This fix is part of the patch attached to hadoop-220. > hadoop cp should generate a better number of map tasks > ------------------------------------------------------ > > Key: HADOOP-229 > URL: http://issues.apache.org/jira/browse/HADOOP-229 > Project: Hadoop > Type: Bug > Components: fs > Reporter: Yoram Arnon > Assignee: Milind Bhandarkar > Priority: Minor > > hadoop cp currently assigns 10 files to copy per map task. > in case of a small number of large files on a large cluster (say 300 files of 30GB each on a 300 node cluster), this results in long execution times. > better would be to assign files per task such that the entire cluster is utilized: one file per map, with a cap of 10000 maps total, so as not to over burden the job tracker. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira