[
https://issues.apache.org/jira/browse/HBASE-6829?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458327#comment-13458327
]
Enis Soztutar commented on HBASE-6829:
--------------------------------------
The problem is that HLog is not closed between tests, which causes the deletion
of the log directory to fail.
> [WINDOWS] TestCacheOnWriteInSchema failures
> -------------------------------------------
>
> Key: HBASE-6829
> URL: https://issues.apache.org/jira/browse/HBASE-6829
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.96.0, 0.94.3
> Reporter: Enis Soztutar
> Assignee: Enis Soztutar
> Labels: windows
>
> TestCacheOnWriteInSchema 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