hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9171) Release resources of unpoolable Decompressors
Date Sun, 13 Jan 2013 23:04:13 GMT

    [ 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

View raw message