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 2022/11/08 02:50:00 UTC

[jira] [Commented] (SPARK-41032) Spark Web UI

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

Hyukjin Kwon commented on SPARK-41032:
--------------------------------------

[~pgranat] for questions, let's interact with Spark user/dev mailing list for now before filing it as a JIRA.

> Spark Web UI 
> -------------
>
>                 Key: SPARK-41032
>                 URL: https://issues.apache.org/jira/browse/SPARK-41032
>             Project: Spark
>          Issue Type: Question
>          Components: Web UI
>    Affects Versions: 3.2.1
>            Reporter: Pawel Granat
>            Priority: Minor
>              Labels: web-ui
>         Attachments: spark.png
>
>
> Hi everyone,
> I have the following setup. 
>  * Spark 3.2.1 created from bitnami images
>  * Forwarded port 8080 to 12345 in Docker container with spark master: 0.0.0.0:12345->8080/tcp 
> In spark-config:
>  * spark.ui.reverseProxy=true
>  * spark.ui.reverseProxyUrl=[https://host.com/project/spark/]
>  
> Apache 2.4.6 (same host):
>  
> {code:java}
>  RewriteCond %{HTTP:Connection} Upgrade [NC]
>           RewriteCond %{HTTP:Upgrade} websocket [NC]
>           RewriteRule /project/spark/(.*) ws://host.com:12345/$1 [NE,P,L]          ProxyPass /project/spark/ http://host.com:10721/
>           ProxyPassReverse /project/spark/ http://host.com:12345/
>  {code}
>  
>  
>  
> When I access [http://host.com/project/spark/] master ui seems working fine. However If I click on application UI  (running app)
> !spark.png!
>  
> Url is resolved in such a way:
> [https://host.com/project/spark/proxy/app-20221107152648-0484]
> And I've got timeout every single time
>  
> However similar URLs like
> [https://host.com/project/spark/proxy/worker-20221025101018-xxx|https://datahack.corpnet.pl/cvm/spark/proxy/worker-20221025101018-172.26.0.15-45263]
> works fine.
>  
> What can I change to get application detail UI?
>  
> Thanks for feedback,
>  
> Pawel "Paul" Granat
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org