012huang opened a new pull request #25949: [SPARK-29273] set the right 
peakExecutionMemory value when the task end
URL: https://github.com/apache/spark/pull/25949
 
 
   in TaskMetrics, there is a exposed metrics peakExecutionMemory, but the 
value never been set. when a task is finished, it generate a 
SparkListenerTaskEnd event info, incuding the metrics value. actually the 
peakExecutionMemory is stored in the Accumulables which is a member of TaskInfo.
   
   so when parse the SparkListenerTaskEnd event, we can get the 
`internal.metrics.peakExecutionMemory` value from the parsed taskInfo object, 
and set back to the TaskMetricsInfo with supply a setPeakExecutionMemory method.
   

----------------------------------------------------------------
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]


With regards,
Apache Git Services

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

Reply via email to