accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Fuchs (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ACCUMULO-668) first index block reader not closed in RFile
Date Thu, 05 Jul 2012 20:37:34 GMT

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

Adam Fuchs reassigned ACCUMULO-668:
-----------------------------------

    Assignee: Adam Fuchs
    
> 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

        

Mime
View raw message