shuyouZZ opened a new pull request, #42378:
URL: https://github.com/apache/spark/pull/42378

   ### What changes were proposed in this pull request?
   Log eventLog rewrite duration when compact old event log files.
   
   
   ### Why are the changes needed?
   When enable `spark.eventLog.rolling.enabled` and the number of eventLog 
files exceeds the value of 
`spark.history.fs.eventLog.rolling.maxFilesToRetain`, HistoryServer will 
compact the old event log files into one compact file.
   
   Currently there is no log the rewrite duration in rewrite method, this 
metric is useful for understand the compact duration, so we need add logs in 
the method.
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Manual test.
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to