[jira] [Commented] (SPARK-23644) SHS with proxy doesn't show applications
[ https://issues.apache.org/jira/browse/SPARK-23644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401782#comment-16401782 ] Apache Spark commented on SPARK-23644: -- User 'mgaido91' has created a pull request for this issue: https://github.com/apache/spark/pull/20847 > SHS with proxy doesn't show applications > > > Key: SPARK-23644 > URL: https://issues.apache.org/jira/browse/SPARK-23644 > Project: Spark > Issue Type: Improvement > Components: Spark Core, Web UI >Affects Versions: 2.3.0 >Reporter: Marco Gaido >Assignee: Marco Gaido >Priority: Minor > Fix For: 2.4.0 > > > The History server supports being consumed via a proxy using the > {{spark.ui.proxyBase}} property. Despite it works fine if you access the > proxy using a link which ends with "/", it doesn't show any application if > the URL accessed doesn't end with "/", eg. if you access SHS using > {{https://yourproxy.whatever:1234/path/to/historyserver/}} it works fine, but > it you access it using > {{https://yourproxy.whatever:1234/path/to/historyserver}} no application is > shown. > The cause of this is that the call to the REST API to get the list of the > application is a relative path call. So in the second case, instead of > performing a GET to > {{https://yourproxy.whatever:1234/path/to/historyserver/api/v1/applications}}, > it performs a call to > {{https://yourproxy.whatever:1234/path/to/api/v1/applications}}. -- 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
[jira] [Commented] (SPARK-23644) SHS with proxy doesn't show applications
[ https://issues.apache.org/jira/browse/SPARK-23644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16401538#comment-16401538 ] Saisai Shao commented on SPARK-23644: - Fixed in https://github.com/apache/spark/pull/20794. > SHS with proxy doesn't show applications > > > Key: SPARK-23644 > URL: https://issues.apache.org/jira/browse/SPARK-23644 > Project: Spark > Issue Type: Improvement > Components: Spark Core, Web UI >Affects Versions: 2.3.0 >Reporter: Marco Gaido >Assignee: Marco Gaido >Priority: Minor > Fix For: 2.4.0 > > > The History server supports being consumed via a proxy using the > {{spark.ui.proxyBase}} property. Despite it works fine if you access the > proxy using a link which ends with "/", it doesn't show any application if > the URL accessed doesn't end with "/", eg. if you access SHS using > {{https://yourproxy.whatever:1234/path/to/historyserver/}} it works fine, but > it you access it using > {{https://yourproxy.whatever:1234/path/to/historyserver}} no application is > shown. > The cause of this is that the call to the REST API to get the list of the > application is a relative path call. So in the second case, instead of > performing a GET to > {{https://yourproxy.whatever:1234/path/to/historyserver/api/v1/applications}}, > it performs a call to > {{https://yourproxy.whatever:1234/path/to/api/v1/applications}}. -- 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
[jira] [Commented] (SPARK-23644) SHS with proxy doesn't show applications
[ https://issues.apache.org/jira/browse/SPARK-23644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394243#comment-16394243 ] Apache Spark commented on SPARK-23644: -- User 'mgaido91' has created a pull request for this issue: https://github.com/apache/spark/pull/20794 > SHS with proxy doesn't show applications > > > Key: SPARK-23644 > URL: https://issues.apache.org/jira/browse/SPARK-23644 > Project: Spark > Issue Type: Improvement > Components: Spark Core, Web UI >Affects Versions: 2.3.0 >Reporter: Marco Gaido >Priority: Minor > > The History server supports being consumed via a proxy using the > {{spark.ui.proxyBase}} property. Despite it works fine if you access the > proxy using a link which ends with "/", it doesn't show any application if > the URL accessed doesn't end with "/", eg. if you access SHS using > {{https://yourproxy.whatever:1234/path/to/historyserver/}} it works fine, but > it you access it using > {{https://yourproxy.whatever:1234/path/to/historyserver}} no application is > shown. > The cause of this is that the call to the REST API to get the list of the > application is a relative path call. So in the second case, instead of > performing a GET to > {{https://yourproxy.whatever:1234/path/to/historyserver/api/v1/applications}}, > it performs a call to > {{https://yourproxy.whatever:1234/path/to/api/v1/applications}}. -- 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