You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/01/17 04:28:12 UTC

[jira] [Updated] (HBASE-7585) TestAccessController tests should close HTables

     [ https://issues.apache.org/jira/browse/HBASE-7585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Purtell updated HBASE-7585:
----------------------------------

    Attachment: HBASE-7585.patch

Attached patch adds try-finally blocks which close allocated HTables. 

I've also done a bit of reorganization where grants and revocations are done. It facilitated adding try-finally but also is more realistic, because an admin client is likely to connect, change perms, then disconnect, for each set of changes. With these changes the running time of TestAccessController increases from ~60 to ~80 seconds.
                
> TestAccessController tests should close HTables
> -----------------------------------------------
>
>                 Key: HBASE-7585
>                 URL: https://issues.apache.org/jira/browse/HBASE-7585
>             Project: HBase
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.96.0, 0.94.5
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Trivial
>         Attachments: HBASE-7585.patch
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira