File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
core/src/main/scala/org/apache/spark Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ private[spark] class EventLoggingListener(
127127 logEvent(event, flushLogger = true )
128128 override def onApplicationEnd (event : SparkListenerApplicationEnd ) =
129129 logEvent(event, flushLogger = true )
130+ // No-op because logging every update would be overkill
131+ override def onExecutorMetricsUpdate (event : SparkListenerExecutorMetricsUpdate ) { }
130132
131133 /**
132134 * Stop logging events.
Original file line number Diff line number Diff line change @@ -72,8 +72,9 @@ private[spark] object JsonProtocol {
7272 case applicationEnd : SparkListenerApplicationEnd =>
7373 applicationEndToJson(applicationEnd)
7474
75- // Not used, but keeps compiler happy
75+ // These aren't used, but keeps compiler happy
7676 case SparkListenerShutdown => JNothing
77+ case SparkListenerExecutorMetricsUpdate (_, _) => JNothing
7778 }
7879 }
7980
You can’t perform that action at this time.
0 commit comments