You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Shengping (JIRA)" <ji...@apache.org> on 2017/11/16 03:34:01 UTC

[jira] [Updated] (KYLIN-3039) Unclosed hbaseAdmin in ITAclTableMigrationToolTest

     [ https://issues.apache.org/jira/browse/KYLIN-3039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shengping updated KYLIN-3039:
-----------------------------
    Attachment: KYLIN-3039.patch

Fixed this issue, close the hbaseAdmin upon return

> Unclosed hbaseAdmin in ITAclTableMigrationToolTest
> --------------------------------------------------
>
>                 Key: KYLIN-3039
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3039
>             Project: Kylin
>          Issue Type: Test
>            Reporter: Ted Yu
>            Assignee: Shengping
>            Priority: Minor
>         Attachments: KYLIN-3039.patch
>
>
> Here is related code:
> {code}
>         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 });
> {code}
> hbaseAdmin should be closed upon return.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)