Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 8924 invoked from network); 30 Jan 2007 19:05:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Jan 2007 19:05:56 -0000 Received: (qmail 9085 invoked by uid 500); 30 Jan 2007 19:06:02 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 9053 invoked by uid 500); 30 Jan 2007 19:06:01 -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 9043 invoked by uid 99); 30 Jan 2007 19:06:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jan 2007 11:06:01 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Jan 2007 11:05:54 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 57B7F7142D4 for ; Tue, 30 Jan 2007 11:05:34 -0800 (PST) Message-ID: <22496113.1170183934319.JavaMail.jira@brutus> Date: Tue, 30 Jan 2007 11:05:34 -0800 (PST) From: "Andrew McNabb (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Commented: (HADOOP-960) Incorrect number of map tasks when there are multiple input files In-Reply-To: <10505894.1170123949069.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-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468744 ] Andrew McNabb commented on HADOOP-960: -------------------------------------- >From an end-user perspective, it seems like the need to split input evenly would be pretty common. Especially for a user like myself who uses hadoop-streaming, it would be nice to set an "even splits" configuration option rather than subclassing InputFormat. Since the rest of the custom code is non-Java, it is a little awkward to write a Java class for this. Of course, all of this is based on my belief that this would be commonly desirable. It seems like something that would be a nice standard feature of the Hadoop toolbox. I hope the tone of my request is more clear now. I really think that this would be a great thing to be available for everyone. Thanks again for everything you do. > Incorrect number of map tasks when there are multiple input files > ----------------------------------------------------------------- > > Key: HADOOP-960 > URL: https://issues.apache.org/jira/browse/HADOOP-960 > Project: Hadoop > Issue Type: Improvement > Components: documentation > Affects Versions: 0.10.1 > Reporter: Andrew McNabb > Priority: Minor > > This problem happens with hadoop-streaming and possibly elsewhere. If there are 5 input files, it will create 130 map tasks, even if mapred.map.tasks=128. The number of map tasks is incorrectly set to a multiple of the number of files. (I wrote a much more complete bug report, but Jira lost it when it had an error, so I'm not in the mood to write it all again) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.