GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/20794
[SPARK-23644][CORE][UI] Use absolute path for REST call in SHS
## What changes were proposed in this pull request?
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.
## How was this patch tested?
manual tests
Before the change:

After the change:

You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-23644
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/20794.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 #20794
----
commit 17ea399162167092e0362f90b49a03397ae82afe
Author: Marco Gaido <marcogaido91@...>
Date: 2018-03-10T15:49:52Z
[SPARK-23644][CORE][UI] Use absolute path for REST call in SHS
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]