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

    https://github.com/apache/spark/pull/22677#discussion_r226439337
  
    --- 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 --
    
    @vanzin 
    Thanks for your comment.
    Updated code according to your suggestion.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to