panbingkun commented on code in PR #46982:
URL: https://github.com/apache/spark/pull/46982#discussion_r1639507017


##########
streaming/src/main/scala/org/apache/spark/streaming/scheduler/ExecutorAllocationManager.scala:
##########
@@ -75,8 +75,10 @@ private[streaming] class ExecutorAllocationManager(
 
   def start(): Unit = {
     timer.start()
-    logInfo(s"ExecutorAllocationManager started with " +
-      s"ratios = [$scalingUpRatio, $scalingDownRatio] and interval = 
$scalingIntervalSecs sec")
+    logInfo(log"ExecutorAllocationManager started with " +
+      log"ratios = [${MDC(LogKeys.SCALING_UP_RATIO, scalingUpRatio)}, " +
+      log"${MDC(LogKeys.SCALING_DOWN_RATIO, scalingDownRatio)}] and " +
+      log"interval = ${MDC(LogKeys.SCALING_INTERVAL, scalingIntervalSecs * 
1000)} ms")

Review Comment:
   interval -> Unified time unit as `ms`



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to