Commit f807bd2
committed
[SPARK-44857][CORE][UI] Fix
### What changes were proposed in this pull request?
This PR aims to fix `getBaseURI` errors when we clicks Spark Worker LogPage UI buttons in Apache Spark 3.2.0+.
### Why are the changes needed?
Run a Spark job and open the Spark Worker UI, http://localhost:8081 .
```
$ sbin/start-master.sh
$ sbin/start-worker.sh spark://127.0.0.1:7077
$ bin/spark-shell --master spark://127.0.0.1:7077
```
Click `stderr` and `Load New` button. The button is out of order currently due to the following error because `getBaseURI` is defined in `utils.js`.

### Does this PR introduce _any_ user-facing change?
This will make the buttons work.
### How was this patch tested?
Manual.
Closes #42546 from dongjoon-hyun/SPARK-44857.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>getBaseURI error in Spark Worker LogPage UI buttons1 parent c321b3d commit f807bd2
File tree
1 file changed
+1
-0
lines changed- core/src/main/scala/org/apache/spark/deploy/worker/ui
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| 105 | + | |
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| |||
0 commit comments