[ 
https://issues.apache.org/jira/browse/GORA-459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15103969#comment-15103969
 ] 

ASF GitHub Bot commented on GORA-459:
-------------------------------------

GitHub user renato2099 opened a pull request:

    https://github.com/apache/gora/pull/51

    GORA-459

    Fixing HBaseClusterSingleton.java unclosed resources returned from 
HBaseTestingUtility

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/renato2099/gora GORA-459

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/gora/pull/51.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #51
    
----
commit b5792a90da4625680367b04f72edad6b6686cb85
Author: Renato Marroquin <[email protected]>
Date:   2016-01-17T23:08:26Z

    GORA-459

----


> 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)

Reply via email to