[
https://issues.apache.org/jira/browse/YARN-8258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16501556#comment-16501556
]
Sunil Govindan commented on YARN-8258:
--------------------------------------
Uploading v7 patch.
For UI2 context, all filterMappings paths need not to be copied. For example,
default context has pathSpec like /cluster/*, /logs/* etc. These are not valid
for UI2. For UI2, the context is defined as "/ui2". Hence pathSpec as /* will
cover all theĀ necessary sub paths under /ui2 and will apply any filter as
needed.
But certain filters like Spnego doesnt have any pathSpec added for default
context. This is to keep the filter order correct and ensure that the if any
alternative auth handlers are there (like JWT handler for SSO), those filters
has to come before Spnego filter to process special tokens.
Hence in UI2 also, if any filter has NULL or empty pathSpec, same will be
retained.
Latest patch is as per this understanding. cc /[~vinodkv] pls help to check the
latest patch. Thank You.
> YARN webappcontext for UI2 should inherit all filters from default context
> --------------------------------------------------------------------------
>
> Key: YARN-8258
> URL: https://issues.apache.org/jira/browse/YARN-8258
> Project: Hadoop YARN
> Issue Type: Bug
> Components: webapp
> Reporter: Sumana Sathish
> Assignee: Sunil Govindan
> Priority: Major
> Attachments: YARN-8258.001.patch, YARN-8258.002.patch,
> YARN-8258.003.patch, YARN-8258.004.patch, YARN-8258.005.patch,
> YARN-8258.006.patch, YARN-8258.007.patch
>
>
> Thanks [[email protected]] for finding this.
> Ideally all filters from default context has to be inherited to UI2 context
> as well.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]