GitHub user sarutak opened a pull request:
https://github.com/apache/spark/pull/13016
[SPARK-15235][WEBUI] Corresponding row cannot be highlighted even though
cursor is on the job on Web UI's timeline
## What changes were proposed in this pull request?
To extract job descriptions and stage name, there are following regular
expressions in timeline-view.js
```
var jobIdText =
$($(baseElem).find(".application-timeline-content")[0]).text();
var jobId = jobIdText.match("\\(Job (\\d+)\\)")[1];
...
var stageIdText = $($(baseElem).find(".job-timeline-content")[0]).text();
var stageIdAndAttempt = stageIdText.match("\\(Stage
(\\d+\\.\\d+)\\)")[1].split(".");
```
But if job descriptions include patterns like "(Job x)" or stage names
include patterns like "(Stage x.y)", the regular expressions cannot be match as
we expected, ending up with corresponding row cannot be highlighted even though
we move the cursor onto the job on Web UI's timeline.
## How was this patch tested?
Manually tested with spark-shell and Web UI.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sarutak/spark SPARK-15235
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13016.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 #13016
----
commit 1545bb24afd05a8b83962bfb7dfc344cdc416459
Author: Kousuke Saruta <[email protected]>
Date: 2016-05-09T23:05:22Z
Fixed matching pattern
----
---
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]