You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "stack (Commented) (JIRA)" <ji...@apache.org> on 2012/02/01 00:57:58 UTC

[jira] [Commented] (HBASE-3859) Increment a counter when a Scanner lease expires

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

stack commented on HBASE-3859:
------------------------------

Patch looks good. 

Any evidence it works Mubarak?
                
> Increment a counter when a Scanner lease expires
> ------------------------------------------------
>
>                 Key: HBASE-3859
>                 URL: https://issues.apache.org/jira/browse/HBASE-3859
>             Project: HBase
>          Issue Type: Improvement
>          Components: metrics, regionserver
>    Affects Versions: 0.90.2
>            Reporter: Benoit Sigoure
>            Assignee: Mubarak Seyed
>            Priority: Minor
>         Attachments: HBASE-3859.trunk.v1.patch
>
>
> Whenever a Scanner lease expires, the RegionServer will close it automatically and log a message to complain.  I would like the RegionServer to increment a counter whenever this happens and expose this counter through the metrics system, so we can plug this into our monitoring system (OpenTSDB) and keep track of how frequently this happens.  It's not supposed to happen frequently so it's good to keep an eye on it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira