[
https://issues.apache.org/jira/browse/HBASE-29093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Peter Somogyi reopened HBASE-29093:
-----------------------------------
Reopening for branch-2 backport.
> Load userSnapshots.jsp only on master status page
> -------------------------------------------------
>
> Key: HBASE-29093
> URL: https://issues.apache.org/jira/browse/HBASE-29093
> Project: HBase
> Issue Type: Bug
> Components: UI
> Affects Versions: 4.0.0-alpha-1, 2.7.0, 3.0.0-beta-2, 2.5.11, 2.6.2
> Reporter: Dávid Paksy
> Assignee: Dávid Paksy
> Priority: Minor
> Labels: pull-request-available
> Fix For: 4.0.0-alpha-1, 2.7.0, 3.0.0-beta-2, 2.6.3, 2.5.12
>
> Attachments: image-2025-01-23-10-29-50-846.png,
> image-2025-01-23-10-30-41-255.png, image-2025-01-23-10-30-56-087.png
>
>
> h2. Scenario
> Opening HBase UI pages, checking browser developer console.
>
> h2. Actual result
> HBase UI always tries to load {{userSnapshots.jsp}} with an AJAX request on
> all UI pages - *NOK* (x)
> !image-2025-01-23-10-29-50-846.png|width=1060,height=646!
> This happens even on RegionServer UI or REST UI where this call always fails
> with HTTP 500. (There is no such jsp in those web apps)
> !image-2025-01-23-10-30-41-255.png|width=1015,height=619!
> !image-2025-01-23-10-30-56-087.png|width=1048,height=639!
>
> h2. Expected result
> HBase UI *should only load {{userSnapshots.jsp}} on the Master UI status
> page* because only that page has the Snapshots section (div with
> {{tab_userSnapshots}} ID)
> h2. Additional information
> HBase UI pages (usually footer.jsp files) are including the
> {{/static/js/tab.js}} file which always fires an AJAX request to load
> {{userSnapshots.jsp}} from the server and load the response into the
> Snapshots section (div with {{tab_userSnapshots}} ID).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)