[
https://issues.apache.org/jira/browse/YARN-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13956973#comment-13956973
]
Xuan Gong commented on YARN-1898:
---------------------------------
bq. what do you think of maintaining a list of URIs that shouldn't be
redirected, may be as a static final Set in RMWebAppFilter and change
shouldRedirect to check against that?
We can do that. But this set can only contains /conf, /stacks, /logLevel,
/metrics, /jmx, /logs.
For "/" + rmWebApp.wsName() + "/v1/cluster/info", and "/" + rmWebApp.name() +
"/cluster", we still need to do the comparison explicitly.
> Standby RM's conf, stack, logLevel and metrics links are redirecting to
> Active RM
> ---------------------------------------------------------------------------------
>
> Key: YARN-1898
> URL: https://issues.apache.org/jira/browse/YARN-1898
> Project: Hadoop YARN
> Issue Type: Sub-task
> Components: resourcemanager
> Reporter: Yesha Vora
> Assignee: Xuan Gong
> Attachments: YARN-1898.1.patch
>
>
> Standby RM links /conf, /stacks, /logLevel, /metrics, /jmx is redirected to
> Active RM.
> It should not be redirected to Active RM
--
This message was sent by Atlassian JIRA
(v6.2#6252)