You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2017/11/16 05:54:53 UTC

kylin git commit: KYLIN-3039 closed hbaseAdmin in ITAclTableMigrationToolTest

Repository: kylin
Updated Branches:
  refs/heads/master 8527ede03 -> 2df2bcb67


KYLIN-3039 closed hbaseAdmin in ITAclTableMigrationToolTest

Signed-off-by: lidongsjtu <li...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/2df2bcb6
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/2df2bcb6
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/2df2bcb6

Branch: refs/heads/master
Commit: 2df2bcb67c1f130ae81ca1742176a8effd0b7732
Parents: 8527ede
Author: liveandevil <13...@qq.com>
Authored: Wed Nov 15 22:25:28 2017 +0800
Committer: lidongsjtu <li...@apache.org>
Committed: Thu Nov 16 13:34:36 2017 +0800

----------------------------------------------------------------------
 .../apache/kylin/storage/hbase/ITAclTableMigrationToolTest.java    | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/2df2bcb6/kylin-it/src/test/java/org/apache/kylin/storage/hbase/ITAclTableMigrationToolTest.java
----------------------------------------------------------------------
diff --git a/kylin-it/src/test/java/org/apache/kylin/storage/hbase/ITAclTableMigrationToolTest.java b/kylin-it/src/test/java/org/apache/kylin/storage/hbase/ITAclTableMigrationToolTest.java
index 05f437d..78c30c3 100644
--- a/kylin-it/src/test/java/org/apache/kylin/storage/hbase/ITAclTableMigrationToolTest.java
+++ b/kylin-it/src/test/java/org/apache/kylin/storage/hbase/ITAclTableMigrationToolTest.java
@@ -128,6 +128,7 @@ public class ITAclTableMigrationToolTest extends HBaseMetadataTestCase {
         Admin hbaseAdmin = new HBaseAdmin(conf);
         creatTable(hbaseAdmin, conf, aclTable, new String[] { AclConstant.ACL_INFO_FAMILY, AclConstant.ACL_ACES_FAMILY });
         creatTable(hbaseAdmin, conf, userTable, new String[] { AclConstant.USER_AUTHORITY_FAMILY });
+        hbaseAdmin.close();
     }
 
     private void addRecordsToTable() throws Exception {
@@ -170,6 +171,7 @@ public class ITAclTableMigrationToolTest extends HBaseMetadataTestCase {
                 hbaseAdmin.disableTable(userTable);
             hbaseAdmin.deleteTable(userTable);
         }
+        hbaseAdmin.close();
     }
 
     private void creatTable(Admin admin, Configuration conf, TableName tableName, String[] family) throws IOException {