From 5ab2df8c17aa3541012116bdb37dcf0628e825dd Mon Sep 17 00:00:00 2001 From: Albert Lee Date: Thu, 20 Apr 2017 23:56:40 +0800 Subject: [PATCH 4/4] Add unit test of this patch --- .../java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java | 1 - 1 file changed, 1 deletion(-) diff --git a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java index 6e96b19..cac141c 100644 --- a/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java +++ b/hbase-thrift/src/main/java/org/apache/hadoop/hbase/thrift2/ThriftHBaseServiceHandler.java @@ -146,7 +146,6 @@ public class ThriftHBaseServiceHandler implements THBaseService.Iface { HTablePool pool = (HTablePool)removal.getValue(); try { pool.close(); - ThriftHBaseServiceHandler.LOG.info("Close HTablePool successed!"); } catch (IOException ex) { ThriftHBaseServiceHandler.LOG.error("Failed to close HTablePool for user=" + (String)removal.getKey(), ex); } -- 2.4.9 (Apple Git-60)