dongjoon-hyun commented on a change in pull request #31335:
URL: https://github.com/apache/spark/pull/31335#discussion_r564219003
##########
File path: core/src/main/scala/org/apache/spark/util/ListenerBus.scala
##########
@@ -150,4 +152,12 @@ private[spark] trait ListenerBus[L <: AnyRef, E] extends
Logging {
listeners.asScala.filter(_.getClass == c).map(_.asInstanceOf[T]).toSeq
}
+ private[spark] def redactEvent(e: E): E = {
Review comment:
Since this is designed to be used in `ListenerBus` only, `private` will
be enough in this case. For the other classes, this PR makes
`EventLoggingListener.redactEvent` available already.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]