hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10330) TableInputFormat/TableRecordReaderImpl leaks HTable
Date Sat, 28 Jun 2014 02:47:25 GMT

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

Hudson commented on HBASE-10330:
--------------------------------

SUCCESS: Integrated in HBase-0.98 #362 (See [https://builds.apache.org/job/HBase-0.98/362/])
HBASE-10330 TableInputFormat/TableRecordReaderImpl leaks HTable (tedyu: rev 52967c6e74a855fc981b6901c0dd89c72a68eb69)
* hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/TableRecordReaderImpl.java
* hbase-server/src/main/java/org/apache/hadoop/hbase/mapred/TableRecordReaderImpl.java


> 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
>            Assignee: Ted Yu
>            Priority: Blocker
>             Fix For: 0.99.0, 0.98.4
>
>         Attachments: 10330-v1.txt
>
>
> 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.2#6252)

Mime
View raw message