Github user vanzin commented on the issue:
https://github.com/apache/spark/pull/17723
No YARN API is being exposed in core. There are hadoop security APIs being
exposed in the current patch (`Credentials`). It's different.
Michael's patch is not exposing YARN's way of using UGI and propagating
tokens. I can buy not exposing `Credentials` in the API, but there's nothing in
the functionality being added to core that is YARN-specific. If anything, it's
specific to handling security in Hadoop-based services, which is exactly what
the goals are.
YARN just happens to use the same APIs to achieve what it does (credential
propagation, token renewal, automatic token cancellation, etc). But because
YARN uses those APIs, it does not mean they are YARN APIs.
---
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]