hbase-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/HBASE-7435?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lars Hofhansl updated HBASE-7435:
---------------------------------

    Attachment: 7435-0.94.txt

0.94 patch. *Significantly* reduces memory usage of TestHFileBlock.
                
> 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
>
>
> 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