Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 75D1610922 for ; Tue, 17 Feb 2015 23:02:17 +0000 (UTC) Received: (qmail 90715 invoked by uid 500); 17 Feb 2015 23:02:13 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 90618 invoked by uid 500); 17 Feb 2015 23:02:13 -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 90444 invoked by uid 99); 17 Feb 2015 23:02:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2015 23:02:13 +0000 Date: Tue, 17 Feb 2015 23:02:13 +0000 (UTC) From: "Jason Lowe (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAPREDUCE-6261) NullPointerException if MapOutputBuffer.flush invoked twice 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-6261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14325075#comment-14325075 ] Jason Lowe commented on MAPREDUCE-6261: --------------------------------------- Thanks for the patch, Tsuyoshi! Minor nit: "Skipping to flush." should be "Skipping flush." Other than that patch looks good. > NullPointerException if MapOutputBuffer.flush invoked twice > ----------------------------------------------------------- > > Key: MAPREDUCE-6261 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6261 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: mrv2 > Affects Versions: 2.5.0 > Reporter: Jason Lowe > Attachments: MAPREDUCE-6261.1.patch > > > MapOutputBuffer.flush will throw an NPE if it is invoked twice, since it blindly assumes kvbuffer is not null yet sets kvbuffer to null towards the end of the method. -- This message was sent by Atlassian JIRA (v6.3.4#6332)