Github user zsxwing commented on the issue:

    https://github.com/apache/spark/pull/14223
  
    > This method can only be used to measure elapsed time and is not related 
to any other notion of system or wall-clock time. The value returned represents 
nanoseconds since some fixed but arbitrary origin time (perhaps in the future, 
so values may be negative). The same origin is used by all invocations of this 
method in an instance of a Java virtual machine; other virtual machine 
instances are likely to use a different origin.
    
    As per javadoc, `System.nanoTime` cannot be used to get the current system 
time. I saw most of places just use `getTimeMillis` to get the current system 
time and display it on UI. I don't think we can change it to `System.nanoTime`.
    
    @markgrover  could you close this pr, please?


---
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