[
https://issues.apache.org/jira/browse/HADOOP-9171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552347#comment-13552347
]
Andrew Purtell commented on HADOOP-9171:
----------------------------------------
Calling end() potentially more than once on a zlib compressor or decompressor
is safe. For Snappy and LZ4 it's a no-op. The dummy decompressor for BZIP2 will
throw an UnsupportedOperationException. Catch that just in case?
> Release resources of unpoolable Decompressors
> ---------------------------------------------
>
> Key: HADOOP-9171
> URL: https://issues.apache.org/jira/browse/HADOOP-9171
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Lars Hofhansl
> Assignee: Lars Hofhansl
> Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HDFS-4345.txt
>
>
> Found this when looking into HBASE-7435.
> When a Decompressor is returned to the pool in CodecPool.java, we should
> probably call end() on it to release its resources.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira