[jira] [Commented] (SPARK-21838) "Completed Applications" links not always working in cluster with spark.ui.reverseProxy=true
[ https://issues.apache.org/jira/browse/SPARK-21838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16144115#comment-16144115 ] Alex Bozarth commented on SPARK-21838: -- Given the behavior on master is as you described I would recommend either adding a 404 or redirect functionality to the master branch rather than trying to port the feature that fixed the bug back to 2.1.0 or 2.2.0 > "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.1.0, 2.2.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
[jira] [Commented] (SPARK-21838) "Completed Applications" links not always working in cluster with spark.ui.reverseProxy=true
[ https://issues.apache.org/jira/browse/SPARK-21838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16143718#comment-16143718 ] Ingo Schuster commented on SPARK-21838: --- You are right, on the latest master it behaves differently. Instead of the spark cluster home page, you just get a empty (white) page. This is true for all urls that the proxy cannot serve: it used to just serve the cluster home page and now you get an empty page. This new behaviour prevents the problem I reported above. It probably would be nicer to display some information saying that there is no content to display and offering a link back to the cluster home. > "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.1.0, 2.2.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
[jira] [Commented] (SPARK-21838) "Completed Applications" links not always working in cluster with spark.ui.reverseProxy=true
[ https://issues.apache.org/jira/browse/SPARK-21838?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16141925#comment-16141925 ] Alex Bozarth commented on SPARK-21838: -- This is definitely an issue, could you double check that this also occurs on the latest master? https://github.com/apache/spark/pull/18499 might have indirectly fixed it. > "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.1.0, 2.2.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