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

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

one last change. 
instead of totalSyncedUI = totalSynced.get(); you can assign totalSyncedUI when 
we do totalSynced.addAndGet(syncSlots());
we also have wal.getCorruptedLogs() you may display them as you do for 
wal.getActiveLogs()

then you may move the 3 remaining syncWaitUI, slotIndexUI, syncedPerSecUI 
before the trace and use them in the LOG.trace() but this one is not really 
important since trace will be slow anyway.

> 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, 
> 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