hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-12247) Use a user managed connection in TableInputFormat
Date Tue, 14 Oct 2014 18:07:33 GMT

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

stack commented on HBASE-12247:
-------------------------------

bq. I tried using some of the unit tests and a debugger to see where close() is called. I
couldn't seem to get a hit.

In 0.94 code line? Or in trunk?

Yeah, for a  managed connection, no opportunity to 'close'.  Will just 'close' when the jvm
exits.  Make a note this is what is going on.

Anyone else have better idea?

> Use a user managed connection in TableInputFormat
> -------------------------------------------------
>
>                 Key: HBASE-12247
>                 URL: https://issues.apache.org/jira/browse/HBASE-12247
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 0.99.2
>            Reporter: Solomon Duskis
>            Assignee: Solomon Duskis
>
> TableInputFormat uses a new HTable() that manages its own connection.  Switch that use
to a manually created ConnectionFactory and then close it at the end of the operation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message