Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6A71F18EF3 for ; Wed, 4 Nov 2015 09:20:28 +0000 (UTC) Received: (qmail 97383 invoked by uid 500); 4 Nov 2015 09:20:28 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 97316 invoked by uid 500); 4 Nov 2015 09:20:28 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 97018 invoked by uid 99); 4 Nov 2015 09:20:28 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2015 09:20:28 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D3DE92C1F70 for ; Wed, 4 Nov 2015 09:20:27 +0000 (UTC) Date: Wed, 4 Nov 2015 09:20:27 +0000 (UTC) From: "Abhishek Singh Chouhan (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13347) RowCounter using special filter is broken MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-13347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14989183#comment-14989183 ] Abhishek Singh Chouhan commented on HBASE-13347: ------------------------------------------------ We should also add a test for the range feature. > 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 > > > 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)