[
https://issues.apache.org/jira/browse/YARN-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784694#comment-13784694
]
Omkar Vinit Joshi commented on YARN-621:
----------------------------------------
Today everytime filter is getting called twice because we have defined
AuthenticationFilter filtering urls as
* /cluster
* /cluster/*
* /ws
* /ws/*
so if we specify "http://localhost:8088/cluster" then AuthenticationFilter will
be called twice. However if we request "http://localhost:8088/cluster/cluster"
then it will be called once. We know the related ticket HADOOP-8830 (error due
to AuthenticationFilter getting called twice without request containing
"hadoop.auth" cookie).
Also we can not remove below code because it is required inside
WebApp.serverPathSpecs -> WebApp.configureServlets()
{code} webapp.addServePathSpec(basePath);{code}
Also all these calls will really matter for the first call only. After that
once cookie is set then it doesn't matter. We should definitely fix HADOOP-8830.
> RM triggers web auth failure before first job
> ---------------------------------------------
>
> Key: YARN-621
> URL: https://issues.apache.org/jira/browse/YARN-621
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Affects Versions: 2.0.4-alpha
> Reporter: Allen Wittenauer
> Assignee: Omkar Vinit Joshi
> Priority: Critical
> Attachments: YARN-621.20131001.1.patch
>
>
> On a secure YARN setup, before the first job is executed, going to the web
> interface of the resource manager triggers authentication errors.
--
This message was sent by Atlassian JIRA
(v6.1#6144)