Zhijie Shen commented on YARN-2246:

bq. With this patch, it looks like it's going to send me to 
http://<histaddr>/job/<jobid> and strip off the x/y/z part.

Nice catch! But, if we don't fix the url translation problem, generated url 
will be http://<histaddr>/job/<jobid>/job/<jobid>/x/y/, which should also be 

bq. Instead I think it would be better if the proxy servlet preserved the 
existing behavior and instead in the RM UI we never advertised a tracking URL 
other than http://<rmaddr>/proxy/<appid>.

We can do that, but for the running app, we will enter 
http://<rmaddr>/proxy/<appid>, then go to http://<rmaddr>/proxy/<appid>/x, then 
go to http://<rmaddr>/proxy/<appid>/x/y and so on. In these cases, we need to 
make sure it is translated properly.

> 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

Reply via email to