Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/9165#discussion_r42359822
--- 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 --
Don't you just need a `toList` then? indeed a `Seq` may not be
random-access and so hard to sort.
---
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]