GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/20847
[SPARK-23644][CORE][UI] Use absolute path for REST call in SHS
SHS is using a relative path for the REST API call to get the list of the
application is a relative path call. In case of the SHS being consumed through
a proxy, it can be an issue if the path doesn't end with a "/".
Therefore, we should use an absolute path for the REST call as it is done
for all the other resources.
manual tests
Before the change:

After the change:

Author: Marco Gaido <[email protected]>
Closes #20794 from mgaido91/SPARK-23644.
## What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
## How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration
tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise,
remove this)
Please review http://spark.apache.org/contributing.html before opening a
pull request.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-23644_2.3
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20847.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #20847
----
commit f130a3603386acee670788d545a9d38969fcf39f
Author: Marco Gaido <marcogaido91@...>
Date: 2018-03-16T07:12:26Z
[SPARK-23644][CORE][UI] Use absolute path for REST call in SHS
SHS is using a relative path for the REST API call to get the list of the
application is a relative path call. In case of the SHS being consumed through
a proxy, it can be an issue if the path doesn't end with a "/".
Therefore, we should use an absolute path for the REST call as it is done
for all the other resources.
manual tests
Before the change:

After the change:

Author: Marco Gaido <[email protected]>
Closes #20794 from mgaido91/SPARK-23644.
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]