Dávid Paksy created HBASE-29093:
-----------------------------------
Summary: HBase UI always tries to load userSnapshots.jsp - not
just 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
Reporter: Dávid Paksy
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!
This happens even on RegionServer UI or REST UI where this call usually fails
with HTTP 500.
!image-2025-01-23-10-30-41-255.png!
!image-2025-01-23-10-30-56-087.png!
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)