hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rajeshb...@apache.org
Subject [1/2] hbase git commit: HBASE-12696 Possible NPE in HRegionFileSystem#splitStoreFile when skipStoreFileRangeCheck in splitPolicy return true(Rajeshbabu)
Date Tue, 16 Dec 2014 03:29:38 GMT
Repository: hbase
Updated Branches:
  refs/heads/0.98 a5d2abaa9 -> 65f3f42b2
  refs/heads/branch-1 e4ad5581d -> 0a73d4163


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/0a73d416
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/0a73d416
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/0a73d416

Branch: refs/heads/branch-1
Commit: 0a73d41634858bdcf34595a88c8bd48e05fc6357
Parents: e4ad558
Author: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
Authored: Tue Dec 16 08:57:50 2014 +0530
Committer: Rajeshbabu Chintaguntla <rajeshbabu@apache.org>
Committed: Tue Dec 16 08:57:50 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/0a73d416/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 599572e..f682e82 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
@@ -600,7 +600,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