hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject svn commit: r1467513 - /hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
Date Fri, 12 Apr 2013 23:12:10 GMT
Author: enis
Date: Fri Apr 12 23:12:09 2013
New Revision: 1467513

URL: http://svn.apache.org/r1467513
Log:
HBASE-8300 TestSplitTransaction fails to delete files due to open handles left when region
is split (Malie Yin)

Modified:
    hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java

Modified: hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java?rev=1467513&r1=1467512&r2=1467513&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
(original)
+++ hbase/branches/0.95/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
Fri Apr 12 23:12:09 2013
@@ -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.



Mime
View raw message