hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6829) [WINDOWS] Tests should ensure that HLog is closed
Date Thu, 27 Sep 2012 19:09:09 GMT

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

stack commented on HBASE-6829:

Patch looks a little brittle.  We seem to depend on there forever being one test only in here
that uses the new hlog and region data members.  The new data members are initialized in a
test but closed in the @After.  At least test hlog and region datamembers are non-null?  
 Should the regions and hlog be made in a @Before?
> [WINDOWS] Tests should ensure that HLog is closed
> -------------------------------------------------
>                 Key: HBASE-6829
>                 URL: https://issues.apache.org/jira/browse/HBASE-6829
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.3, 0.96.0
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>              Labels: windows
>         Attachments: hbase-6829_v1-0.94.patch, hbase-6829_v1-trunk.patch, hbase-6829_v2-0.94.patch,
> TestCacheOnWriteInSchema and TestCompactSelection fails with 
> {code}
> java.io.IOException: Target HLog directory already exists: ./target/test-data/2d814e66-75d3-4c1b-92c7-a49d9972e8fd/TestCacheOnWriteInSchema/logs
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.<init>(HLog.java:385)
> 	at org.apache.hadoop.hbase.regionserver.wal.HLog.<init>(HLog.java:316)
> 	at org.apache.hadoop.hbase.regionserver.TestCacheOnWriteInSchema.setUp(TestCacheOnWriteInSchema.java:162)
> {code}

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