Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 7179 invoked from network); 12 Jul 2009 22:47:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jul 2009 22:47:29 -0000 Received: (qmail 89776 invoked by uid 500); 12 Jul 2009 22:47:39 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 89710 invoked by uid 500); 12 Jul 2009 22:47:38 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 89700 invoked by uid 99); 12 Jul 2009 22:47:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jul 2009 22:47:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jul 2009 22:47:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C6EC3234C004 for ; Sun, 12 Jul 2009 15:47:14 -0700 (PDT) Message-ID: <1845399407.1247438834797.JavaMail.jira@brutus> Date: Sun, 12 Jul 2009 15:47:14 -0700 (PDT) From: =?utf-8?Q?Do=C4=9Facan_G=C3=BCney_=28JIRA=29?= To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-1647) Filter#filterRow is called too often, filters rows it shouldn't have In-Reply-To: <957193459.1247313914795.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1647?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Do=C4=9Facan G=C3=BCney updated HBASE-1647: --------------------------------- Attachment: HBASE-1647-v2.patch v2 of patch. I think all reset()s should be moved into RegionScanner#next as well. Since= we merge different columns of the same row in RegionScanner, calling reset= anywhere else (especiall in ScanQueryMatcher, which is called from StoreSc= anner#next) seems like a bug. > Filter#filterRow is called too often, filters rows it shouldn't have > -------------------------------------------------------------------- > > Key: HBASE-1647 > URL: https://issues.apache.org/jira/browse/HBASE-1647 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.20.0 > Reporter: Do=C4=9Facan G=C3=BCney > Attachments: HBASE-1647-v2.patch, ScanBug.java, scanfilter.patch > > > Filter#filterRow is called from ScanQueryMatcher#filterEntireRow which is= called from StoreScanner.next. However, if I understood the code correctly= , StoreScanner processes KeyValue-s in a column-oriented order (i.e. after = row1-col1 comes row2-col1, not row1-col2). Thus, when filterEntireRow is ca= lled, in reality, the filter only processed (via filterKeyValue) only one c= olumn of a row. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.