[ 
https://issues.apache.org/jira/browse/SPARK-24621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16785583#comment-16785583
 ] 

Gabor Somogyi commented on SPARK-24621:
---------------------------------------

I've analyzed through this issue with the latest master branch and here are my 
findings:
* Steps what I've done: 
https://gist.github.com/gaborgsomogyi/03bade548902f74cac7d0962f76c76f1
* Secure master/worker/spark-shell connection works fine
* On the spark master webpage "Workers" section -> "Worker Id" field is 
pointing to an URL where scheme not added (so http) and port is 8080 (http port)
* On the spark master webpage "Running Applications" section -> "Name" field is 
pointing to an URL where scheme not added (so http) and port is 4040 (http port)

In both cases when one clicks on the mentioned unsecure links the request 
forwarded to the secure page.
Please see the functionality 
[here|https://github.com/apache/spark/blob/3fcbc7fb9f7b58b040a85289a82cf551d51bac37/core/src/main/scala/org/apache/spark/ui/JettyUtils.scala#L328].
>From my perspective it's more like a cosmetic change than a heavy bugfix.

[~toopt4] I think the commented fix is just bad because boundPort is pointing 
to the http port but in secure case securePort has to be used.


> WebUI - application 'name' urls point to http instead of https (even when ssl 
> enabled)
> --------------------------------------------------------------------------------------
>
>                 Key: SPARK-24621
>                 URL: https://issues.apache.org/jira/browse/SPARK-24621
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 2.3.1
>            Reporter: t oo
>            Priority: Major
>         Attachments: spark_master-one-app.png
>
>
> See attached
> ApplicationID correctly points to DNS url
> but Name points to IP address
> Update: I found setting SPARK_PUBLIC_DNS to DNS hostname will make Name point 
> to DNS. BUT it will use http instead of https!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to