You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2014/07/15 19:14:00 UTC
git commit: HBASE-11480 ClientScanner might not close the HConnection
created in construction (cuijianwei)
Repository: hbase
Updated Branches:
refs/heads/0.98 ed1a7896e -> 790190c2b
HBASE-11480 ClientScanner might not close the HConnection created in construction (cuijianwei)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/790190c2
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/790190c2
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/790190c2
Branch: refs/heads/0.98
Commit: 790190c2b949af6239d9971a2e002e74760f5bd2
Parents: ed1a789
Author: stack <st...@apache.org>
Authored: Tue Jul 15 10:13:48 2014 -0700
Committer: stack <st...@apache.org>
Committed: Tue Jul 15 10:13:48 2014 -0700
----------------------------------------------------------------------
.../src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/790190c2/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java
index a5edd86..2cfc6b6 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ClientScanner.java
@@ -79,6 +79,7 @@ public class ClientScanner extends AbstractClientScanner {
* @param tableName The table that we wish to scan
* @throws IOException
*/
+ @Deprecated
public ClientScanner(final Configuration conf, final Scan scan,
final TableName tableName) throws IOException {
this(conf, scan, tableName, HConnectionManager.getConnection(conf));