Add a metric to keep track of slow HLog appends
-----------------------------------------------
Key: HBASE-3565
URL: https://issues.apache.org/jira/browse/HBASE-3565
Project: HBase
Issue Type: Improvement
Components: regionserver
Reporter: Benoit Sigoure
Whenever an edit takes too long to be written to an HLog, HBase logs a warning
such as this one:
{code}
2011-02-23 20:03:14,703 WARN org.apache.hadoop.hbase.regionserver.wal.HLog: IPC
Server handler 21 on 60020 took 15065ms appending an edit to hlog;
editcount=126050
{code}
I would like to have a counter incremented each time this happens and this
counter exposed via the metrics stuff in HBase so I can collect it in my
monitoring system.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira