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)