Github user squito commented on a diff in the pull request:
https://github.com/apache/spark/pull/9165#discussion_r42378532
--- Diff:
core/src/main/scala/org/apache/spark/deploy/master/ui/ApplicationPage.scala ---
@@ -43,8 +43,9 @@ private[ui] class ApplicationPage(parent: MasterWebUI)
extends WebUIPage("app")
return UIUtils.basicSparkPage(msg, "Not Found")
}
- val executorHeaders = Seq("ExecutorID", "Worker", "Cores", "Memory",
"State", "Logs")
+ val executorHeaders = Seq("Executor ID", "Worker", "Cores", "Memory",
"State", "Logs")
val allExecutors = (app.executors.values ++
app.removedExecutors).toSet.toSeq
+ .sortWith(_.id < _.id)
--- End diff --
@srowen actually Scala's `List` is a linked list. You may want
`toIndexedSeq`. In any case, I think all of them will dump the data into an
array for sorting (even `ArrayBuffer`), so it probably doesn't matter.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]