Bryan Beaudreault created HBASE-28362: -----------------------------------------
Summary: NPE calling bootstrapNodeManager during RegionServer initialization Key: HBASE-28362 URL: https://issues.apache.org/jira/browse/HBASE-28362 Project: HBase Issue Type: Bug Reporter: Bryan Beaudreault Shortly after starting up, if a RegionServer is getting requests from clients before it's ready (i.e. it restarts and they haven't cleared meta cache yet), it will throw an NPE. This is because netty may bind and start accepting requests before HRegionServer.preRegistrationInitialization finishes. I think this is similar to https://issues.apache.org/jira/browse/HBASE-28088. It's not critical because the RS self-resolves within a few seconds, but it causes noise in the logs and probably errors for clients. {code:java} 2024-02-13T18:24:02,537 [RpcServer.default.FPBQ.handler=6,queue=6,port=60020 {}] ERROR org.apache.hadoop.hbase.ipc.RpcServer: Unexpected throwable object java.lang.NullPointerException: Cannot invoke "org.apache.hadoop.hbase.regionserver.BootstrapNodeManager.getBootstrapNodes()" because "this.bootstrapNodeManager" is null at org.apache.hadoop.hbase.regionserver.HRegionServer.getBootstrapNodes(HRegionServer.java:4179) ~[hbase-server-2.6-hubspot-SNAPSHOT.jar:2.6-hubspot-SNAPSHOT] at org.apache.hadoop.hbase.regionserver.RSRpcServices.getAllBootstrapNodes(RSRpcServices.java:4140) ~[hbase-server-2.6-hubspot-SNAPSHOT.jar:2.6-hubspot-SNAPSHOT] at org.apache.hadoop.hbase.shaded.protobuf.generated.BootstrapNodeProtos$BootstrapNodeService$2.callBlockingMethod(BootstrapNodeProtos.java:1259) ~[hbase-protocol-shaded-2.6-hubspot-SNAPSHOT.jar:2.6-hubspot-SNAPSHOT] at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:438) ~[hbase-server-2.6-hubspot-SNAPSHOT.jar:2.6-hubspot-SNAPSHOT] at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:124) ~[hbase-server-2.6-hubspot-SNAPSHOT.jar:2.6-hubspot-SNAPSHOT] {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)