hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syuanji...@apache.org
Subject [44/50] [abbrv] hbase git commit: HBASE-16389 Thread leak in CoprocessorHost#getTable(TableName) API (Ankit Singhal)
Date Wed, 17 Aug 2016 18:34:50 GMT
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 <yuzhihong@gmail.com>
Authored: Wed Aug 10 19:58:13 2016 -0700
Committer: tedyu <yuzhihong@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);
     }
 
     /**


Mime
View raw message