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

    https://github.com/apache/spark/pull/1019#discussion_r13955854
  
    --- Diff: core/src/main/scala/org/apache/spark/ui/JettyUtils.scala ---
    @@ -194,11 +194,16 @@ private[spark] object JettyUtils extends Logging {
             case s: Success[_] =>
               (server, server.getConnectors.head.getLocalPort)
             case f: Failure[_] =>
    +          val nextPort = (currentPort + 1) % 65536
               server.stop()
               pool.stop()
    -          logInfo("Failed to create UI at port, %s. Trying 
again.".format(currentPort))
    -          logInfo("Error was: " + f.toString)
    -          connect((currentPort + 1) % 65536)
    +          val msg = s"Failed to create UI on port :$currentPort. Trying 
again on port :$nextPort"
    --- End diff --
    
    The `:` is a place holder for the word "port" in URI's, I it might be 
sufficient to just say "port XX" instead of "port :XX"


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to