spark-issues mailing list archives

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


Ryan Lovett commented on SPARK-26242:

Both of these work for all paths like address.of.jupyter.hub/user/proxy/4040/jobs, address.of.jupyter.hub/user/proxy/4040/environment,
etc., except when the user visits the base path itself, address.of.jupyter.hub/user/proxy/4040/.
The webui redirects to address.of.jupyter.hub/jobs/. This happens when configuring proxyBase
or setting X-Forwarded-Context.

> 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