hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhihong Yu (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5189) Add metrics to keep track of region-splits in RS
Date Sun, 22 Jan 2012 16:02:40 GMT

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

Zhihong Yu commented on HBASE-5189:
-----------------------------------

For the failure case:
{code}
+            this.server.getMetrics().incrementSplitFailureCount();
           } else {
             this.server.abort("Abort; we got an error after point-of-no-return");
{code}
I think getMetrics().incrementSplitFailureCount() should be moved to after this log:
{code}
          LOG.info("Running rollback/cleanup of failed split of " +
            parent.getRegionNameAsString() + "; " + e.getMessage(), e);
{code}
                
> Add metrics to keep track of region-splits in RS
> ------------------------------------------------
>
>                 Key: HBASE-5189
>                 URL: https://issues.apache.org/jira/browse/HBASE-5189
>             Project: HBase
>          Issue Type: Improvement
>          Components: metrics, regionserver
>    Affects Versions: 0.92.0, 0.90.5
>            Reporter: Mubarak Seyed
>            Assignee: Mubarak Seyed
>            Priority: Minor
>              Labels: noob
>         Attachments: HBASE-5189.trunk.v1.patch
>
>
> For write-heavy workload with region-size 1 GB, region-split is considerably high. We
do normally grep the NN log (grep "mkdir*.split" NN.log | sort | uniq -c) to get the count.
> I would like to have a counter incremented each time region-split execution succeeds
and this counter exposed via the metrics stuff in HBase.
> - regionSplitSuccessCount
> - regionSplitFailureCount (will help us to correlate the timestamp range in RS logs across
all RS)

--
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

        

Mime
View raw message