obobj commented on PR #37577:
URL: https://github.com/apache/spark/pull/37577#issuecomment-1221969906
> @obobj The file utils.js is not in every header.
>
> ```
> $ find . -name "*.scala"|xargs grep utils.js
> ./core/src/main/scala/org/apache/spark/ui/exec/ExecutorsTab.scala:
<script src={UIUtils.prependBaseUri(request, "/static/utils.js")}></script> ++
> ./core/src/main/scala/org/apache/spark/ui/jobs/StagePage.scala:
<script src={UIUtils.prependBaseUri(request, "/static/utils.js")}></script>
> ./core/src/main/scala/org/apache/spark/deploy/history/HistoryPage.scala:
<script src={UIUtils.prependBaseUri(request, "/static/utils.js")}></script>
> ```
>
> Could you describe how to reproduce the issue in the PR description? If
necessary, we can add the file to the problematic page's header.
Chrome Version: 103.0.5060.114
Spark Version:3.2

Clicking the Load New button does not respond, and the console prompts that
getBaseURI is not defined

The Load New button corresponds to function loadNew(), loadNew() calls
function getRESTEndPoint(), function getRESTEndPoint calls getBaseURI()
<img width="531" alt="image"
src="https://user-images.githubusercontent.com/15715341/185865821-2de83b48-b4dc-42cf-9754-e32476f94329.png">
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]