hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From te...@apache.org
Subject hbase git commit: HBASE-13653 Uninitialized HRegionServer#walFactory may result in NullPointerException at region server startup​
Date Sun, 10 May 2015 14:35:44 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 96d0c47aa -> 0347bf8e0


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

Branch: refs/heads/branch-1.1
Commit: 0347bf8e0d08cb77e99a69a18504261e345ae006
Parents: 96d0c47
Author: tedyu <yuzhihong@gmail.com>
Authored: Sun May 10 07:36:35 2015 -0700
Committer: tedyu <yuzhihong@gmail.com>
Committed: Sun May 10 07:36:35 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/0347bf8e/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 bf67e91..bbb6f5b 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
@@ -1536,6 +1536,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