Skip to content

[SPARK-56752] Enable spark.kubernetes.driver.annotateExitException by default#659

Closed
dongjoon-hyun wants to merge 1 commit intoapache:mainfrom
dongjoon-hyun:SPARK-56752
Closed

[SPARK-56752] Enable spark.kubernetes.driver.annotateExitException by default#659
dongjoon-hyun wants to merge 1 commit intoapache:mainfrom
dongjoon-hyun:SPARK-56752

Conversation

@dongjoon-hyun
Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR aims to default spark.kubernetes.driver.annotateExitException to true in SparkAppSubmissionWorker.buildDriverConf() when the user has not specified a value.

Why are the changes needed?

To improve out-of-the-box observability by annotating driver pods with exit exceptions, which is valuable for post-mortem debugging.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs with a new unit test.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Opus 4.7

@dongjoon-hyun dongjoon-hyun added this to the 0.9.0 milestone May 6, 2026
@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Could you review this PR, @peter-toth ?

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Thank you always, @peter-toth .

@dongjoon-hyun
Copy link
Copy Markdown
Member Author

Merged to main

@dongjoon-hyun dongjoon-hyun deleted the SPARK-56752 branch May 6, 2026 16:20
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