spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kousuke Saruta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-15235) Corresponding row cannot be highlighted even though cursor is on the job on Web UI's timeline
Date Mon, 09 May 2016 23:17:12 GMT
Kousuke Saruta created SPARK-15235:
--------------------------------------

             Summary: Corresponding row cannot be highlighted even though cursor is on the
job on Web UI's timeline
                 Key: SPARK-15235
                 URL: https://issues.apache.org/jira/browse/SPARK-15235
             Project: Spark
          Issue Type: Bug
          Components: Web UI
    Affects Versions: 1.6.1, 2.0.0
            Reporter: Kousuke Saruta
            Priority: Trivial


To extract job descriptions and stage name, there are following regular expressions in timeline-view.js

{code}
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(".");
{code}

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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message