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

    https://github.com/apache/spark/pull/16582#discussion_r97479049
  
    --- Diff: core/src/main/scala/org/apache/spark/ui/JettyUtils.scala ---
    @@ -274,25 +277,28 @@ private[spark] object JettyUtils extends Logging {
           conf: SparkConf,
           serverName: String = ""): ServerInfo = {
     
    -    val collection = new ContextHandlerCollection
         addFilters(handlers, conf)
     
         val gzipHandlers = handlers.map { h =>
    +      h.setVirtualHosts(Array("@" + SPARK_CONNECTOR_NAME))
    --- End diff --
    
    Do we need this code here? `setVirtualHosts` should always be called in 
`addHandler` for each handler right?


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