[jira] [Commented] (SPARK-8705) Javascript error in the web console when `totalExecutionTime` of a task is 0

2015-06-29 Thread Shixiong Zhu (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14605646#comment-14605646
 ] 

Shixiong Zhu commented on SPARK-8705:
-

A simple fix is don't add {{rect}} s to {{svg}} when {{totalExecutionTime}} is 
0 in 
https://github.com/apache/spark/blob/04ddcd4db7801abefa9c9effe5d88413b29d713b/core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala#L599
 

This conflicts with https://github.com/apache/spark/pull/7082 , so I will send 
a PR after pr #7082 is merged.

 Javascript error in the web console when `totalExecutionTime` of a task is 0
 

 Key: SPARK-8705
 URL: https://issues.apache.org/jira/browse/SPARK-8705
 Project: Spark
  Issue Type: Bug
  Components: Web UI
Reporter: Shixiong Zhu

 Because System.currentTimeMillis() is not accurate for tasks that only need 
 several milliseconds, sometimes totalExecutionTime in makeTimeline will be 0. 
 If totalExecutionTime is 0, there will the following error in the console.
 !https://cloud.githubusercontent.com/assets/1000778/8406776/5cd38e04-1e92-11e5-89f2-0c5134fe4b6b.png!



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

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



[jira] [Commented] (SPARK-8705) Javascript error in the web console when `totalExecutionTime` of a task is 0

2015-06-29 Thread Apache Spark (JIRA)

[ 
https://issues.apache.org/jira/browse/SPARK-8705?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14605870#comment-14605870
 ] 

Apache Spark commented on SPARK-8705:
-

User 'zsxwing' has created a pull request for this issue:
https://github.com/apache/spark/pull/7088

 Javascript error in the web console when `totalExecutionTime` of a task is 0
 

 Key: SPARK-8705
 URL: https://issues.apache.org/jira/browse/SPARK-8705
 Project: Spark
  Issue Type: Bug
  Components: Web UI
Reporter: Shixiong Zhu

 Because System.currentTimeMillis() is not accurate for tasks that only need 
 several milliseconds, sometimes totalExecutionTime in makeTimeline will be 0. 
 If totalExecutionTime is 0, there will the following error in the console.
 !https://cloud.githubusercontent.com/assets/1000778/8406776/5cd38e04-1e92-11e5-89f2-0c5134fe4b6b.png!



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

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