You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Sergey Murylev (JIRA)" <ji...@apache.org> on 2014/11/10 09:44:34 UTC

[jira] [Commented] (MAPREDUCE-5918) LineRecordReader can return the same decompressor to CodecPool multiple times

    [ https://issues.apache.org/jira/browse/MAPREDUCE-5918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204512#comment-14204512 ] 

Sergey Murylev commented on MAPREDUCE-5918:
-------------------------------------------

Hi Ravi, 
Should I make changes in CodecPool to prevent such bugs in scope of this ticket or I should create new ticket for this?

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