diff options
author | Kousuke Saruta <sarutak@oss.nttdata.co.jp> | 2015-05-09 10:10:29 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-05-09 10:10:29 +0100 |
commit | 12b95abc7047a8f2fd25a3c8dbb9904eb305eba6 (patch) | |
tree | 51d46e1ef3abeeb1a1466b8dbfb9511446c14bd9 /sql/core/pom.xml | |
parent | dda6d9f4045fa2d1265abffa9d7dbdc967448417 (diff) | |
download | spark-12b95abc7047a8f2fd25a3c8dbb9904eb305eba6.tar.gz spark-12b95abc7047a8f2fd25a3c8dbb9904eb305eba6.tar.bz2 spark-12b95abc7047a8f2fd25a3c8dbb9904eb305eba6.zip |
[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.
![2015-05-07 3 34 37](https://cloud.githubusercontent.com/assets/4736016/7501079/a8507ad6-f46c-11e4-9bed-62abea170f4c.png)
Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>
Closes #5947 from sarutak/fix-link-in-timeline and squashes the following commits:
aaf40e1 [Kousuke Saruta] Added Copyright for vis.js
01bee7b [Kousuke Saruta] Fixed timeline-view.js in order to get correct href
Diffstat (limited to 'sql/core/pom.xml')
0 files changed, 0 insertions, 0 deletions