hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian Varley (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5717) Scanner metrics are only reported if you get to the end of a scanner
Date Wed, 04 Apr 2012 19:56:18 GMT

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

Ian Varley commented on HBASE-5717:

The problem is in ClientScanner. writeScanMetrics() is called from two places in next(), and
if your last "next" doesn't result in no more results, it's never called. Fix should be to
call it then, but also call it explicitly from close(). (That allows removing the first call
in next() as well, as it's superfluous then.)
> Scanner metrics are only reported if you get to the end of a scanner
> --------------------------------------------------------------------
>                 Key: HBASE-5717
>                 URL: https://issues.apache.org/jira/browse/HBASE-5717
>             Project: HBase
>          Issue Type: Bug
>          Components: client, metrics
>            Reporter: Ian Varley
>            Priority: Minor
>   Original Estimate: 4h
>  Remaining Estimate: 4h
> When you turn on Scanner Metrics, the metrics are currently only made available if you
run over all records available in the scanner. If you stop iterating before the end, the values
are never flushed into the metrics object (in the Scan attribute).
> Will supply a patch with fix and test.

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