GitHub user sarutak opened a pull request:
https://github.com/apache/spark/pull/5947
[SPARK-7403][WebUI] Link URL in objects on Timeline View is wrong in case
of running on YARN
When we use Spark on YARN and have AllJobPage via ResourceManager's proxy,
the link URL in objects which represent each job on timeline view is wrong.
In timeline-view.js, the link is generated as follows.
```
window.location.href = "job/?id=" + getJobId(this);
```
This assumes the URL displayed on the web browser ends with "jobs/" but
when we access AllJobPage via the proxy, the url displayed does not end with
"jobs/"
The proxy doesn't return status code 301 or 302 so the url displayed still
indicates the base url, not "/jobs" even though displaying AllJobPages.

You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sarutak/spark fix-link-in-timeline
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/5947.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5947
----
commit 3893cda6e4f0e61d401fc5b97668d4ae409c2b96
Author: Kousuke Saruta <[email protected]>
Date: 2015-05-06T18:00:39Z
Fixed timeline-view.js in order to get correct href
commit 860faa7e80a51fe4e78b60ad9dc10e1bdace2477
Author: Kousuke Saruta <[email protected]>
Date: 2015-05-06T18:37:09Z
Merge branch 'master' of git://git.apache.org/spark into
fix-link-in-timeline
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]