You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Devaraj K (Created) (JIRA)" <ji...@apache.org> on 2012/03/25 19:03:27 UTC
[jira] [Created] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Job History Link in RM UI is redirecting to the URL which contains Job Id twice
-------------------------------------------------------------------------------
Key: MAPREDUCE-4064
URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
Project: Hadoop Map/Reduce
Issue Type: Bug
Affects Versions: 0.23.1
Reporter: Devaraj K
Assignee: Devaraj K
{code:xml}
http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Posted by "Robert Joseph Evans (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Joseph Evans updated MAPREDUCE-4064:
-------------------------------------------
Status: Open (was: Patch Available)
> Job History Link in RM UI is redirecting to the URL which contains Job Id twice
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4064
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Devaraj K
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4064.patch
>
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Posted by "Devaraj K (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-4064:
---------------------------------
Attachment: MAPREDUCE-4064.patch
> Job History Link in RM UI is redirecting to the URL which contains Job Id twice
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4064
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Devaraj K
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4064.patch
>
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Posted by "Robert Joseph Evans (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239488#comment-13239488 ]
Robert Joseph Evans commented on MAPREDUCE-4064:
------------------------------------------------
Having the changes only apply when doing a redirect will fix the problem for Map Reduce, but I think the underlying cause of the issue is not with the proxy itself. I believe that the proxy is working as designed, the problem is with the code that is producing the URI.
I believe that the issue is with ProxyUriUtils.getProxyUri(). It is adding on the extra path part that should be removed. It should always act as if the trackingUri parameter is null. And if that is the case that parameter should just be removed, which will simplify things in RMAppAttemptImpl.java because we will not have to ever regenerate the proxiedTrackingUrl.
I am fairly sure that I put this bug in so thank you for finding it and trying to fix it.
> Job History Link in RM UI is redirecting to the URL which contains Job Id twice
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4064
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Devaraj K
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4064-1.patch, MAPREDUCE-4064.patch
>
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Posted by "Devaraj K (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-4064:
---------------------------------
Status: Patch Available (was: Open)
Thank you Robert for looking into the patch.
Before posting I tested the patch including all the links in the AM/History UI but I couldn't find out the cosmetic problems(caused by previous patch) in the AM UI due to the issue MAPREDUCE-3173.
Now I have updated the patch with the change applies to only redirected history URL. Can you please review this patch?
> Job History Link in RM UI is redirecting to the URL which contains Job Id twice
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4064
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Devaraj K
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4064-1.patch, MAPREDUCE-4064.patch
>
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Posted by "Devaraj K (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-4064:
---------------------------------
Attachment: MAPREDUCE-4064-1.patch
> Job History Link in RM UI is redirecting to the URL which contains Job Id twice
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4064
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Devaraj K
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4064-1.patch, MAPREDUCE-4064.patch
>
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Posted by "Devaraj K (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-4064:
---------------------------------
Status: Patch Available (was: Open)
I have attached patch to fix this. Please review this.
> Job History Link in RM UI is redirecting to the URL which contains Job Id twice
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4064
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Devaraj K
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4064.patch
>
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Posted by "Robert Joseph Evans (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238696#comment-13238696 ]
Robert Joseph Evans commented on MAPREDUCE-4064:
------------------------------------------------
You took out the rest of the URL, so the only thing that you can get through the proxy is the base URL.
http://<SOMETHING>/proxy/application_.../some/important/path
will get translated into
http://<HISTORY>/jobhistory/job/job_.../
or more importantly
http://<MR_AM>/
"/some/important/path" will be thrown away. This may not be that critical for the history server where we redirect, but no AM UI that actually goes through the proxy is going to work properly after this change.
> Job History Link in RM UI is redirecting to the URL which contains Job Id twice
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4064
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Devaraj K
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4064.patch
>
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239388#comment-13239388 ]
Hadoop QA commented on MAPREDUCE-4064:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12520094/MAPREDUCE-4064-1.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed unit tests in .
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2107//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2107//console
This message is automatically generated.
> Job History Link in RM UI is redirecting to the URL which contains Job Id twice
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4064
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Devaraj K
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4064-1.patch, MAPREDUCE-4064.patch
>
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Posted by "Robert Joseph Evans (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Joseph Evans updated MAPREDUCE-4064:
-------------------------------------------
Status: Open (was: Patch Available)
> Job History Link in RM UI is redirecting to the URL which contains Job Id twice
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4064
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Devaraj K
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4064-1.patch, MAPREDUCE-4064.patch
>
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238650#comment-13238650 ]
Hadoop QA commented on MAPREDUCE-4064:
--------------------------------------
+1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12519974/MAPREDUCE-4064.patch
against trunk revision .
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 3 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 eclipse:eclipse. The patch built with eclipse:eclipse.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
+1 core tests. The patch passed unit tests in .
+1 contrib tests. The patch passed contrib unit tests.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2101//testReport/
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2101//console
This message is automatically generated.
> Job History Link in RM UI is redirecting to the URL which contains Job Id twice
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4064
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Devaraj K
> Assignee: Devaraj K
> Attachments: MAPREDUCE-4064.patch
>
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (MAPREDUCE-4064) Job History Link in RM UI is
redirecting to the URL which contains Job Id twice
Posted by "Devaraj K (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-4064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Devaraj K updated MAPREDUCE-4064:
---------------------------------
Component/s: mrv2
> Job History Link in RM UI is redirecting to the URL which contains Job Id twice
> -------------------------------------------------------------------------------
>
> Key: MAPREDUCE-4064
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-4064
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: mrv2
> Affects Versions: 0.23.1
> Reporter: Devaraj K
> Assignee: Devaraj K
>
> {code:xml}
> http://xx.x.x.x:19888/jobhistory/job/job_1332435449546_0001/jobhistory/job/job_1332435449546_0001
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira