From dd52afb4a23614ee12b6155104a4309f38562598 Mon Sep 17 00:00:00 2001 From: Enis Soztutar Date: Fri, 12 Apr 2013 23:11:43 +0000 Subject: [PATCH] HBASE-8300 TestSplitTransaction fails to delete files due to open handles left when region is split (Malie Yin) git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1467512 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java index 8528bd412b1..28279ba7e48 100644 --- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java +++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java @@ -540,6 +540,8 @@ public class HRegionFileSystem { return null; } } + + f.getReader().close(true); Path splitDir = new Path(getSplitsDir(hri), familyName); // A reference to the bottom half of the hsf store file.