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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to