Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 23810 invoked from network); 5 Apr 2010 06:05:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 Apr 2010 06:05:52 -0000 Received: (qmail 25999 invoked by uid 500); 5 Apr 2010 06:05:52 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 25912 invoked by uid 500); 5 Apr 2010 06:05:51 -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 25904 invoked by uid 99); 5 Apr 2010 06:05:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Apr 2010 06:05:50 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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, 05 Apr 2010 06:05:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3E142234C4A8 for ; Mon, 5 Apr 2010 06:05:27 +0000 (UTC) Message-ID: <714283335.683251270447527253.JavaMail.jira@brutus.apache.org> Date: Mon, 5 Apr 2010 06:05:27 +0000 (UTC) From: "Ruyue Ma (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (MAPREDUCE-1555) Maybe some code of MapTask is wrong. In-Reply-To: <1757512383.39731267636827270.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-1555?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12853315#action_12853315 ] Ruyue Ma commented on MAPREDUCE-1555: ------------------------------------- To: Amareshwari Sriramadasu Our solution is the same with yours. We nullify the splitMetaInfo until we ensure that the HeartbeatResponse is not re-sent. > Maybe some code of MapTask is wrong. > ------------------------------------ > > Key: MAPREDUCE-1555 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-1555 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: task > Reporter: Ruyue Ma > > {code:title=MapTask.java|borderStyle=solid} > public void write(DataOutput out) throws IOException { > super.write(out); > if (isMapOrReduce()) { > splitMetaInfo.write(out); > splitMetaInfo = null; // HERE: why set null ?????? > } > } > {code} > In above code, if the splitMetaInfo is set null, Second Serialization (will invoke write) will throw NullPointerException. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.