[
https://issues.apache.org/jira/browse/HBASE-28983?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17900324#comment-17900324
]
Dávid Paksy commented on HBASE-28983:
-------------------------------------
It seems that copying the hbase-thrift/src/main/resources/hbase-webapps/static
folder under hbase-rest/src/main/resources/hbase-webapps and then rebuilding
the hbase-rest project and restarting the HBase rest server solves the issue.
The static resources (JQuery, Bootstrap, CSS, JS, images) are already
duplicated in the hbase-thrift and hbase-server projects just these are missing
in hbase-rest.
In production we use ${HBASE-HOME}/hbase-webapps as a source of the web files
(so in this case the files are not duplicated).
> Static resources are not loaded on REST web UI pages
> ----------------------------------------------------
>
> Key: HBASE-28983
> URL: https://issues.apache.org/jira/browse/HBASE-28983
> Project: HBase
> Issue Type: Bug
> Components: REST
> Affects Versions: 4.0.0-alpha-1
> Reporter: Dávid Paksy
> Priority: Major
> Attachments: image-2024-11-20-12-38-16-447.png, screenshot-1.png
>
>
> The HBase REST server component has a web UI (exposes an info servlet on the
> hbase.rest.info.port, default: 8085).
>
> While working on HBASE-28832 noticed that with the git cloned project,
> started REST server, on these REST web UI pages the static resources
> (images, CSS, JS files) are not loaded (server responds with HTTP 404 Not
> Found).
>
> !image-2024-11-20-12-38-16-447.png|width=453,height=323!
>
> In the downloaded HBase 2.5.9 distribution this was still working:
> !screenshot-1.png|width=543,height=228!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)