[
https://issues.apache.org/jira/browse/HBASE-7183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510068#comment-13510068
]
Jean-Daniel Cryans commented on HBASE-7183:
-------------------------------------------
[~sho.shimauchi], do you have a preference as to what constitutes "too big"? 2?
5? Configurable?
Personally I'd be fine with alerting at 2 because any lag is usually bad but we
can't alert at 1 since we'd get spurs of WARNs when the log is rolled.
Next we also need to decide when the alert is sent. In trunk I added a new
stats thread that runs every 5 minutes but it's not very amenable to printing
this kind of warning, so I'd rather do it when the log is rolled. In the worst
case, like when there's an extended network partition, the WARN will be printed
as often as logs are rolled (for each RS).
> 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
>
> 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