Ingo Schuster created SPARK-21838:
-------------------------------------

             Summary: "Completed Applications" links not always working in 
cluster with spark.ui.reverseProxy=true
                 Key: SPARK-21838
                 URL: https://issues.apache.org/jira/browse/SPARK-21838
             Project: Spark
          Issue Type: Bug
          Components: Web UI
    Affects Versions: 2.2.0, 2.1.0
         Environment: Spark Cluster with reverse proxy enabled:

spark.ui.reverseProxyUrl=http://127.0.1.1:8080/
spark.ui.reverseProxy=true
            Reporter: Ingo Schuster


1. Using a Spark Cluster with reverse Proxy enabled, web UI is at: 
http://127.0.0.1:8080/
2, Starting an application and enter the application specific web UI (by 
clicking on the application name): 
http://127.0.0.1:8080/proxy/app-20170825151733-0001/jobs/
3. If you click on any link (e.g. on the "Executors") +after the application 
has terminated+, the Spark master UI will be served again, howeverthis is done 
under the URL of the executors page:  
http://127.0.0.1:8080/proxy/app-20170825151733-0001/executors/
4. When you now click on the link to the just completed application, nothing 
happens (you stay on the master web UI home page): 
http://127.0.0.1:8080/proxy/app-20170825151733-0001/executors/app?appId=app-20170825151733-0001

Problem is that in step 3, we cannot serve the applications executors page 
since it already terminated. Falling back to the master web UI home page is ok, 
but it should be done with an http redirect to that the relative URLs on the 
master home page are build with the correct base URL.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to