Nick Dimiduk created HBASE-30099:
------------------------------------
Summary: HRegionServer.getBootstrapNodes() NPE when
GetBootstrapNodes RPC arrives during startup
Key: HBASE-30099
URL: https://issues.apache.org/jira/browse/HBASE-30099
Project: HBase
Issue Type: Bug
Components: regionserver
Affects Versions: 2.5.14, 2.6.5, 3.0.0-beta-1
Reporter: Nick Dimiduk
{{HRegionServer.getBootstrapNodes()}} throws {{NullPointerException: Cannot
invoke "BootstrapNodeManager.getBootstrapNodes()" because
"this.bootstrapNodeManager" is null}} when the {{GetBootstrapNodes}} RPC
arrives after the RPC server starts accepting connections but before
{{preRegistrationInitialization()}} has assigned the field. Once tripped, every
subsequent {{GetBootstrapNodes}} RPC on that instance returns the same NPE to
the caller.
Observed in production on a branch-2.6 cluster during a period of fleet-wide RS
restarts, when peer RegionServers all issued bootstrap-node discovery against
each fresh RS during its startup window. Same class of startup race as
HBASE-28088.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)