gengliangwang commented on a change in pull request #27135: [SPARK-30458][Web
UI] The Executor Computing Time in Time Line of Stage Page is Wrong
URL: https://github.com/apache/spark/pull/27135#discussion_r364577399
##########
File path: core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala
##########
@@ -288,10 +288,10 @@ private[ui] class StagePage(parent: StagesTab, store:
AppStatusStore) extends We
val executorOverhead = serializationTime + deserializationTime
val executorRunTime = if (taskInfo.duration.isDefined) {
- totalExecutionTime - executorOverhead - gettingResultTime
+ math.max(totalExecutionTime - executorOverhead - gettingResultTime -
schedulerDelay, 0)
Review comment:
I am not familiar with the Core module.
But is it possible that `totalExecutionTime - executorOverhead -
gettingResultTime - schedulerDelay` is negative?
If so, is the calculation correct?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]