[
https://issues.apache.org/jira/browse/GORA-459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Yu updated GORA-459:
------------------------
Description:
In HBaseClusterSingleton.java , there're several places where Table instance
returned by HBaseTestingUtility methods (such as createTable) is not closed.
Here is an example from ensureTable() :
{code}
if (!admin.tableExists(tableName)) {
htu.createTable(tableName, cfs);
{code}
was:
In HBaseClusterSingleton.java , there're several places where Table instance
returned by HBaseTestingUtility methods (such as createTable) is not closed.
Here is an example from ensureTable() :
{code}
if (!admin.tableExists(tableName)) {
htu.createTable(tableName, cfs);
{code}
> Resource leak due to unclosed Table
> -----------------------------------
>
> Key: GORA-459
> URL: https://issues.apache.org/jira/browse/GORA-459
> Project: Apache Gora
> Issue Type: Bug
> Reporter: Ted Yu
> Priority: Minor
>
> In HBaseClusterSingleton.java , there're several places where Table instance
> returned by HBaseTestingUtility methods (such as createTable) is not closed.
> Here is an example from ensureTable() :
> {code}
> if (!admin.tableExists(tableName)) {
> htu.createTable(tableName, cfs);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)