Skip to content

HBASE-30142 Resolve NPE while running recoverUnknown command because null RegionLocation#8192

Open
Umeshkumar9414 wants to merge 1 commit intoapache:masterfrom
Umeshkumar9414:HBASE-30142
Open

HBASE-30142 Resolve NPE while running recoverUnknown command because null RegionLocation#8192
Umeshkumar9414 wants to merge 1 commit intoapache:masterfrom
Umeshkumar9414:HBASE-30142

Conversation

@Umeshkumar9414
Copy link
Copy Markdown
Contributor

@Umeshkumar9414 Umeshkumar9414 commented May 5, 2026

MasterRpcServices.scheduleSCPsForUnknownServers() has no null guard before calling isServerUnknown(). With the old code, regions with null serverName (OFFLINE/FAILED_OPEN in-between state) would spuriously trigger a ServerCrashProcedure. The fix prevents that.

Copy link
Copy Markdown
Contributor

@wchevreuil wchevreuil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Should we add UT for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants