[SPARK-55421] Increase livenessProbe.failureThreshold to 3#491
Closed
dongjoon-hyun wants to merge 1 commit intoapache:mainfrom
Closed
[SPARK-55421] Increase livenessProbe.failureThreshold to 3#491dongjoon-hyun wants to merge 1 commit intoapache:mainfrom
livenessProbe.failureThreshold to 3#491dongjoon-hyun wants to merge 1 commit intoapache:mainfrom
Conversation
viirya
approved these changes
Feb 8, 2026
Member
Author
|
Thank you so much, @viirya ! Merged to main. |
Contributor
|
Late LGTM, thanks @dongjoon-hyun for the fix. |
Member
Author
|
Thank you, @peter-toth ! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
This PR aims to increase
livenessProbe.failureThresholdto 3.Why are the changes needed?
SPARK-54328 introduce a severe race condition which causes the
Apache Spark Operatorrestarts too frequently. Technically,WebSocketis supposed to restart regularly and the reconnect time is scheduled after 1000ms.HealthProbechecks during this reconnection and kills the operator because SPARK-54328 usedfailureThreshold=1which means no failure is allowed. Here is the full log.Spark Operator Restart Log
AbstractWatchManager Behavior
Does this PR introduce any user-facing change?
This will fix the regression at v0.7.0.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
Generated-by:
Opus 4.5onClaude Code