HBASE-13653 Uninitialized HRegionServer#walFactory may result in NullPointerException at region server startup
This commit is contained in:
parent
5a2ca43fa1
commit
7bdacf53f4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue