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

Nobuaki Sukegawa updated SPARK-45468:
-------------------------------------
    Summary: More transparent proxy handling for HTTP redirects  (was: Add 
option to use path without hostname for redirects)

> More transparent proxy handling for HTTP redirects
> --------------------------------------------------
>
>                 Key: SPARK-45468
>                 URL: https://issues.apache.org/jira/browse/SPARK-45468
>             Project: Spark
>          Issue Type: Improvement
>          Components: Web UI
>    Affects Versions: 3.5.0
>            Reporter: Nobuaki Sukegawa
>            Priority: Major
>
> Currently, proxies can be made transparent for hyperlinks in Spark web UIs 
> with spark.ui.proxyRoot or X-Forwarded-Context header. However, HTTP 
> redirects (such as job/stage kill) currently requires explicit 
> spark.ui.proxyRedirectUri for handling proxy. This is not ideal as proxy 
> hostname may not be known at the time configuring Spark apps.
> This can be mitigated by using path without hostname (/jobs/, not 
> https://example.com/jobs/). Then redirects behavior would be basically the 
> same way as other hyperlinks.
> While hostname was originally required in RFC 2616 in 1999, since RFC 7231 in 
> 2014 hostname can be formally omitted as most browsers already supported it 
> (it is rather hard to find any browser that doesn't support it).



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

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

Reply via email to