Uh oh!
There was an error while loading. Please reload this page.
HBASE-29531 Migrate RegionServer Status Jamon page back to JSP - #7590
Conversation
…e#7371) This is the 2/3 step of the Jamon to JSP migration: the Region Server Status page. Did the migration the same way as for the Master Status page: apache#6875 Migrated the Jamon code to JSP as close as possible. Extracted the duplicated `formatZKString` method to new java class: ZKStringFormatter and added unit tests. Changed the Region Server Status page back to `/regionserver.jsp`. Made sure that `/rs-status` redirects to `/regionserver.jsp`. Extracted the BlockCache inline CSS styles to `hbase.css` file. Also extracted the large BlockCache Hit Ratio periods paging JavaScript code to separate .js file. Introduced a `src/main/resources/hbase-webapps/common` directory where we can place common JSP files which are used by both Master and RegionServer JSP pages. This required to adjust the JSP compiler Maven Antrun plugin a bit. Extracted the inline tablesorter initialization JavaScript code to separate file. Signed-off-by: Duo Zhang <zhangduo@apache.org> (cherry picked from commit 7892207)
This is a backport of #7371 to TestingTested this locally the same way as described here: #7371 (comment) |
Apache-HBase
commented
Jan 5, 2026
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 5, 2026
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 5, 2026
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 5, 2026
💔 -1 overall
This message was automatically generated. |
Made sure that the Content-Type HTTP header includes the UTF-8 charset when the RegionServer status web UI page is returned so that it is consistent with Master Status web UI page.
Apache-HBase
commented
Jan 6, 2026
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 6, 2026
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 6, 2026
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Jan 6, 2026
🎊 +1 overall
This message was automatically generated. |
Uh oh!
There was an error while loading. Please reload this page.
This is the 2/3 step of the Jamon to JSP migration: the Region Server Status page.
Did the migration the same way as for the Master Status page: #6875
Migrated the Jamon code to JSP as close as possible. Extracted the duplicated
formatZKStringmethod to new java class: ZKStringFormatter and added unit tests.Changed the Region Server Status page back to
/regionserver.jsp. Made sure that/rs-statusredirects to/regionserver.jsp.Extracted the BlockCache inline CSS styles to
hbase.cssfile. Also extracted the large BlockCache Hit Ratio periods paging JavaScript code to separate .js file.Introduced a
src/main/resources/hbase-webapps/commondirectory where we can place common JSP files which are used by both Master and RegionServer JSP pages. This required to adjust the JSP compiler Maven Antrun plugin a bit.Extracted the inline tablesorter initialization JavaScript code to separate file.
(cherry picked from commit 7892207)