Skip to content

HBASE-29660 submittedRegionProcedures data leak in HRegionServer when… - #7381

Open
chaijunjie0101 wants to merge 1 commit into
apache:masterfrom
chaijunjie0101:HBASE-29660
Open

HBASE-29660 submittedRegionProcedures data leak in HRegionServer when…#7381
chaijunjie0101 wants to merge 1 commit into
apache:masterfrom
chaijunjie0101:HBASE-29660

Conversation

@chaijunjie0101

Copy link
Copy Markdown
Contributor

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@chaijunjie0101

chaijunjie0101 commented Oct 14, 2025

Copy link
Copy Markdown
ContributorAuthor

java.lang.IllegalArgumentException: Can't get Kerberos realm at org.apache.hadoop.security.HadoopKerberosName.setConfiguration(HadoopKerberosName.java:71) at org.apache.hadoop.security.UserGroupInformation.initialize(UserGroupInformation.java:314) at org.apache.hadoop.security.UserGroupInformation.setConfiguration(UserGroupInformation.java:365) at org.apache.hadoop.hbase.security.HBaseKerberosUtils.setSecuredHadoopConfiguration(HBaseKerberosUtils.java:151) at org.apache.hadoop.hbase.security.HBaseKerberosUtils.setSecuredConfiguration(HBaseKerberosUtils.java:119) at org.apache.hadoop.hbase.ipc.TestSecureNettyRpcServer.setup(TestSecureNettyRpcServer.java:65) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.IllegalArgumentException: KrbException: Cannot locate default realm at java.security.jgss/javax.security.auth.kerberos.KerberosPrincipal.<init>(KerberosPrincipal.java:199) at org.apache.hadoop.security.authentication.util.KerberosUtil.getDefaultRealm(KerberosUtil.java:120) at org.apache.hadoop.security.HadoopKerberosName.setConfiguration(HadoopKerberosName.java:69) ... 8 more

All failed tests because "Can't get Kerberos realm"....see
https://issues.apache.org/jira/browse/HBASE-29275

@Apache9

Copy link
Copy Markdown
Contributor

I think we also need to add this call in other places where we return earlier in AssignRegionHandler.process?

@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 29sDocker 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 💚mvninstall4m 16smaster passed
+1 💚compile5m 27smaster passed
+1 💚checkstyle1m 15smaster passed
+1 💚spotbugs2m 47smaster passed
+1 💚spotless1m 29sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+1 💚mvninstall4m 35sthe patch passed
+1 💚compile4m 48sthe patch passed
+1 💚javac4m 48sthe patch passed
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚checkstyle0m 45sthe patch passed
+1 💚spotbugs2m 3sthe patch passed
+1 💚hadoopcheck15m 55sPatch does not cause any errors with Hadoop 3.3.6 3.4.1.
+1 💚spotless1m 12spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 19sThe patch does not generate ASF License warnings.
56m 39s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7381/3/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#7381
Optional Testsdupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless
unameLinux 985b02997b6b 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 / 39e0054
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-7381/3/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 56sDocker mode activated.
-0 ⚠️yetus0m 3sUnprocessed 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 💚mvninstall5m 47smaster passed
+1 💚compile1m 29smaster passed
+1 💚javadoc0m 48smaster passed
+1 💚shadedjars9m 30sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+1 💚mvninstall5m 0sthe patch passed
+1 💚compile1m 30sthe patch passed
+1 💚javac1m 30sthe patch passed
+1 💚javadoc0m 44sthe patch passed
+1 💚shadedjars9m 33spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit264m 12shbase-server in the patch passed.
304m 21s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7381/3/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#7381
Optional Testsjavac javadoc unit compile shadedjars
unameLinux 4ad5a4e1c27d 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 / 39e0054
Default JavaEclipse Adoptium-17.0.11+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7381/3/testReport/
Max. process+thread count3475 (vs. ulimit of 30000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-7381/3/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@chaijunjie0101

chaijunjie0101 commented Oct 17, 2025

Copy link
Copy Markdown
ContributorAuthor

I think we also need to add this call in other places where we return earlier in AssignRegionHandler.process?

yes, I added it before all "return" in AssignRegionHandler.process, just besides "rs.getExecutorService().delayedSubmit", it resubmit this assignRegionHandler, so it is in process, I think we should not call here, please review again, thanks sir. @Apache9

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.

3 participants

@chaijunjie0101@Apache-HBase@Apache9