Github user harishreedharan commented on the pull request:
https://github.com/apache/spark/pull/11358#issuecomment-188621725
This looks like it might affect HDFS tokens as well and error that looks
like this might come up during the initial token renewal:
```
WARN UserGroupInformation: PriviledgedActionException as:hari (auth:PROXY)
via hdfs@EXAMPLE (auth:KERBEROS)
cause:org.apache.hadoop.security.AccessControlException: hari tries to renew a
token with renewer hdfs
```
In addition to the code that gets the new tokens, I think the
[`getTokenRenewalInterval`](https://github.com/apache/spark/blob/master/yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala#L580)
method also needs to be be run as the real user.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]