You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2026/08/28 15:05:00 UTC
[jira] [Resolved] (SPARK-59053) Warn when the executor pod template's service account drops the configured one
[ https://issues.apache.org/jira/browse/SPARK-59053?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Jie resolved SPARK-59053.
------------------------------
Resolution: Duplicate
> Warn when the executor pod template's service account drops the configured one
> ------------------------------------------------------------------------------
>
> Key: SPARK-59053
> URL: https://issues.apache.org/jira/browse/SPARK-59053
> Project: Spark
> Issue Type: Improvement
> Components: Kubernetes
> Affects Versions: 5.0.0
> Reporter: Yang Jie
> Priority: Major
>
> `ExecutorKubernetesCredentialsFeatureStep` applies `spark.kubernetes.authenticate.executor.serviceAccountName`, falling back to the value of `spark.kubernetes.authenticate.driver.serviceAccountName`, only when the executor pod template names no service account. When the template does name one, the configured account is discarded and nothing is written to the log -- the step does not even mix in `Logging`.
> SPARK-58872 added a WARN for the analogous situation on the driver side, where submitted driver credentials take precedence over `spark.kubernetes.authenticate.driver.serviceAccountName`, and documented it in `running-on-kubernetes.md`. The two are not the same code path, but the user sees the same thing: a service account configuration that is set, does not apply, and says nothing about why.
> Follow-up to SPARK-58910, which fixed the guard that decides whether the template names an account. That fix is a bug fix headed for the maintenance branches, so adding the warning there would carry an improvement onto branches it does not belong on.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org