Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 89165 invoked from network); 11 Jun 2010 11:42:36 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Jun 2010 11:42:36 -0000 Received: (qmail 9983 invoked by uid 500); 11 Jun 2010 11:42:36 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 9932 invoked by uid 500); 11 Jun 2010 11:42:36 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 9924 invoked by uid 99); 11 Jun 2010 11:42:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 11:42:35 +0000 X-ASF-Spam-Status: No, hits=-1513.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jun 2010 11:42:35 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o5BBgFAK012267 for ; Fri, 11 Jun 2010 11:42:15 GMT Message-ID: <6111591.43451276256535171.JavaMail.jira@thor> Date: Fri, 11 Jun 2010 07:42:15 -0400 (EDT) From: "Vinod K V (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-1813) NPE in PipeMapred.MRErrorThread In-Reply-To: <33415169.29521274774846932.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAPREDUCE-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vinod K V updated MAPREDUCE-1813: --------------------------------- Status: Resolved (was: Patch Available) Release Note: Fixed an NPE in streaming that occurs when there is no input to reduce and the streaming reducer sends status updates by writing "reporter:status: xxx" statements to stderr. Resolution: Fixed I just committed this to trunk. Thanks Ravi! > NPE in PipeMapred.MRErrorThread > ------------------------------- > > Key: MAPREDUCE-1813 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1813 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: contrib/streaming > Affects Versions: 0.20.1 > Reporter: Amareshwari Sriramadasu > Assignee: Ravi Gummadi > Fix For: 0.22.0 > > Attachments: 1813.patch, 1813.v1.2.patch, 1813.v1.3.patch, 1813.v1.4.patch, 1813.v1.patch > > > Some reduce tasks fail with following NPE > java.lang.RuntimeException: java.lang.NullPointerException > at org.apache.hadoop.streaming.PipeMapRed.waitOutputThreads(PipeMapRed.java:325) > at org.apache.hadoop.streaming.PipeMapRed.mapRedFinished(PipeMapRed.java:540) > at org.apache.hadoop.streaming.PipeReducer.close(PipeReducer.java:137) > at org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:474) > at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:412) > at org.apache.hadoop.mapred.Child.main(Child.java:159) > Caused by: java.lang.NullPointerException > at org.apache.hadoop.streaming.PipeMapRed$MRErrorThread.setStatus(PipeMapRed.java:517) > at org.apache.hadoop.streaming.PipeMapRed$MRErrorThread.run(PipeMapRed.java:449) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.