[ https://issues.apache.org/jira/browse/SPARK-33579?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17239782#comment-17239782 ]
Apache Spark commented on SPARK-33579: -------------------------------------- User 'pgillet' has created a pull request for this issue: https://github.com/apache/spark/pull/30523 > Executors blank page behind proxy > --------------------------------- > > Key: SPARK-33579 > URL: https://issues.apache.org/jira/browse/SPARK-33579 > Project: Spark > Issue Type: Bug > Components: Spark Core > Affects Versions: 3.0.1 > Environment: Spark 3.0.1 on Kubernetes > Reporter: Pascal GILLET > Priority: Minor > Labels: core, ui > > When accessing the Web UI behind a proxy (e.g. a Kubernetes ingress), > executors page is blank. > In {{/core/src/main/resources/org/apache/spark/ui/static/utils.js}}, we > should avoid the use of location.origin when constructing URLs for internal > API calls within the JavaScript. > Instead, we should use {{apiRoot}} global variable. > On one hand, it would allow to build relative URLs. On the other hand, > {{apiRoot}} reflects the Spark property {{spark.ui.proxyBase}} which can be > set to change the root path of the Web UI. > If {{spark.ui.proxyBase}} is actually set, original URLs become incorrect, > and we end up with an executors blank page. > I encounter this bug when accessing the Web UI behind a proxy (in my case a > Kubernetes Ingress). > > See also > [https://github.com/jupyterhub/jupyter-server-proxy/issues/57#issuecomment-699163115] -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org