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

Anoop Sam John commented on HBASE-13347:
----------------------------------------

So there is no bug as such..  We just do some code cleanup in this Jira.  And 
we will deprecate that fancy Filter also..   We can change this Jira title and 
decr then.  Else it will give an indication that a bug existing in older 
versions (which is not). Mind doing that?

We can aim this jira mainly to deprecate/remove that Filter.

> 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
>             Fix For: 2.0.0, 1.3.0, 1.2.1, 1.1.4, 1.0.4
>
>         Attachments: HBASE-13347-master.patch
>
>
> 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)

Reply via email to