hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10330) TableInputFormat/TableRecordReaderImpl leaks HTable
Date Fri, 27 Jun 2014 21:41:25 GMT

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

Ted Yu commented on HBASE-10330:
--------------------------------

QA bot is blocked by compilation issue.
Test suite passed on Linux:
{code}
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building HBase - Assembly 0.99.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-remote-resources-plugin:1.4:process (default) @ hbase-assembly ---
[INFO]
[INFO] --- maven-dependency-plugin:2.8:build-classpath (create-hbase-generated-classpath)
@ hbase-assembly ---
[INFO] Wrote classpath file '/homes/hortonzy/trunk/target/cached_classpath.txt'.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] HBase ............................................. SUCCESS [1.789s]
[INFO] HBase - Common .................................... SUCCESS [30.709s]
[INFO] HBase - Protocol .................................. SUCCESS [0.272s]
[INFO] HBase - Client .................................... SUCCESS [47.358s]
[INFO] HBase - Hadoop Compatibility ...................... SUCCESS [5.062s]
[INFO] HBase - Hadoop Two Compatibility .................. SUCCESS [1.462s]
[INFO] HBase - Prefix Tree ............................... SUCCESS [2.550s]
[INFO] HBase - Server .................................... SUCCESS [1:22:00.851s]
[INFO] HBase - Testing Util .............................. SUCCESS [1.310s]
[INFO] HBase - Thrift .................................... SUCCESS [2:03.932s]
[INFO] HBase - Shell ..................................... SUCCESS [1:45.499s]
[INFO] HBase - Integration Tests ......................... SUCCESS [0.877s]
[INFO] HBase - Examples .................................. SUCCESS [5.575s]
[INFO] HBase - Assembly .................................. SUCCESS [0.913s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1:27:28.965s
[INFO] Finished at: Fri Jun 27 21:39:30 UTC 2014
[INFO] Final Memory: 49M/432M
{code}

> 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