You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Adam Fuchs (JIRA)" <ji...@apache.org> on 2012/07/05 22:37:34 UTC

[jira] [Resolved] (ACCUMULO-668) first index block reader not closed in RFile

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

Adam Fuchs resolved ACCUMULO-668.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.0
    
> first index block reader not closed in RFile
> --------------------------------------------
>
>                 Key: ACCUMULO-668
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-668
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Adam Fuchs
>            Assignee: Adam Fuchs
>             Fix For: 1.5.0
>
>
> If an RFile is read without index caching, the reader it uses does not get closed. We saw this happen in an RFile unit test, where several Decompressors were not being returned to the CompressorPool. Inside of BCFile.Reader.Reader(...) the cachedDataIndex object never gets closed. The object eventually gets garbage collected, which frees up the resources, but it should be closed to properly return its Decompressor to the pool. This probably has little or no effect on any running instance, but it is nonetheless a bug.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira