diff options
author | Kousuke Saruta <sarutak@oss.nttdata.co.jp> | 2015-05-27 11:41:35 -0700 |
---|---|---|
committer | Andrew Or <andrew@databricks.com> | 2015-05-27 11:41:37 -0700 |
commit | 0db76c90ad5f84d7a5640c41de74876b906ddc90 (patch) | |
tree | 73aaacbd1d69b0e9ce3fc186bb8517496f484a8d | |
parent | 15459db4f6867e95076cf53fade2fca833c4cf4e (diff) | |
download | spark-0db76c90ad5f84d7a5640c41de74876b906ddc90.tar.gz spark-0db76c90ad5f84d7a5640c41de74876b906ddc90.tar.bz2 spark-0db76c90ad5f84d7a5640c41de74876b906ddc90.zip |
[SPARK-7864] [UI] Fix the logic grabbing the link from table in AllJobPage
This issue is related to #6419 .
Now AllJobPage doesn't have a "kill link" but I think fix the issue mentioned in #6419 just in case to avoid accidents in the future.
So, it's minor issue for now and I don't file this issue in JIRA.
Author: Kousuke Saruta <sarutak@oss.nttdata.co.jp>
Closes #6432 from sarutak/remove-ambiguity-of-link and squashes the following commits:
cd1a503 [Kousuke Saruta] Fixed ambiguity link issue in AllJobPage
-rw-r--r-- | core/src/main/resources/org/apache/spark/ui/static/timeline-view.js | 2 | ||||
-rw-r--r-- | core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js b/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js index 28ac998e8d..ca74ef9d7e 100644 --- a/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js +++ b/core/src/main/resources/org/apache/spark/ui/static/timeline-view.js @@ -46,7 +46,7 @@ function drawApplicationTimeline(groupArray, eventObjArray, startTime) { }; $(this).click(function() { - var jobPagePath = $(getSelectorForJobEntry(this)).find("a").attr("href") + var jobPagePath = $(getSelectorForJobEntry(this)).find("a.name-link").attr("href") window.location.href = jobPagePath }); diff --git a/core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala b/core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala index e010ebef3b..2ce670ad02 100644 --- a/core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala +++ b/core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala @@ -231,7 +231,7 @@ private[ui] class AllJobsPage(parent: JobsTab) extends WebUIPage("") { </td> <td> <span class="description-input" title={lastStageDescription}>{lastStageDescription}</span> - <a href={detailUrl}>{lastStageName}</a> + <a href={detailUrl} class="name-link">{lastStageName}</a> </td> <td sorttable_customkey={job.submissionTime.getOrElse(-1).toString}> {formattedSubmissionTime} |