dongjoon-hyun opened a new pull request, #58922:
URL: https://github.com/apache/spark/pull/58922

   ### What changes were proposed in this pull request?
   
   This PR aims to skip the `spark.exit-exception` annotation in the submission 
client of cluster deploy mode (`spark.submit.deployMode=cluster`).
   
   ### Why are the changes needed?
   
   When `spark.kubernetes.driver.pod.name` is given, the submission client can 
patch a driver pod it does not own. For example, a resubmission that fails with 
`409 AlreadyExists` overwrites the previous driver pod's original exit 
exception with the submission-side stack trace.
   
   The driver itself always runs `spark-submit` with `--deploy-mode client`, so 
this PR doesn't affect it.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. The submission client no longer overwrites the `spark.exit-exception` 
annotation of driver pods.
   
   ### How was this patch tested?
   
   Pass the CIs with the newly added test case.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Opus 5


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to