PDavid opened a new pull request, #7590:
URL: https://github.com/apache/hbase/pull/7590

   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: 
https://github.com/apache/hbase/pull/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.
   
   
   (cherry picked from commit 78922077a69765f91071b35fe77c323e253243cb)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to