Uh oh!
There was an error while loading. Please reload this page.
HBASE-29531 Migrate RegionServer Status Jamon page back to JSP - #7492
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)
PDavid
commented
Dec 1, 2025
This is a backport of #7371 to TestingTested this locally the same way as described here: #7371 (comment) Also configured HBase in pseudo-distributed mode and checked the RS Status page. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Assert content type `text/html;charset=utf-8` vs `text/html`.
Apache-HBase
commented
Dec 2, 2025
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 2, 2025
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 2, 2025
💔 -1 overall
This message was automatically generated. |
Apache-HBase
commented
Dec 2, 2025
🎊 +1 overall
This message was automatically generated. |
PDavid
commented
Dec 3, 2025
|
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.
Signed-off-by: Duo Zhang zhangduo@apache.org
(cherry picked from commit 7892207)