Github user sarutak commented on the pull request:

    https://github.com/apache/spark/pull/9059#issuecomment-147448778
  
    I applied your patch and I noticed you didn't care the case we watch the 
status of incomplete apps through the history server. 
    
    Sometimes, apps are marked as incomplete because of some reasons e.g. users 
forget to stop `SparkContext`, those apps are just running or etc. 
    When we watch the status of those incomplete apps through the history 
server, `endTime` should still be `-1` and then, we can get invalid Total 
Uptime like this screen shot.
    
    <img width="1269" alt="invaliduptime" 
src="https://cloud.githubusercontent.com/assets/4736016/10432636/66b40c7a-7147-11e5-8afc-3a725308312f.png";>



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

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

Reply via email to