Enis Soztutar created HBASE-6823:
------------------------------------
Summary: [WINDOWS] TestSplitTransaction fails due the Log handle
is not released by a call to the DaughterOpener.start()
Key: HBASE-6823
URL: https://issues.apache.org/jira/browse/HBASE-6823
Project: HBase
Issue Type: Bug
Affects Versions: 0.96.0, 0.94.3
Reporter: Enis Soztutar
Assignee: Enis Soztutar
There are two unit test cases in HBase RegionServer test failed in the clean up
stage that failed to delete the files/folders created in the test.
testWholesomeSplit(org.apache.hadoop.hbase.regionserver.TestSplitTransaction):
Failed delete of ./target/test-
data/1c386abc-f159-492e-b21f-e89fab24d85b/org.apache.hadoop.hbase.regionserver.TestSplitTransaction/table/a588d813fd26280c2b42e93565ed960c
testRollback(org.apache.hadoop.hbase.regionserver.TestSplitTransaction): Failed
delete of ./target/test-data/6
1a1a14b-0cc9-4dd6-93fd-4dc021e2bfcc/org.apache.hadoop.hbase.regionserver.TestSplitTransaction/table/8090abc89528461fa284288c257662cd
The root cause is triggered by ta call to the DaughterOpener.start() in
\src\hbase\src\main\java\org\apache\hadoop\hbase\regionserver\SplitTransactopn.Java
(openDaughters() function). It left handles to the splited folder/file and
causing deleting of the file/folder failed in the Windows OS.
Windows does not allow to delete a file, while there are open file handlers.
--
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