Skip to content

HBASE-29323 Use Priority Handler for all RegionServerStatus rpc at Master - #6994

Merged
NihalJain merged 7 commits into
apache:masterfrom
Umeshkumar9414:HBASE-29323
May 19, 2025
Merged

HBASE-29323 Use Priority Handler for all RegionServerStatus rpc at Master#6994
NihalJain merged 7 commits into
apache:masterfrom
Umeshkumar9414:HBASE-29323

Conversation

@Umeshkumar9414

Copy link
Copy Markdown
Contributor

These reports are critical for completing region movements and ensuring availability. Any delay in reporting can directly impact system availability.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Umeshkumar9414Umeshkumar9414 changed the title HBASE-29323 Use Priority Handler for reportRegionStateTransition and reportProcedureDone at MasterHBASE-29323 Use Priority Handler for reportProcedureDone at MasterMay 16, 2025
@Apache-HBase

This comment has been minimized.

@virajjasanivirajjasani left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

+1

@Apache-HBase

This comment has been minimized.

}

@Override
@QosPriority(priority = HConstants.HIGH_QOS)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why HIGH_QOS vs. ADMIN_QOS? Are they in conflict with each other? Does HIGH_QOS do something here that ADMIN_QOS does not? No other methods in this class use HIGH_QOS. And it seems SimpleRpcScheduler doesn't distinguish between the two.

@Umeshkumar9414Umeshkumar9414May 17, 2025

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

In MasterAnnotationReadingPriorityFunction we are using HIGH_QOS for ReportRegionStateTransition rpc. Taking a example of that I used the same priority here as well.

And it seems SimpleRpcScheduler doesn't distinguish between the two.

Yeah, SimpleRpcScheduler doesn't distinguish between both, apart from META_TRANSITION_QOS, it just check if priority is greater that QOS_THRESHOLD(10).

@Apache9

Copy link
Copy Markdown
Contributor

I suggest we just change the code in MasterAnnotationReadingPriorityFunction, for all th methods defined in RegionServerStatusProtos, we give them higher QOS?

@Apache-HBase

This comment has been minimized.

@Umeshkumar9414

Umeshkumar9414 commented May 17, 2025

Copy link
Copy Markdown
ContributorAuthor

I suggest we just change the code in MasterAnnotationReadingPriorityFunction, for all th methods defined in RegionServerStatusProtos, we give them higher QOS?

This would be good if in future we will be adding some new rpc methods. I have made the changes.
Just have one concern that MasterAnnotationReadingPriorityFunction seems little hidden and looking at MasterRpcServices one can't figure out the priority of these methods.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 27sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+0 🆗codespell0m 0scodespell was not available.
+0 🆗detsecrets0m 0sdetect-secrets was not available.
+1 💚@author0m 0sThe patch does not contain any @author tags.
+1 💚hbaseanti0m 0sPatch does not have any anti-patterns.
_ master Compile Tests _
+1 💚mvninstall3m 5smaster passed
+1 💚compile3m 13smaster passed
+1 💚checkstyle0m 37smaster passed
+1 💚spotbugs1m 31smaster passed
+1 💚spotless0m 44sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+1 💚mvninstall3m 5sthe patch passed
+1 💚compile3m 11sthe patch passed
+1 💚javac3m 11sthe patch passed
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚checkstyle0m 36sthe patch passed
+1 💚spotbugs1m 40sthe patch passed
+1 💚hadoopcheck11m 46sPatch does not cause any errors with Hadoop 3.3.6 3.4.0.
+1 💚spotless0m 44spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 9sThe patch does not generate ASF License warnings.
38m 31s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6994/5/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#6994
Optional Testsdupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless
unameLinux 8df182f5881d 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / e48dc4a
Default JavaEclipse Adoptium-17.0.11+9
Max. process+thread count84 (vs. ulimit of 30000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6994/5/console
versionsgit=2.34.1 maven=3.9.8 spotbugs=4.7.3
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeLogfileComment
+0 🆗reexec0m 30sDocker mode activated.
-0 ⚠️yetus0m 2sUnprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --author-ignore-list --blanks-eol-ignore-file --blanks-tabs-ignore-file --quick-hadoopcheck
_ Prechecks _
_ master Compile Tests _
+1 💚mvninstall3m 16smaster passed
+1 💚compile0m 57smaster passed
+1 💚javadoc0m 31smaster passed
+1 💚shadedjars6m 0sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+1 💚mvninstall3m 4sthe patch passed
+1 💚compile0m 57sthe patch passed
+1 💚javac0m 57sthe patch passed
+1 💚javadoc0m 26sthe patch passed
+1 💚shadedjars5m 53spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit227m 21shbase-server in the patch passed.
254m 2s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6994/5/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#6994
Optional Testsjavac javadoc unit compile shadedjars
unameLinux 7950e19fc457 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / e48dc4a
Default JavaEclipse Adoptium-17.0.11+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6994/5/testReport/
Max. process+thread count5977 (vs. ulimit of 30000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6994/5/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@NihalJain

Copy link
Copy Markdown
Contributor

Hi @Umeshkumar9414 can you please check if the jira title is still relevant, please update if otherwise!

@Umeshkumar9414Umeshkumar9414 changed the title HBASE-29323 Use Priority Handler for reportProcedureDone at MasterHBASE-29323 Use Priority Handler for all RegionServerStatus rpc at MasterMay 19, 2025
@NihalJain
NihalJain merged commit d187378 into apache:masterMay 19, 2025
@NihalJain

Copy link
Copy Markdown
Contributor

Hi @Umeshkumar9414 could you please raise a backport PR for branch-2 ?

NihalJain pushed a commit that referenced this pull request May 19, 2025
…ster (#6994)
Co-authored-by: ukumawat <ukumawat@salesforce.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nihal Jain <nihaljain@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Aman Poonia <aman.poonia.29@gmail.com>
(cherry picked from commit d187378)
Umeshkumar9414 added a commit to Umeshkumar9414/hbase that referenced this pull request May 19, 2025
…ster (apache#6994)
Co-authored-by: ukumawat <ukumawat@salesforce.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nihal Jain <nihaljain@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Aman Poonia <aman.poonia.29@gmail.com>
@Umeshkumar9414

Copy link
Copy Markdown
ContributorAuthor

Hi @Umeshkumar9414 could you please raise a backport PR for branch-2 ?

I have raised a PR - #6998

NihalJain pushed a commit that referenced this pull request May 20, 2025
…ster(#6994) (#6998)
Co-authored-by: ukumawat <ukumawat@salesforce.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nihal Jain <nihaljain@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Aman Poonia <aman.poonia.29@gmail.com>
(cherry picked from commit d187378)
NihalJain pushed a commit that referenced this pull request May 20, 2025
…ster(#6994) (#6998)
Co-authored-by: ukumawat <ukumawat@salesforce.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nihal Jain <nihaljain@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Aman Poonia <aman.poonia.29@gmail.com>
(cherry picked from commit 19440ac)
mokai87 pushed a commit to mokai87/hbase that referenced this pull request Aug 7, 2025
…ster(apache#6994) (apache#6998)
Co-authored-by: ukumawat <ukumawat@salesforce.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nihal Jain <nihaljain@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Aman Poonia <aman.poonia.29@gmail.com>
(cherry picked from commit d187378)
sanjeet006py pushed a commit to sanjeet006py/hbase that referenced this pull request Aug 24, 2025
…ster(apache#6994) (apache#6998)
Co-authored-by: ukumawat <ukumawat@salesforce.com>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nihal Jain <nihaljain@apache.org>
Signed-off-by: Viraj Jasani <vjasani@apache.org>
Reviewed-by: Aman Poonia <aman.poonia.29@gmail.com>
(cherry picked from commit d187378)
Sign up for freeto 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.

7 participants

@Umeshkumar9414@Apache-HBase@Apache9@NihalJain@mnpoonia@virajjasani@d-c-manning