panbingkun commented on code in PR #46982:
URL: https://github.com/apache/spark/pull/46982#discussion_r1639489537
##########
streaming/src/main/scala/org/apache/spark/streaming/rdd/WriteAheadLogBackedBlockRDD.scala:
##########
@@ -156,8 +157,8 @@ class WriteAheadLogBackedBlockRDD[T: ClassTag](
s"Could not read data from write ahead log record
${partition.walRecordHandle}, " +
s"read returned null")
}
- logInfo(s"Read partition data of $this from write ahead log, record
handle " +
- partition.walRecordHandle)
+ logInfo(log"Read partition data of ${MDC(LogKeys.RDD, this)} from write
ahead log, " +
Review Comment:
I'm not sure if it's appropriate to call it `LogKeys.RDD`
--
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]