HyukjinKwon commented on a change in pull request #23727: [SPARK-26817][CORE]
Use System.nanoTime to measure time intervals
URL: https://github.com/apache/spark/pull/23727#discussion_r253343504
##########
File path: core/src/main/scala/org/apache/spark/MapOutputTracker.scala
##########
@@ -706,7 +706,7 @@ private[spark] class MapOutputTrackerWorker(conf:
SparkConf) extends MapOutputTr
val statuses = mapStatuses.get(shuffleId).orNull
if (statuses == null) {
logInfo("Don't have map outputs for shuffle " + shuffleId + ", fetching
them")
- val startTime = System.currentTimeMillis
Review comment:
@MaxGekk, are there all instances of using `currentTimeMillis`? If so, let's
also add a style rule in a separate PR to prevent `currentTimeMillis`. I know
this is in the guide and think it's reasonable to add the rule if possible.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]