You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Liu Shaohui (JIRA)" <ji...@apache.org> on 2013/12/03 10:58:37 UTC

[jira] [Updated] (HBASE-10048) Add hlog number metric in regionserver

     [ https://issues.apache.org/jira/browse/HBASE-10048?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Liu Shaohui updated HBASE-10048:
--------------------------------

    Attachment: HBASE-10048-trunk-v4.diff

Update for Himanshu Vashishtha 's review.

rename to  getNumLogFiles to getNumRolledLogFiles and add actually getNumLogFiles method which contain current hlog file.

For there may be multi hlog writers, we should make this metric contain current hlog files.


> Add hlog number metric in regionserver
> --------------------------------------
>
>                 Key: HBASE-10048
>                 URL: https://issues.apache.org/jira/browse/HBASE-10048
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: Liu Shaohui
>            Assignee: Liu Shaohui
>            Priority: Minor
>         Attachments: HBASE-10048-0.94-v1.diff, HBASE-10048-0.94-v2.diff, HBASE-10048-trunk-v1.diff, HBASE-10048-trunk-v2.diff, HBASE-10048-trunk-v3.diff, HBASE-10048-trunk-v4.diff
>
>
> Add hlog number metric in regionserver. 
> We can use this metric to alert about memstore flush because of too many hlogs.



--
This message was sent by Atlassian JIRA
(v6.1#6144)