hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Yu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5051) HBaseTestingUtility#getHBaseAdmin() creates a new HBaseAdmin instance at each call
Date Fri, 16 Dec 2011 18:18:31 GMT

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

Zhihong Yu commented on HBASE-5051:
-----------------------------------

Integrated to TRUNK.

Thanks for the patch, N.
                
> HBaseTestingUtility#getHBaseAdmin() creates a new HBaseAdmin instance at each call
> ----------------------------------------------------------------------------------
>
>                 Key: HBASE-5051
>                 URL: https://issues.apache.org/jira/browse/HBASE-5051
>             Project: HBase
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 0.94.0
>            Reporter: nkeywal
>            Assignee: nkeywal
>            Priority: Minor
>         Attachments: 5051.patch
>
>
> As it's a new instance, it should be closed. As the function name seems to imply that
it's an instance managed by HBaseTestingUtility, most of the users don't close it => leak

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message