HBASE-16359 NullPointerException in RSRpcServices.openRegion()
This commit is contained in:
parent
c9f84e8137
commit
5e23b3aad5
|
@ -1741,6 +1741,9 @@ public class RSRpcServices implements HBaseRPCErrorHandler,
|
|||
} else {
|
||||
regionServer.updateRegionFavoredNodesMapping(region.getEncodedName(),
|
||||
regionOpenInfo.getFavoredNodesList());
|
||||
if (htd == null) {
|
||||
throw new IOException("Missing table descriptor for " + region.getEncodedName());
|
||||
}
|
||||
if (htd.getPriority() >= HConstants.ADMIN_QOS || region.getTable().isSystemTable()) {
|
||||
regionServer.service.submit(new OpenPriorityRegionHandler(
|
||||
regionServer, regionServer, region, htd, masterSystemTime));
|
||||
|
|
Loading…
Reference in New Issue