hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmhs...@apache.org
Subject [10/50] [abbrv] hbase git commit: HBASE-13653 Uninitialized HRegionServer#walFactory may result in NullPointerException at region server startup​
Date Wed, 20 May 2015 15:25:23 GMT
HBASE-13653 Uninitialized HRegionServer#walFactory may result in NullPointerException at region
server startup​


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

Branch: refs/heads/hbase-11339
Commit: 7bdacf53f41d7e3c6c6698c5d20fdcebaa10a1bb
Parents: 5a2ca43
Author: tedyu <yuzhihong@gmail.com>
Authored: Sun May 10 07:37:07 2015 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Sun May 10 07:37:07 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/hbase/blob/7bdacf53/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
index 836ffcf..00daacf 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java
@@ -1508,6 +1508,7 @@ public class RSRpcServices implements HBaseRPCErrorHandler,
     WarmupRegionResponse response = WarmupRegionResponse.getDefaultInstance();
 
     try {
+      checkOpen();
       String encodedName = region.getEncodedName();
       byte[] encodedNameBytes = region.getEncodedNameAsBytes();
       final Region onlineRegion = regionServer.getFromOnlineRegions(encodedName);


Mime
View raw message