[
https://issues.apache.org/jira/browse/YARN-2246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14310656#comment-14310656
]
Devaraj K commented on YARN-2246:
---------------------------------
bq. But do you know why we use proxyLink for running app instead of redirect
the request?
It is to avoid the AM URL becoming stale/unusable when the application
complete. If the proxy server redirects the URL to AM when application is
running, the redirected URL will work till AM is running and when the AM goes
down the URL will not work anymore if the user continues accessing the same or
refreshing the browser. Now with the current proxy server, proxy server gets
the latest application report and decides whether to get the Job details from
the AM or redirect the URL to history based on the application state.
> Job History Link in RM UI is redirecting to the URL which contains Job Id
> twice
> -------------------------------------------------------------------------------
>
> Key: YARN-2246
> URL: https://issues.apache.org/jira/browse/YARN-2246
> Project: Hadoop YARN
> Issue Type: Bug
> Components: webapp
> Reporter: Devaraj K
> Assignee: Devaraj K
> Fix For: 2.7.0
>
> Attachments: MAPREDUCE-4064-1.patch, MAPREDUCE-4064.patch,
> YARN-2246.patch
>
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)