Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 58216 invoked from network); 13 Oct 2008 22:44:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Oct 2008 22:44:36 -0000 Received: (qmail 58686 invoked by uid 500); 13 Oct 2008 22:44:35 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 58649 invoked by uid 500); 13 Oct 2008 22:44:35 -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 58638 invoked by uid 99); 13 Oct 2008 22:44:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 15:44:35 -0700 X-ASF-Spam-Status: No, hits=-1998.5 required=10.0 tests=ALL_TRUSTED,WEIRD_PORT 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; Mon, 13 Oct 2008 22:43:37 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4C439234C21B for ; Mon, 13 Oct 2008 15:43:44 -0700 (PDT) Message-ID: <270543283.1223937824311.JavaMail.jira@brutus> Date: Mon, 13 Oct 2008 15:43:44 -0700 (PDT) From: "Robert Chansler (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Resolved: (HADOOP-4362) Hadoop Streaming failed with large number of input files In-Reply-To: <1836751653.1223371304186.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-4362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Chansler resolved HADOOP-4362. ------------------------------------- Resolution: Duplicate There seems to be general agreement that these issues are related. > Hadoop Streaming failed with large number of input files > -------------------------------------------------------- > > Key: HADOOP-4362 > URL: https://issues.apache.org/jira/browse/HADOOP-4362 > Project: Hadoop Core > Issue Type: Bug > Components: dfs > Affects Versions: 0.18.1 > Reporter: Peeyush Bishnoi > Assignee: Robert Chansler > Priority: Blocker > Fix For: 0.18.2, 0.19.0 > > > Simple job failed with "java.lang.ArrayIndexOutOfBoundsException" when the mapper is /bin/cat and the number of input files is large. > $ hadoop jar $HADOOP_HOME/hadoop-streaming.jar -input in_data -output op_data -mapper /bin/cat -reducer NONE > additionalConfSpec_:null > null=@@@userJobConfProps_.get(stream.shipped.hadoopstreaming > packageJobJar: [/tmp/hadoop-unjar49637/] [] > /tmp/streamjob49638.jar tmpDir=/tmp > 08/10/07 07:03:09 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should > implement Tool for the same. > 08/10/07 07:03:11 INFO mapred.FileInputFormat: Total input paths to process : 16365 > 08/10/07 07:03:12 INFO mapred.FileInputFormat: Total input paths to process : 16365 > 08/10/07 07:03:15 ERROR streaming.StreamJob: Error Launching job : java.io.IOException: > java.lang.ArrayIndexOutOfBoundsException > Streaming Job Failed! > But when the input number of files are less job does not fail . > $ hadoop jar $HADOOP_HOME/hadoop-streaming.jar -input inp_data1 -output op_data1 -mapper /bin/cat -reducer NONE > additionalConfSpec_:null > null=@@@userJobConfProps_.get(stream.shipped.hadoopstreaming > packageJobJar: [/tmp/hadoop-unjar3725/] [] > /tmp/streamjob3726.jar tmpDir=/tmp > 08/10/07 07:06:37 WARN mapred.JobClient: Use GenericOptionsParser for parsing the arguments. Applications should > implement Tool for the same. > 08/10/07 07:06:39 INFO mapred.FileInputFormat: Total input paths to process : 16 > 08/10/07 07:06:39 INFO mapred.FileInputFormat: Total input paths to process : 16 > 08/10/07 07:06:42 INFO streaming.StreamJob: getLocalDirs(): > [/var/mapred/local] > 08/10/07 07:06:42 INFO streaming.StreamJob: Running job: job_200810070645_0006 > 08/10/07 07:06:42 INFO streaming.StreamJob: To kill this job, run: > 08/10/07 07:06:42 INFO streaming.StreamJob: hadoop job -Dmapred.job.tracker=login1:51981 -kill job_200810070645_0006 > 08/10/07 07:06:42 INFO streaming.StreamJob: Tracking URL: http://login1:52941/jobdetails.jsp?jobid=job_200810070645_0006 > 08/10/07 07:06:43 INFO streaming.StreamJob: map 0% reduce 0% > 08/10/07 07:06:46 INFO streaming.StreamJob: map 44% reduce 0% > 08/10/07 07:06:47 INFO streaming.StreamJob: map 75% reduce 0% > 08/10/07 07:06:48 INFO streaming.StreamJob: map 88% reduce 0% > 08/10/07 07:06:49 INFO streaming.StreamJob: map 100% reduce 100% > 08/10/07 07:06:49 INFO streaming.StreamJob: Job complete: job_200810070645_0006 > 08/10/07 07:06:49 INFO streaming.StreamJob: Output: op_data1 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.