You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "shuyouZZ (via GitHub)" <gi...@apache.org> on 2023/08/07 11:40:37 UTC

[GitHub] [spark] shuyouZZ commented on pull request #42378: [SPARK-44703][CORE] Log eventLog rewrite duration when compact old event log files

shuyouZZ commented on PR #42378:
URL: https://github.com/apache/spark/pull/42378#issuecomment-1667698473

   > System.nanoTime() returns time in nanoseconds, so the log will not be correct when text is in "ms"
   > 
   > scala> val startTime = System.nanoTime() startTime: Long = [18704686566177](tel:18704686566177)
   > 
   > scala> val duration = System.nanoTime() - startTime duration: Long = [8908577884](tel:8908577884)
   > 
   > scala> print(s"$duration ms.") [8908577884](tel:8908577884) ms.
   
   Oh, it's my mistake, i will update here later.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org