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 4D1C64D2B for ; Wed, 11 May 2011 17:05:40 +0000 (UTC) Received: (qmail 79779 invoked by uid 500); 11 May 2011 17:05:39 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 79749 invoked by uid 500); 11 May 2011 17:05:39 -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 79741 invoked by uid 99); 11 May 2011 17:05:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 17:05:39 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of saint.ack@gmail.com designates 209.85.216.41 as permitted sender) Received: from [209.85.216.41] (HELO mail-qw0-f41.google.com) (209.85.216.41) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 May 2011 17:05:33 +0000 Received: by qwa26 with SMTP id 26so550274qwa.14 for ; Wed, 11 May 2011 10:05:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PZ0NU9m2IGbiClPa3t/chJpXcWnbBsQM8bATBNEL1eA=; b=xaiFueH8ikBT6GcMr8/rgP34egEcbSm2JjGlF774a/JW8DbzLM1wNn1LUek1pyyITD Msf3VuO8lgLYWFbxbd4oLHaTY1jZ0MIF67xUMhZ1RaYPDSNQjTRxr1Q66fttxUWMAHED TUS7DONS4+G1pSi7WeNDNEPtkamWKM8xBcwL0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=WvD7AfFS9zeuiOOWMC6PxGNSuIBxY5CDedbvBqc4jCRXNQJaU4Cr5USOYIxxNpS1dG fM6LmLpKFlfJB1/M9iEWI5/ABhq8q0DHpq6WQKh/YLP6FMUvMpmoCQt3JTvVmhe0/v0d cEqlAmni75hyyLJo6lc8a1qIeRXKJo34PEeZI= MIME-Version: 1.0 Received: by 10.224.218.194 with SMTP id hr2mr8119851qab.65.1305133513034; Wed, 11 May 2011 10:05:13 -0700 (PDT) Sender: saint.ack@gmail.com Received: by 10.224.29.6 with HTTP; Wed, 11 May 2011 10:05:12 -0700 (PDT) In-Reply-To: <4DCA5175.6050101@1and1.ro> References: <27014.55362.qm@web59301.mail.re1.yahoo.com> <4DCA5175.6050101@1and1.ro> Date: Wed, 11 May 2011 10:05:12 -0700 X-Google-Sender-Auth: XTXtc14ef7v16nhMYvVmPBCpZAo Message-ID: Subject: Re: HBase filtered scan problem From: Stack To: user@hbase.apache.org Cc: Stefan Comanita Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, May 11, 2011 at 2:05 AM, Iulia Zidaru wrote= : > =A0Hi, > I'll try to rephrase the problem... > We have a table where we add an empty value.(The same thing happen also i= f > we have a value). > Afterward we put a value inside.(Same put, just other value). When scanni= ng > for empty values (first values inserted), the result is wrong because the > filter gets called for both values (the empty which maches and the not em= pty > which doesn't match). The table has only one version. It looks like the h= eap > object in StoreScanner has both objects. Do you have any idea if this is = a > normal behavior and if we can avoid this somehow? > Both entries exist in the hbase server, yes. The coordinates for both are the same? If exactly the same row/cf/qualifier/timestamp then its going to be hard to distingush between the two entries. The filter is probably not smart enough to take insertion order into account. St.Ack