You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Michael Webster (JIRA)" <ji...@apache.org> on 2013/08/02 07:01:49 UTC

[jira] [Commented] (HBASE-7183) print WARN message if hbase.replication.sizeOfLogQueue is too big

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

Michael Webster commented on HBASE-7183:
----------------------------------------

Hi,

Here is a patch that checks the queue size against a configurable property, replication.source.log.queue.warn, each time a new log is enqueued.  Per the above comments, the default threshold for printing the log message is 2.
                
> print WARN message if hbase.replication.sizeOfLogQueue is too big
> -----------------------------------------------------------------
>
>                 Key: HBASE-7183
>                 URL: https://issues.apache.org/jira/browse/HBASE-7183
>             Project: HBase
>          Issue Type: Improvement
>          Components: Replication
>            Reporter: Sho Shimauchi
>              Labels: noob
>         Attachments: HBASE_7183.patch
>
>
> A metric hbase.replication.sizeOfLogQueue may become big when replication is delaying.
> It would be useful if HBase prints WARN log which tells hbase.replication.sizeOfLogQueue is too big.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira