You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Gary Helmling (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/06 08:04:30 UTC

[jira] [Resolved] (HBASE-4545) TestHLog doesn't clean up after itself

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

Gary Helmling resolved HBASE-4545.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.94.0
         Assignee: Gary Helmling
     Hadoop Flags: Reviewed

Committed to trunk.
                
> TestHLog doesn't clean up after itself
> --------------------------------------
>
>                 Key: HBASE-4545
>                 URL: https://issues.apache.org/jira/browse/HBASE-4545
>             Project: HBase
>          Issue Type: Test
>          Components: test
>            Reporter: Gary Helmling
>            Assignee: Gary Helmling
>             Fix For: 0.94.0
>
>         Attachments: HBASE-4545.patch
>
>
> TestHLog has been hanging during shutdown of the mini cluster after all tests are run.  Further investigation shows that there are many places where the TestHLog tests are not cleaning up after themselves.
> Necessary changes are:
> * since all tests use HLog directly, a MiniHBaseCluster is not needed.  The test should only launch a MiniDFSCluster
> * several tests do not close the created HLog at completion
> * the test class should shutdown the mini cluster in an @AfterClass method

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