Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 74120 invoked from network); 22 Dec 2007 06:41:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Dec 2007 06:41:07 -0000 Received: (qmail 14479 invoked by uid 500); 22 Dec 2007 06:40:55 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 14455 invoked by uid 500); 22 Dec 2007 06:40:55 -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 14446 invoked by uid 99); 22 Dec 2007 06:40:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Dec 2007 22:40:55 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED 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; Sat, 22 Dec 2007 06:40:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 2C50B714045 for ; Fri, 21 Dec 2007 22:40:43 -0800 (PST) Message-ID: <6080646.1198305643178.JavaMail.jira@brutus> Date: Fri, 21 Dec 2007 22:40:43 -0800 (PST) From: "Koji Noguchi (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Created: (HADOOP-2486) Dropping records at reducer. InMemoryFileSystem NPE. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Dropping records at reducer. InMemoryFileSystem NPE. ----------------------------------------------------- Key: HADOOP-2486 URL: https://issues.apache.org/jira/browse/HADOOP-2486 Project: Hadoop Issue Type: Bug Components: mapred Affects Versions: 0.14.3 Reporter: Koji Noguchi Note: I'm really not sure if this is a bug in my code or in mapred. With my mapreduce job without combiner, I sometimes see # of total Map output records != # of total Reduce input records. What's weird to me is, when I rerun my code with exact same input, usually I get an expected #map output recs == #reduce output recs. Both jobs finish successfully. No failed tasks. No speculative execution. I ran separate linecount mapred jobs on both the input and the output to see if the counters are reporting the correct number. When I looked at all the 513 reducer counter, I found single reducer with different counts for the two runs. Only error stood out in that reducer userlog is, {noformat} 2007-12-22 00:19:07,640 INFO org.apache.hadoop.mapred.ReduceTask: task_200712220008_0003_r_000024_0 done copying task_200712220008_0003_m_000288_0 output from qqq856.ppp.com. 2007-12-22 00:19:07,640 INFO org.apache.hadoop.mapred.ReduceTask: task_200712220008_0003_r_000024_0 Copying task_200712220008_0003_m_000327_0 output from qqq887.ppp.com. 2007-12-22 00:19:07,640 ERROR org.apache.hadoop.mapred.ReduceTask: Map output copy failure: java.lang.NullPointerException at org.apache.hadoop.fs.InMemoryFileSystem$RawInMemoryFileSystem$FileAttributes.access$300(InMemoryFileSystem.java:366) at org.apache.hadoop.fs.InMemoryFileSystem$RawInMemoryFileSystem$InMemoryFileStatus.(InMemoryFileSystem.java:380) at org.apache.hadoop.fs.InMemoryFileSystem$RawInMemoryFileSystem.getFileStatus(InMemoryFileSystem.java:283) at org.apache.hadoop.fs.FileSystem.isDirectory(FileSystem.java:423) at org.apache.hadoop.fs.ChecksumFileSystem.rename(ChecksumFileSystem.java:386) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.copyOutput(ReduceTask.java:716) at org.apache.hadoop.mapred.ReduceTask$ReduceCopier$MapOutputCopier.run(ReduceTask.java:637) 2007-12-22 00:19:07,641 INFO org.apache.hadoop.mapred.ReduceTask: task_200712220008_0003_r_000024_0 done copying task_200712220008_0003_m_000228_0 output from qqq801.ppp.com. 2007-12-22 00:19:07,641 INFO org.apache.hadoop.mapred.ReduceTask: task_200712220008_0003_r_000024_0 Copying task_200712220008_0003_m_000337_0 output from qqq841.ppp.com. {noformat} Could this error be somehow related to my having different # of records? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.