panbingkun commented on code in PR #46982:
URL: https://github.com/apache/spark/pull/46982#discussion_r1639531929
##########
streaming/src/main/scala/org/apache/spark/streaming/dstream/DStream.scala:
##########
@@ -201,7 +200,8 @@ abstract class DStream[T: ClassTag] (
// Set the checkpoint interval to be slideDuration or 10 seconds, which
ever is larger
if (mustCheckpoint && checkpointDuration == null) {
checkpointDuration = slideDuration * math.ceil(Seconds(10) /
slideDuration).toInt
- logInfo(s"Checkpoint interval automatically set to $checkpointDuration")
+ logInfo(log"Checkpoint interval automatically set to " +
Review Comment:
`Duration` itself is displayed in `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]