You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ryan Lovett (JIRA)" <ji...@apache.org> on 2018/12/01 07:27:00 UTC

[jira] [Created] (SPARK-26242) Leading slash breaks proxying

Ryan Lovett created SPARK-26242:
-----------------------------------

             Summary: Leading slash breaks proxying
                 Key: SPARK-26242
                 URL: https://issues.apache.org/jira/browse/SPARK-26242
             Project: Spark
          Issue Type: Bug
          Components: Web UI
    Affects Versions: 2.4.0
            Reporter: Ryan Lovett


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, etc.

 

Similar: [https://github.com/mesosphere/spark/commit/ada99f1b3801e81db2e367f219377e93f5d32655|https://github.com/apache/spark/pull/11369]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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