pan3793 commented on PR #41181:
URL: https://github.com/apache/spark/pull/41181#issuecomment-2574941124
@maomaodev I see what happens, the official Spark installs `krb5-user` which
generates a default `/etc/krb5.conf` with content
```
[libdefaults]
default_realm = ATHENA.MIT.EDU
...
```
so that `KerberosUtil.getDefaultRealm` works well, this is not the expected
behavior but happens to work. I think the root cause is
`spark.kubernetes.kerberos.krb5.path` claims to mount on both driver and
executors but actually not.
In short, creating a dummy `/etc/krb5.conf` in your base image should
workaround your issue, and the correct solution is mounting
`spark.kubernetes.kerberos.krb5.path` to executor pod correctly.
--
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]