Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3114F107C3 for ; Thu, 25 Jul 2013 20:54:41 +0000 (UTC) Received: (qmail 8852 invoked by uid 500); 25 Jul 2013 20:54:39 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 8744 invoked by uid 500); 25 Jul 2013 20:54:38 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 8736 invoked by uid 99); 25 Jul 2013 20:54:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 20:54:38 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of premal.j.shah@gmail.com designates 209.85.128.174 as permitted sender) Received: from [209.85.128.174] (HELO mail-ve0-f174.google.com) (209.85.128.174) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Jul 2013 20:54:33 +0000 Received: by mail-ve0-f174.google.com with SMTP id cy12so790732veb.19 for ; Thu, 25 Jul 2013 13:54:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=FlvGX5z1+8uegdlTamlcRQCJ2vWpt9s7yuyTEZhFU/E=; b=YOJh+U+NoCIdL4CqSt0oFbJtwUhMzoxOk8CRDmonHRyB4JmaxiIvtG5wYycMZxMdbv PRNWgQRdSPCYlBa+JO21rsLlCWZjohEWheEacUuc17WD0ocXASuNxkvw3R+aIQ7jSYlc k++dcLcURndca5PSoDlWK8KdKZvsEN6hTJBLSncD4fF/QP9FZG8PUUNXdrRoeDm+Byg2 RLWDQpSs0gDD70kEP/Fa2w1UVdTMiB1aAfGSXGLM4A8smPhWoP/Ikw/29L+RvMktwoMH eNKimSiAPSe1DUuegCzas+D68IqrIf/9xr1mQm43To1jhOGirFxA7Gu1RwzI6O2CehKx YH+g== MIME-Version: 1.0 X-Received: by 10.52.177.6 with SMTP id cm6mr15860850vdc.0.1374785652259; Thu, 25 Jul 2013 13:54:12 -0700 (PDT) Received: by 10.220.147.12 with HTTP; Thu, 25 Jul 2013 13:54:12 -0700 (PDT) In-Reply-To: References: Date: Thu, 25 Jul 2013 13:54:12 -0700 Message-ID: Subject: Re: FuzzyRowFilter with ColumnRangeFilter From: Premal Shah To: user Content-Type: multipart/alternative; boundary=20cf3071cc1a7208e304e25c3a8f X-Virus-Checked: Checked by ClamAV on apache.org --20cf3071cc1a7208e304e25c3a8f Content-Type: text/plain; charset=ISO-8859-1 Hi Ted, I'm using 0.94.6. I'll setup a unix test. On Thu, Jul 25, 2013 at 1:50 AM, Ted Yu wrote: > What HBase release are you using ? > > Can you put the scenario below in a unit test ? > > Thanks > > On Jul 24, 2013, at 11:13 PM, Premal Shah wrote: > > > Hi, > > I was playing around with using FuzzyRowFilter for my use case which > looks > > like this > > > > rk - 18 bytes (2 bytes + 8 bytes + 8 bytes) > > bytes 2-9 are fuzzy > > the fuzzy mask looks like this (0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, > > 0, 0, 0 ,0) > > the start and stop key control the scan range > > > > Running a scanner with just the FuzzyRowFilter works fine. However, I > need > > to limit the columns returned. So I have a ColumnRangeFilter too. Both > the > > filters are wrapped in a FilterList > > > > The combination of both, returns no rows from hbase with MUST_PASS_ALL > set. > > Hbase seems to be aborting when the row does not match Fuzzy > > If MUST_PASS_ONE is set, then it returns the columns from the rows that > > don't pass Fuzzy. > > > > How do you go about using the FilterList with both filters and return the > > required rows only? > > > > -- > > Regards, > > Premal Shah. > -- Regards, Premal Shah. --20cf3071cc1a7208e304e25c3a8f--