From 7bdacf53f41d7e3c6c6698c5d20fdcebaa10a1bb Mon Sep 17 00:00:00 2001 From: tedyu Date: Sun, 10 May 2015 07:37:07 -0700 Subject: [PATCH] =?UTF-8?q?HBASE-13653=20Uninitialized=20HRegionServer#wal?= =?UTF-8?q?Factory=20may=20result=20in=20NullPointerException=20at=20regio?= =?UTF-8?q?n=20server=20startup=E2=80=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java | 1 + 1 file changed, 1 insertion(+) 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 836ffcf81bd..00daacfa00e 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);