Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/19532#discussion_r147678992
--- 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 --
ok seems it's better to make them consistent, LGTM
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]