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 2016/11/07 15:27:58 UTC
[jira] [Created] (KYLIN-2166) Unclosed HBaseAdmin in
StorageCleanupJob#cleanUnusedHBaseTables
Ted Yu created KYLIN-2166:
-----------------------------
Summary: 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
Priority: Minor
{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)