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-11480) ClientScanner might not close the HConnection created in construction
Date Tue, 15 Jul 2014 19:39:05 GMT

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

Hudson commented on HBASE-11480:
--------------------------------

SUCCESS: Integrated in HBase-0.98-on-Hadoop-1.1 #381 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/381/])
HBASE-11480 ClientScanner might not close the HConnection created in construction (cuijianwei)
(stack: rev 790190c2b949af6239d9971a2e002e74760f5bd2)
* hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java


> ClientScanner might not close the HConnection created in construction
> ---------------------------------------------------------------------
>
>                 Key: HBASE-11480
>                 URL: https://issues.apache.org/jira/browse/HBASE-11480
>             Project: HBase
>          Issue Type: Improvement
>          Components: Client, Scanners
>    Affects Versions: 0.96.2, 0.94.20, 0.98.3
>            Reporter: cuijianwei
>            Assignee: cuijianwei
>            Priority: Trivial
>             Fix For: 0.96.3, 0.98.5, 0.94.22
>
>         Attachments: HBASE-11480-0.94-v1.patch, HBASE-11480-0.95-v1.patch, HBASE-11480-0.96-v1.patch,
HBASE-11480-0.98-v1.patch
>
>
> ClientScanner will create HConnection in its construction:
> {code}
>     public ClientScanner(final Configuration conf, final Scan scan,
>         final byte[] tableName) throws IOException {
>       this(conf, scan, tableName, HConnectionManager.getConnection(conf));
>     }
> {code}
> However, this connection won't be closed in ClientScanner.close(). Is it better to deprecate
this construction?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message