Github user pwendell commented on the pull request:
https://github.com/apache/spark/pull/607#issuecomment-41933135
@tgravescs @sryza just wondering - how does `ugi.doAs` actually store the
contextual information of the credentials? For instance, we create thread pools
etc inside of the executor. Does this get transferred correctly? I'm not
totally sure how this would work... does it use threadlocals?
Since the security model of Spark currently assumes the application is run
as a single user, it seems like moving this up makes sense. Would either of you
be able to propose a patch that just pulls it up, maybe, e.g. to wrap the
creation of the thread pool?
---
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.
---