hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liu Shaohui (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10048) Add hlog number metric in regionserver
Date Fri, 29 Nov 2013 12:18:35 GMT

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

Liu Shaohui commented on HBASE-10048:
-------------------------------------

It's the problem of code. getFileStatus should be before archiveLogFile
{quote}
-      archiveLogFile(p);
       this.totalLogSize.addAndGet(-this.fs.getFileStatus(p).getLen());
+     archiveLogFile(p);
{quote}

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

Mime
View raw message