Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0DA44DF95 for ; Thu, 8 Nov 2012 22:12:13 +0000 (UTC) Received: (qmail 62099 invoked by uid 500); 8 Nov 2012 22:12:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 62049 invoked by uid 500); 8 Nov 2012 22:12:12 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 61963 invoked by uid 99); 8 Nov 2012 22:12:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 22:12:12 +0000 Date: Thu, 8 Nov 2012 22:12:12 +0000 (UTC) From: "Enis Soztutar (JIRA)" To: issues@hbase.apache.org Message-ID: <867941248.89155.1352412732699.JavaMail.jiratomcat@arcas> In-Reply-To: <500237049.95302.1348012927697.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HBASE-6823) [WINDOWS] TestSplitTransaction fails due to the Log handle not released by a call to DaughterOpener.start() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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