[
https://issues.apache.org/jira/browse/YARN-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14166414#comment-14166414
]
Zhijie Shen commented on YARN-2656:
-----------------------------------
[~vvasudev], thanks for the patch. It looks good to me overall. Based on this
patch I made code polishing as well as the following changes:
1. Keep the filter name being RMAuthenticationFilter as we don't change the
class name.
2. Change proxyuser prefix to "yarn.resourcemanager". The other
DelegationTokenAuthenticationFilter use cases take the specific prefix as well
instead of the common one "hadoop". The benefit should be different use cases
can have their individual proxyuser setting.
Upload a new patch accordingly.
One more thing: RMAuthenticationHandler seems to be useless, we may want to
discard it. Let's do it separately?
> RM web services authentication filter should add support for proxy user
> -----------------------------------------------------------------------
>
> Key: YARN-2656
> URL: https://issues.apache.org/jira/browse/YARN-2656
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Reporter: Varun Vasudev
> Assignee: Varun Vasudev
> Attachments: apache-yarn-2656.0.patch, apache-yarn-2656.1.patch,
> apache-yarn-2656.2.patch
>
>
> The DelegationTokenAuthenticationFilter adds support for doAs functionality.
> The RMAuthenticationFilter should expose this as well.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)