mridulm commented on a change in pull request #30446:
URL: https://github.com/apache/spark/pull/30446#discussion_r528284702
##########
File path:
core/src/main/scala/org/apache/spark/scheduler/EventLoggingListener.scala
##########
@@ -103,7 +105,7 @@ private[spark] class EventLoggingListener(
// Events that do not trigger a flush
override def onStageSubmitted(event: SparkListenerStageSubmitted): Unit = {
- logEvent(event)
+ logEvent(SparkListenerStageSubmitted(event.stageInfo,
redactProperties(event.properties)))
Review comment:
Use copy instead - here and elsewhere, to be forward compatible.
For example: `event.copy(properties = redactProperties(event.properties))`
----------------------------------------------------------------
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]