Github user Ngone51 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21221#discussion_r187244792
  
    --- Diff: 
core/src/main/scala/org/apache/spark/scheduler/EventLoggingListener.scala ---
    @@ -169,6 +179,27 @@ private[spark] class EventLoggingListener(
     
       // Events that trigger a flush
       override def onStageCompleted(event: SparkListenerStageCompleted): Unit 
= {
    +    // log the peak executor metrics for the stage, for each executor
    +    val accumUpdates = new ArrayBuffer[(Long, Int, Int, 
Seq[AccumulableInfo])]()
    +    val executorMap = liveStageExecutorMetrics.remove(
    --- End diff --
    
    Do we always post a `SparkListenerStageCompleted` event for failed satges 
(I can't rememer clearly)? If not, I think we should clean up other attempts of 
the same stage here.  


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to