[ 
https://issues.apache.org/jira/browse/HBASE-15144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15157128#comment-15157128
 ] 

Matteo Bertozzi commented on HBASE-15144:
-----------------------------------------

I think the jsp pages are stateless. 
to start with we should just make syncWaitUI, slotIndexUI, totalSyncedUI, 
syncedPerSecUI a circular buffer of 10 item or so (maybe add a conf 
hbase.procedure.store.wal.sync.stats.count) and then just display them with a 
for loop. the current page is good, but when I was looking at the page I 
realized that a single value does not have much meaning.
later we may add more stuff like an histogram, but for now a simple list of N 
items is ok.

> Procedure v2 - Web UI displaying Store state
> --------------------------------------------
>
>                 Key: HBASE-15144
>                 URL: https://issues.apache.org/jira/browse/HBASE-15144
>             Project: HBase
>          Issue Type: Sub-task
>          Components: proc-v2, UI
>            Reporter: Matteo Bertozzi
>            Assignee: Samir Ahmic
>            Priority: Minor
>             Fix For: 2.0.0, 1.3.0
>
>         Attachments: HBASE-15144_v0.patch, HBASE-15144_v1.patch, 
> HBASE-15144_v2.patch, WALStoreUI.png
>
>
> The procedure webui page should show information about the WALProcedureStore.
>  * number/list/size of WALs active
>  * we may extract the "Sync wait %s, slotIndex=%s , totalSynced=%s (%s/sec)" 
> that today is only in LOG.trace()
>  * we have a getMillisToNextPeriodicRoll() and getMillisFromLastRoll() if 
> anyone want to see that



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to