You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "t oo (JIRA)" <ji...@apache.org> on 2018/07/01 09:37:00 UTC
[jira] [Comment Edited] (SPARK-24621) WebUI - application 'name'
urls point to http instead of https (even when ssl enabled)
[ https://issues.apache.org/jira/browse/SPARK-24621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16528572#comment-16528572 ]
t oo edited comment on SPARK-24621 at 7/1/18 9:36 AM:
------------------------------------------------------
[https://github.com/apache/spark/pull/21514/commits]
[core/src/main/scala/org/apache/spark/deploy/master/Master.scala|https://github.com/apache/spark#diff-29dffdccd5a7f4c8b496c293e87c8668]
val SSL_ENABLED = conf.getBoolean("spark.ssl.enabled", false)
var uriScheme = "http://"
if (SSL_ENABLED)
{ uriScheme = "https://" }
masterWebUiUrl = uriScheme + masterPublicAddress + ":" + webUi.boundPort
//masterWebUiUrl = "http://" + masterPublicAddress + ":" + webUi.boundPort
was (Author: toopt4):
[https://github.com/apache/spark/pull/21514/commits]
[core/src/main/scala/org/apache/spark/deploy/master/Master.scala|https://github.com/apache/spark#diff-29dffdccd5a7f4c8b496c293e87c8668]
val SSL_ENABLED = conf.getBoolean("spark.ssl.enabled", false)
val uriScheme = "http://"
if (SSL_ENABLED) {
uriScheme = "https://"
}
masterWebUiUrl = uriScheme + masterPublicAddress + ":" + webUi.boundPort
//masterWebUiUrl = "http://" + masterPublicAddress + ":" + webUi.boundPort
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org