Github user vanzin commented on a diff in the pull request:
https://github.com/apache/spark/pull/22677#discussion_r226392016
--- Diff:
core/src/main/scala/org/apache/spark/scheduler/AsyncEventQueue.scala ---
@@ -169,7 +169,8 @@ private class AsyncEventQueue(
val prevLastReportTimestamp = lastReportTimestamp
lastReportTimestamp = System.currentTimeMillis()
val previous = new java.util.Date(prevLastReportTimestamp)
- logWarning(s"Dropped $droppedCount events from $name since
$previous.")
+ logWarning(s"Dropped $droppedCount events from $name since " +
+ s"${if (prevLastReportTimestamp == 0) "the application starts"
else s"$previous"}.")
--- End diff --
Actually the previous version was grammatically correct. Either:
- since the application started
- since the start of the application
But not the current version...
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]