spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan Lovett (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-26242) Leading slash breaks proxying
Date Sat, 01 Dec 2018 07:27:00 GMT
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


Mime
View raw message