hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7585) TestAccessController tests should close HTables
Date Thu, 17 Jan 2013 03:28:12 GMT

     [ 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

View raw message