You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars George (JIRA)" <ji...@apache.org> on 2015/03/27 11:34:53 UTC
[jira] [Commented] (HBASE-13347) RowCounter using special filter is
broken
[ https://issues.apache.org/jira/browse/HBASE-13347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14383637#comment-14383637 ]
Lars George commented on HBASE-13347:
-------------------------------------
The patch in HBASE-6468 has the lines needed. They are missing in the committed code.
> RowCounter using special filter is broken
> -----------------------------------------
>
> Key: HBASE-13347
> URL: https://issues.apache.org/jira/browse/HBASE-13347
> Project: HBase
> Issue Type: Bug
> Components: mapreduce
> Affects Versions: 1.0.0
> Reporter: Lars George
>
> The {{RowCounter}} in the {{mapreduce}} package is supposed to check if the row count scan has a column selection added to it, and if so, use a different filter that finds the row and counts it. But the {{qualifier.add()}} call is missing in the {{for}} loop. See https://github.com/apache/hbase/blob/master/hbase-server/src/main/java/org/apache/hadoop/hbase/mapreduce/RowCounter.java#L165
> Needs fixing or row count might be wrong when using {{--range}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)