You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by sy...@apache.org on 2016/08/17 18:34:50 UTC
[44/50] [abbrv] hbase git commit: HBASE-16389 Thread leak in
CoprocessorHost#getTable(TableName) API (Ankit Singhal)
HBASE-16389 Thread leak in CoprocessorHost#getTable(TableName) API (Ankit Singhal)
Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/9e116e04
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/9e116e04
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/9e116e04
Branch: refs/heads/hbase-12439
Commit: 9e116e048b91ee2fef056e4140cb4091a7fd8425
Parents: 7e32510
Author: tedyu <yu...@gmail.com>
Authored: Wed Aug 10 19:58:13 2016 -0700
Committer: tedyu <yu...@gmail.com>
Committed: Wed Aug 10 19:58:13 2016 -0700
----------------------------------------------------------------------
.../java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hbase/blob/9e116e04/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
index 37c344b..993fa16 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/coprocessor/CoprocessorHost.java
@@ -540,7 +540,7 @@ public abstract class CoprocessorHost<E extends CoprocessorEnvironment> {
*/
@Override
public Table getTable(TableName tableName) throws IOException {
- return this.getTable(tableName, HTable.getDefaultExecutor(getConfiguration()));
+ return this.getTable(tableName, null);
}
/**