hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Lowe (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-6261) NullPointerException if MapOutputBuffer.flush invoked twice
Date Tue, 17 Feb 2015 23:02:13 GMT

    [ 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)

Mime
View raw message