Skip to content

HBASE-28803 HBase Master stuck due to improper handling of WALSyncTimeoutException within UncheckedIOException - #6254

Merged
ndimiduk merged 1 commit into
apache:masterfrom
ndimiduk:28803-master
Sep 30, 2024
Merged

HBASE-28803 HBase Master stuck due to improper handling of WALSyncTimeoutException within UncheckedIOException#6254
ndimiduk merged 1 commit into
apache:masterfrom
ndimiduk:28803-master

Conversation

@ndimiduk

Copy link
Copy Markdown
Member

This change enhances the ProcedureExecutor to honor new WALSyncTimeoutIOException introduced on HBASE-27230 / #4641. This new behavior is to abort the HMaster.

This appears to be the first time we're taking action based on exceptions thrown during procedure execution. I'm not sure if this is the right thing to do or we should be acting similarly for other exceptions.

@petersomogyi@Apache9@comnetwork please take a look.

@Apache-HBase

This comment has been minimized.

@Apache-HBase

This comment has been minimized.

@petersomogyi

Copy link
Copy Markdown
Contributor

I'm not sure if this is the right thing to do or we should be acting similarly for other exceptions.

I don't know if this would go against any rule of Master aborting but I was surprised that Master noticed the WAL sync problem and it was not aborting even though the Procedure store was stuck.

@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 3smaster passed
+1 💚checkstyle0m 37smaster passed
+1 💚spotbugs1m 30smaster passed
+1 💚spotless0m 43sbranch has no errors when running spotless:check.
_ Patch Compile Tests _
+1 💚mvninstall2m 50sthe patch passed
+1 💚compile2m 59sthe patch passed
+1 💚javac2m 59sthe patch passed
+1 💚blanks0m 0sThe patch has no blanks issues.
+1 💚checkstyle0m 35sthe patch passed
+1 💚spotbugs1m 37sthe patch passed
+1 💚hadoopcheck10m 46sPatch does not cause any errors with Hadoop 3.3.6 3.4.0.
+1 💚spotless0m 41spatch has no errors when running spotless:check.
_ Other Tests _
+1 💚asflicense0m 10sThe patch does not generate ASF License warnings.
35m 37s
SubsystemReport/Notes
DockerClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6254/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#6254
Optional Testsdupname asflicense javac spotbugs checkstyle codespell detsecrets compile hadoopcheck hbaseanti spotless
unameLinux 79d504591184 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 / 69d8c03
Default JavaEclipse Adoptium-17.0.11+9
Max. process+thread count86 (vs. ulimit of 30000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6254/2/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 39sDocker 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 💚mvninstall3m 3smaster passed
+1 💚compile0m 59smaster passed
+1 💚javadoc0m 30smaster passed
+1 💚shadedjars5m 23sbranch has no errors when building our shaded downstream artifacts.
_ Patch Compile Tests _
+1 💚mvninstall2m 58sthe patch passed
+1 💚compile0m 59sthe patch passed
+1 💚javac0m 59sthe patch passed
+1 💚javadoc0m 29sthe patch passed
+1 💚shadedjars5m 17spatch has no errors when building our shaded downstream artifacts.
_ Other Tests _
+1 💚unit222m 53shbase-server in the patch passed.
247m 56s
SubsystemReport/Notes
DockerClientAPI=1.47 ServerAPI=1.47 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6254/2/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile
GITHUB PR#6254
Optional Testsjavac javadoc unit compile shadedjars
unameLinux 1f0dc8e2cf44 5.4.0-195-generic #215-Ubuntu SMP Fri Aug 2 18:28:05 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev-support/hbase-personality.sh
git revisionmaster / 69d8c03
Default JavaEclipse Adoptium-17.0.11+9
Test Resultshttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6254/2/testReport/
Max. process+thread count4960 (vs. ulimit of 30000)
modulesC: hbase-server U: hbase-server
Console outputhttps://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-6254/2/console
versionsgit=2.34.1 maven=3.9.8
Powered byApache Yetus 0.15.0 https://yetus.apache.org

This message was automatically generated.

@ndimiduk

Copy link
Copy Markdown
MemberAuthor

@petersomogyi do you have means to reproduce the issue? Can you try running with this patch and see if it helps?

@petersomogyi

Copy link
Copy Markdown
Contributor

Unfortunately, I'm not able to reproduce this issue. It happened once during an upgrade.

@rmdmattinglyrmdmattingly 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, this seems reasonable to me

@ndimiduk
ndimiduk merged commit aa41b3e into apache:masterSep 30, 2024
@ndimiduk
ndimiduk deleted the 28803-master branch September 30, 2024 10:50
ndimiduk added a commit to ndimiduk/hbase that referenced this pull request Sep 30, 2024
…eoutException within UncheckedIOException (apache#6254)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
ndimiduk added a commit to ndimiduk/hbase that referenced this pull request Sep 30, 2024
…eoutException within UncheckedIOException (apache#6254)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
ndimiduk added a commit to ndimiduk/hbase that referenced this pull request Sep 30, 2024
…eoutException within UncheckedIOException (apache#6254)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
ndimiduk added a commit to ndimiduk/hbase that referenced this pull request Sep 30, 2024
…eoutException within UncheckedIOException (apache#6254)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
ndimiduk added a commit that referenced this pull request Sep 30, 2024
…eoutException within UncheckedIOException (#6254)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
ndimiduk added a commit that referenced this pull request Sep 30, 2024
…eoutException within UncheckedIOException (#6254)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
ndimiduk added a commit that referenced this pull request Oct 1, 2024
…eoutException within UncheckedIOException (#6254)
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
Signed-off-by: Ray Mattingly <rmattingly@apache.org>
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.

4 participants

@ndimiduk@Apache-HBase@petersomogyi@rmdmattingly