You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:33:32 UTC

[jira] [Resolved] (SPARK-8523) Spark streaming static files not found when running web ui under virtual host

     [ https://issues.apache.org/jira/browse/SPARK-8523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon resolved SPARK-8523.
---------------------------------
    Resolution: Incomplete

> Spark streaming static files not found when running web ui under virtual host
> -----------------------------------------------------------------------------
>
>                 Key: SPARK-8523
>                 URL: https://issues.apache.org/jira/browse/SPARK-8523
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 1.4.0
>            Reporter: Ho Tien Vu
>            Priority: Minor
>              Labels: bulk-closed, streaming, visualization, web-ui
>
> I'm currently running Spark Standalone cluster on an environment where one security enforcement requires that only one port 80 is open. Therefore any web ui needs to run under virtual hosts of the node where port 80 is open. 
> In the machine where httpd runs:
> /etc/httpd/conf.d /spark-master.conf: /spark-master -> spark-master-ip:18080
> Before 1.4.0 all static files resides under spark-core ui and served from /static/. So I just need to set spark.ui.proxyBase to /spark-master and the path will be correct. However in 1.4.0, some files are located in /static/streaming therefore are not found. Since I can't use two different proxyBase, the only workaround now is to copy all static files in streaming to core.



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