sarutak commented on a change in pull request #32381:
URL: https://github.com/apache/spark/pull/32381#discussion_r627121264
##########
File path: core/src/main/scala/org/apache/spark/ui/jobs/AllJobsPage.scala
##########
@@ -118,7 +125,9 @@ private[ui] class AllJobsPage(parent: JobsTab, store:
AppStatusStore) extends We
private def makeExecutorEvent(executors: Seq[v1.ExecutorSummary]):
Seq[String] = {
val events = ListBuffer[String]()
- executors.foreach { e =>
+ executors.sortBy { e =>
+ -math.max(e.addTime.getTime, e.removeTime.map(_.getTime).getOrElse(-1L))
Review comment:
I don't think it's good for executors. If we do so, removed executor can
disappear from the view even if the removal event is the most latest event.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]