Return-Path: X-Original-To: apmail-hbase-dev-archive@www.apache.org Delivered-To: apmail-hbase-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C20CD10CB5 for ; Mon, 2 Dec 2013 10:36:55 +0000 (UTC) Received: (qmail 92969 invoked by uid 500); 2 Dec 2013 10:36:53 -0000 Delivered-To: apmail-hbase-dev-archive@hbase.apache.org Received: (qmail 92502 invoked by uid 500); 2 Dec 2013 10:36:36 -0000 Mailing-List: contact dev-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list dev@hbase.apache.org Received: (qmail 92349 invoked by uid 99); 2 Dec 2013 10:36:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 Dec 2013 10:36:35 +0000 Date: Mon, 2 Dec 2013 10:36:35 +0000 (UTC) From: "Vikram Singh Chandel (JIRA)" To: dev@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (HBASE-10067) Filters are not applied to Coprocessor if columns are added to the scanner MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Vikram Singh Chandel created HBASE-10067: -------------------------------------------- Summary: Filters are not applied to Coprocessor if columns are added to the scanner Key: HBASE-10067 URL: https://issues.apache.org/jira/browse/HBASE-10067 Project: HBase Issue Type: Bug Components: Coprocessors, Filters, Scanners Affects Versions: 0.94.6 Environment: Linux 2.6.32-279.11.1.el6.x86_64 Reporter: Vikram Singh Chandel While applying columns to scanner in coprocessor the filtering does not happen and entire scan of the table is done Total Rows in Table: 8.1 million Expected Result :8788 Actual Result: 8.1 million Code Snippet: Scan scan = new Scan(); scan.addColumn(family, qualifier);//Entire scan happens Filters are ignored SingleColumnValueFilter filterOne =new SingleColumnValueFilter(colFal,col, CompareOp.EQUAL, val); filterOne.setFilterIfMissing(true); FilterList filter = new FilterList(Operator.MUST_PASS_ALL, Arrays.asList((Filter) filterOne)); scan.setFilter(filter); // Not working If addFamily is used it works scan.addFamily(family); scan.setFilter(filter); //Works -- This message was sent by Atlassian JIRA (v6.1#6144)