hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7435) BuiltInGzipDecompressor is only released during full GC
Date Tue, 25 Dec 2012 10:10:17 GMT

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

Ted Yu commented on HBASE-7435:
-------------------------------

+1 on patch. 
                
> BuiltInGzipDecompressor is only released during full GC
> -------------------------------------------------------
>
>                 Key: HBASE-7435
>                 URL: https://issues.apache.org/jira/browse/HBASE-7435
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Lars Hofhansl
>             Fix For: 0.96.0, 0.94.4
>
>         Attachments: 7435-0.94.txt, 7435-0.96.txt
>
>
> That seems to be bug in Hadoop, actually.
> BuiltInGzipDecompressor.end() needs to be called to release it's resource, but it is
not called anywhere in CodecPool.
> Instead the end() is called by finalize(), which is only called during a full gc (or
never, depending on JVM).
> This is only an issue in test. In real life most folks will have the native GzipDecompressor

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

Mime
View raw message