You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Dong Li (JIRA)" <ji...@apache.org> on 2016/11/07 16:01:00 UTC
[jira] [Resolved] (KYLIN-2166) Unclosed HBaseAdmin in
StorageCleanupJob#cleanUnusedHBaseTables
[ https://issues.apache.org/jira/browse/KYLIN-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dong Li resolved KYLIN-2166.
----------------------------
Resolution: Fixed
Assignee: Dong Li
Fix Version/s: v1.6.1
> Unclosed HBaseAdmin in StorageCleanupJob#cleanUnusedHBaseTables
> ---------------------------------------------------------------
>
> Key: KYLIN-2166
> URL: https://issues.apache.org/jira/browse/KYLIN-2166
> Project: Kylin
> Issue Type: Bug
> Reporter: Ted Yu
> Assignee: Dong Li
> Priority: Minor
> Fix For: v1.6.1
>
>
> {code}
> HBaseAdmin hbaseAdmin = new HBaseAdmin(conf);
> String tableNamePrefix = IRealizationConstants.SharedHbaseStorageLocationPrefix;
> HTableDescriptor[] tableDescriptors = hbaseAdmin.listTables(tableNamePrefix + ".*");
> {code}
> hbaseAdmin should be closed upon return from the method
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)