You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Enis Soztutar (JIRA)" <ji...@apache.org> on 2012/11/08 23:12:12 UTC

[jira] [Updated] (HBASE-6823) [WINDOWS] TestSplitTransaction fails due to the Log handle not released by a call to DaughterOpener.start()

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

Enis Soztutar updated HBASE-6823:
---------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I've committed the v2 patch. It is just a rebase of the v1, w/o the imports. Thanks Stack for the review. 
                
> [WINDOWS] TestSplitTransaction fails due to the Log handle not released by a call to DaughterOpener.start()
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-6823
>                 URL: https://issues.apache.org/jira/browse/HBASE-6823
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.94.3, 0.96.0
>            Reporter: Enis Soztutar
>            Assignee: Enis Soztutar
>              Labels: windows
>             Fix For: 0.96.0
>
>         Attachments: hbase-6823_v1-0.94.patch, hbase-6823_v1-trunk.patch, hbase-6823_v2-0.94.patch, hbase-6823_v2-trunk.patch
>
>
> 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