Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/20481#discussion_r165934385
  
    --- Diff: 
core/src/main/scala/org/apache/spark/status/AppStatusListener.scala ---
    @@ -875,8 +875,8 @@ private[spark] class AppStatusListener(
           return
         }
     
    -    val toDelete = KVUtils.viewToSeq(kvstore.view(classOf[JobDataWrapper]),
    -        countToDelete.toInt) { j =>
    +    val view = 
kvstore.view(classOf[JobDataWrapper]).index("completionTime").first(0L)
    --- End diff --
    
    use `TaskIndexNames.COMPLETION_TIME`?


---

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

Reply via email to