-
- Downloads
[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.  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
Showing
- LICENSE 16 additions, 0 deletionsLICENSE
- core/src/main/resources/org/apache/spark/ui/static/timeline-view.css 2 additions, 1 deletion...in/resources/org/apache/spark/ui/static/timeline-view.css
- core/src/main/resources/org/apache/spark/ui/static/timeline-view.js 12 additions, 19 deletions...ain/resources/org/apache/spark/ui/static/timeline-view.js
Please register or sign in to comment