Github user guoxiaolongzte commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19532#discussion_r147677958
  
    --- 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 --
    
    No effect.
    In master page, ‘duration ’is calculated using the duration attribute 
of the ApplicationInfo object.
    
![1](https://user-images.githubusercontent.com/26266482/32168880-2925daf4-bda9-11e7-8e89-925d5d29bf2c.png)
    
    
![2](https://user-images.githubusercontent.com/26266482/32168885-2e6c9aca-bda9-11e7-9f77-085c4721ead3.png)
    
    And ApplicationAttemptInfo object does not matter.
    
    
     


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to