liupc commented on a change in pull request #27002: [SPARK-30346][CORE]Improve logging when events dropped URL: https://github.com/apache/spark/pull/27002#discussion_r363197914
########## File path: core/src/main/scala/org/apache/spark/scheduler/AsyncEventQueue.scala ########## @@ -67,8 +67,11 @@ private class AsyncEventQueue( /** A counter for dropped events. It will be reset every time we log it. */ private val droppedEventsCounter = new AtomicLong(0L) + /** A counter to keep number of dropped events last time it was logged */ + private var lastDroppedEventsCounter: Long = 0L Review comment: Good comments, I will update. ---------------------------------------------------------------- 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]
