[
https://issues.apache.org/jira/browse/HBASE-30099?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Somogyi resolved HBASE-30099.
-----------------------------------
Fix Version/s: 4.0.0-alpha-1
2.7.0
3.1.0
3.0.1
2.6.8
Resolution: Fixed
Thanks for the fix, [~mazhengxuan]. I pushed the commits to branch-2.6+.
> 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: 3.0.0-beta-1, 2.6.5, 2.5.14
> Reporter: Nick Dimiduk
> Assignee: mazhengxuan
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-1, 2.7.0, 3.1.0, 3.0.1, 2.6.8
>
>
> {{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)