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