hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10330) TableInputFormat/TableRecordReaderImpl leaks HTable
Date Mon, 13 Jan 2014 18:00:59 GMT

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

Andrew Purtell updated HBASE-10330:
-----------------------------------

    Fix Version/s: 0.99.0
                   0.96.2
                   0.98.0

Seems like it would have a straightforward fix. 

> TableInputFormat/TableRecordReaderImpl leaks HTable
> ---------------------------------------------------
>
>                 Key: HBASE-10330
>                 URL: https://issues.apache.org/jira/browse/HBASE-10330
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.96.0
>            Reporter: G G
>            Priority: Critical
>             Fix For: 0.98.0, 0.96.2, 0.99.0
>
>
> As far as I can tell, TableInputFormat creates an instance of HTable which is used by
TableRecordReaderImpl. However TableRecordReaderImpl.close() only closes the scanner, not
the table. In turn the HTable's HConnection's reference count is never decreased which leads
to leaking HConnections.
> TableOutputFormat might have a similar bug.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message