Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@minotaur.apache.org Received: (qmail 97164 invoked from network); 18 Jun 2009 06:19:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Jun 2009 06:19:19 -0000 Received: (qmail 40709 invoked by uid 500); 18 Jun 2009 06:19:29 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 40645 invoked by uid 500); 18 Jun 2009 06:19:29 -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 40628 invoked by uid 99); 18 Jun 2009 06:19:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2009 06:19:29 +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; Thu, 18 Jun 2009 06:19:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5E54C234C044 for ; Wed, 17 Jun 2009 23:19:07 -0700 (PDT) Message-ID: <1106171850.1245305947372.JavaMail.jira@brutus> Date: Wed, 17 Jun 2009 23:19:07 -0700 (PDT) From: "ryan rawson (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Assigned: (HBASE-1541) Scanning multiple column families in the presence of deleted families results in bad scans In-Reply-To: <1671568892.1245305467344.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-1541?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] ryan rawson reassigned HBASE-1541: ---------------------------------- Assignee: ryan rawson > Scanning multiple column families in the presence of deleted families results in bad scans > ------------------------------------------------------------------------------------------ > > Key: HBASE-1541 > URL: https://issues.apache.org/jira/browse/HBASE-1541 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.20.0 > Reporter: ryan rawson > Assignee: ryan rawson > Fix For: 0.20.0 > > > This unit test fails: > {noformat} > public void testScanner_DeleteOneFamilyNotAnother() throws IOException { > byte [] tableName = Bytes.toBytes("test_table"); > byte [] fam1 = Bytes.toBytes("columnA"); > byte [] fam2 = Bytes.toBytes("columnB"); > initHRegion(tableName, getName(), fam1, fam2); > byte [] rowA = Bytes.toBytes("rowA"); > byte [] rowB = Bytes.toBytes("rowB"); > byte [] value = Bytes.toBytes("value"); > Delete delete = new Delete(rowA); > delete.deleteFamily(fam1); > region.delete(delete, null, true); > // now create data. > Put put = new Put(rowA); > put.add(fam2, null, value); > region.put(put); > put = new Put(rowB); > put.add(fam1, null, value); > put.add(fam2, null, value); > region.put(put); > Scan scan = new Scan(); > scan.addFamily(fam1).addFamily(fam2); > InternalScanner s = region.getScanner(scan); > List results = new ArrayList(); > s.next(results); > assertTrue(Bytes.equals(rowA, results.get(0).getRow())); > results.clear(); > s.next(results); > assertTrue(Bytes.equals(rowB, results.get(0).getRow())); > } > {noformat} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.