You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/05/19 16:07:04 UTC

[jira] [Updated] (KYLIN-2611) Unclosed HBaseAdmin in AclTableMigrationTool#checkTableExist

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

Ted Yu updated KYLIN-2611:
--------------------------
    Description: 
Here is related code:

{code}
        Admin hbaseAdmin = new HBaseAdmin(conf);
        return hbaseAdmin.tableExists(TableName.valueOf(tableName));
{code}
hbaseAdmin should be closed upon return.

  was:
Here is related code:
{code}
        Admin hbaseAdmin = new HBaseAdmin(conf);
        return hbaseAdmin.tableExists(TableName.valueOf(tableName));
{code}
hbaseAdmin should be closed upon return.


> Unclosed HBaseAdmin in AclTableMigrationTool#checkTableExist
> ------------------------------------------------------------
>
>                 Key: KYLIN-2611
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2611
>             Project: Kylin
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Priority: Minor
>
> Here is related code:
> {code}
>         Admin hbaseAdmin = new HBaseAdmin(conf);
>         return hbaseAdmin.tableExists(TableName.valueOf(tableName));
> {code}
> hbaseAdmin should be closed upon return.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)