You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Nicolas Spiegelberg (JIRA)" <ji...@apache.org> on 2010/10/11 07:21:23 UTC

[jira] Commented: (HBASE-3102) Enhance HRegionServerMetrics for Long-running Stats

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

Nicolas Spiegelberg commented on HBASE-3102:
--------------------------------------------

A patch will soon be available for this.  I coined the long-running duration a 'marathon'.  New compaction stats & all min/max stats expire after the marathon.  We plan to set it to 1hr, however the default is currently coded to never expire.  This will allow existing clients to upgrade without changing existing functionality.  However, a good case could be made for defaulting this to something like 1hr, so it's one less config knob the user has to explicitly set/find.  Thoughts?


> Enhance HRegionServerMetrics for Long-running Stats
> ---------------------------------------------------
>
>                 Key: HBASE-3102
>                 URL: https://issues.apache.org/jira/browse/HBASE-3102
>             Project: HBase
>          Issue Type: Improvement
>          Components: regionserver
>            Reporter: Nicolas Spiegelberg
>            Assignee: Nicolas Spiegelberg
>             Fix For: 0.90.0
>
>
> A useful metric to observe track is compaction count + duration. Since compactions are long running and only happen infrequently, the avg/opcount stats are should be reset longer than the default polling period (5 sec). In addition to 'hbase.period', we should allow a different duration after which long-running metrics should expire. This would also fix our existing metrics problem where min/max stats are never reset until the process is restarted/upgraded.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.