Commit f130a36
committed
[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 <marcogaido91@gmail.com>
Closes #20794 from mgaido91/SPARK-23644.1 parent 285b841 commit f130a36
File tree
1 file changed
+2
-2
lines changed- core/src/main/resources/org/apache/spark/ui/static
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | | - | |
| 111 | + | |
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
0 commit comments