Github user guoxiaolongzte commented on a diff in the pull request:
https://github.com/apache/spark/pull/19532#discussion_r145618914
--- Diff: core/src/main/scala/org/apache/spark/ui/SparkUI.scala ---
@@ -120,7 +120,7 @@ private[spark] class SparkUI private (
attemptId = None,
startTime = new Date(startTime),
endTime = new Date(-1),
- duration = 0,
+ duration = System.currentTimeMillis() - startTime,
--- End diff --

I would like to ask, running the spark application in master ui, why
real-time display how long?
The logic of these two places I think should be the same.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]