wypoon commented on a change in pull request #29020:
URL: https://github.com/apache/spark/pull/29020#discussion_r460464908
##########
File path: core/src/main/scala/org/apache/spark/status/AppStatusListener.scala
##########
@@ -868,13 +868,17 @@ private[spark] class AppStatusListener(
// check if there is a new peak value for any of the executor level memory
metrics
// for the live UI. SparkListenerExecutorMetricsUpdate events are only
processed
// for the live UI.
- event.executorUpdates.foreach { case (_, peakUpdates) =>
+ event.executorUpdates.foreach { case (key, peakUpdates) =>
liveExecutors.get(event.execId).foreach { exec =>
if (exec.peakExecutorMetrics.compareAndUpdatePeakValues(peakUpdates)) {
maybeUpdate(exec, now)
Review comment:
Thanks for the explanation.
----------------------------------------------------------------
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]