[
https://issues.apache.org/jira/browse/MAPREDUCE-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14208695#comment-14208695
]
Ravi Prakash commented on MAPREDUCE-5918:
-----------------------------------------
Thanks Sergey!
A small nit is please explicitly specify your imports. Otherwise the patch
looks good to me. Could you please also merge in the changes to
LineRecordReader that you had posted in the previous patch. A single patch with
both of these changes would be great and I'll be happy to commit it.
> LineRecordReader can return the same decompressor to CodecPool multiple times
> -----------------------------------------------------------------------------
>
> Key: MAPREDUCE-5918
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5918
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Affects Versions: 2.3.0
> Reporter: Sergey Murylev
> Assignee: Sergey Murylev
> Fix For: trunk
>
> Attachments: MAPREDUCE-5918.1.patch, MAPREDUCE-5918.2.patch,
> MAPREDUCE-5918.3.patch
>
>
> LineRecordReader can return the same decompressor to CodecPool multiple times
> if method close() called multiple times. In this case CodecPool doesn't
> guarantee that it always return different decompressors. This issue can cause
> some difficult reproducible and difficult diagnosable bugs in Hadoop based
> programs.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)