You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Pawel Granat (Jira)" <ji...@apache.org> on 2022/11/07 19:48:00 UTC

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

Pawel Granat created SPARK-41032:
------------------------------------

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


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)

 

!image-2022-11-07-20-42-20-679.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