hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-6323) [replication] most of the source metrics are wrong when there's multiple slaves
Date Fri, 06 Jul 2012 21:24:39 GMT

     [ https://issues.apache.org/jira/browse/HBASE-6323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Elliott Clark updated HBASE-6323:

    Attachment: HBASE-6323-0.patch

First try at it.  I'm not 100% sure that I am using the metrics2 stuff correctly.  I'm going
to spin up a couple clusters to test, but I wanted jenkins to take a crack at it.
> [replication] most of the source metrics are wrong when there's multiple slaves
> -------------------------------------------------------------------------------
>                 Key: HBASE-6323
>                 URL: https://issues.apache.org/jira/browse/HBASE-6323
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.0
>            Reporter: Jean-Daniel Cryans
>            Assignee: Elliott Clark
>             Fix For: 0.96.0, 0.94.2
>         Attachments: HBASE-6323-0.patch
> Most of the metrics in replication were written with 1 slave in mind but with multiple
slaves the issue really shows. Most of the metrics are set directly:
> {code}
> public void enqueueLog(Path log) {
>   this.queue.put(log);
>   this.metrics.sizeOfLogQueue.set(queue.size());
> }
> {code}
> So {{sizeOfLogQueue}} is always showing the size of the queue that updated the metric
> I'm not sure what's the right way to fix this since we can't have dynamic metrics. Merging
them would work here but it wouldn't work so well with {{ageOfLastShippedOp}} since the age
can be different and it definitely cannot be summed.
> Assigning to Elliott since he seems to dig metrics these days. 

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


View raw message