spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marco Gaido (JIRA)" <>
Subject [jira] [Commented] (SPARK-26242) Leading slash breaks proxying
Date Sat, 01 Dec 2018 17:02:00 GMT


Marco Gaido commented on SPARK-26242:

You can set {{spark.ui.proxyBase}} or the proxy can set the base path in the {{X-Forwarded-Context}}
HTTP header if you need this to be dynamic and controlled by the proxy.

> Leading slash breaks proxying
> -----------------------------
>                 Key: SPARK-26242
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: Web UI
>    Affects Versions: 2.4.0
>            Reporter: Ryan Lovett
>            Priority: Minor
> The WebUI prefixes "/" at the beginning of each link path (e.g. /jobs) which breaks
navigation when attempting to proxy the app at another URL. In my case, a pyspark user
creates a SparkContext within a JupyterHub-hosted notebook and attempts to proxy it with nbserverproxy
off of address.of.jupyter.hub/user/proxy/4040/. Since WebUI sets the URLs of its pages to
begin with "/", the browser sends the user to address.of.jupyter.hub/jobs, address.of.jupyter.hub/stages,
> Similar: [|]

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message