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

    https://github.com/apache/spark/pull/9165#discussion_r42387038
  
    --- 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 --
    
    Fair enough, though I wonder then why the `Seq` didn't work. Not a big deal 
but I can't see a good semantic reason for `sortBy` to not work but `sortWith` 
to work.


---
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]

Reply via email to