hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajeshb...@apache.org
Subject hbase git commit: HBASE-12696 Possible NPE in HRegionFileSystem#splitStoreFile when skipStoreFileRangeCheck in splitPolicy return true(Rajeshbabu)
Date Tue, 16 Dec 2014 03:08:41 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 110c5f593 -> 96c6b9815


HBASE-12696 Possible NPE in HRegionFileSystem#splitStoreFile when skipStoreFileRangeCheck
in splitPolicy return true(Rajeshbabu)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/96c6b981
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/96c6b981
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/96c6b981

Branch: refs/heads/master
Commit: 96c6b9815ddbc9f2589655df4ad2381af04ac9f8
Parents: 110c5f5
Author: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
Authored: Tue Dec 16 08:38:15 2014 +0530
Committer: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
Committed: Tue Dec 16 08:38:15 2014 +0530

----------------------------------------------------------------------
 .../org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/96c6b981/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
----------------------------------------------------------------------
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 b6beab3..0751634 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
@@ -601,7 +601,7 @@ public class HRegionFileSystem {
       }
     }
 
-    f.getReader().close(true);
+    f.closeReader(true);
 
     Path splitDir = new Path(getSplitsDir(hri), familyName);
     // A reference to the bottom half of the hsf store file.


Mime
View raw message