Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 70913 invoked from network); 29 Aug 2007 00:09:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Aug 2007 00:09:55 -0000 Received: (qmail 99474 invoked by uid 500); 29 Aug 2007 00:09:49 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 99436 invoked by uid 500); 29 Aug 2007 00:09:49 -0000 Mailing-List: contact hadoop-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hadoop-dev@lucene.apache.org Delivered-To: mailing list hadoop-dev@lucene.apache.org Received: (qmail 99427 invoked by uid 99); 29 Aug 2007 00:09:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 17:09:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Aug 2007 00:10:47 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8B4F571403E for ; Tue, 28 Aug 2007 17:09:30 -0700 (PDT) Message-ID: <25082877.1188346170549.JavaMail.jira@brutus> Date: Tue, 28 Aug 2007 17:09:30 -0700 (PDT) From: "stack (JIRA)" To: hadoop-dev@lucene.apache.org Subject: [jira] Updated: (HADOOP-1785) [HBase] TableInputFormat.TableRecordReader.next has a bug In-Reply-To: <8417332.1188158730814.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HADOOP-1785: -------------------------- Attachment: TableInputFormat.take6.patch Patch failed to apply because of HADOOP-1797 commit. Here's a fixed take6. > [HBase] TableInputFormat.TableRecordReader.next has a bug > --------------------------------------------------------- > > Key: HADOOP-1785 > URL: https://issues.apache.org/jira/browse/HADOOP-1785 > Project: Hadoop > Issue Type: Bug > Components: contrib/hbase > Reporter: Ning Li > Assignee: stack > Priority: Minor > Fix For: 0.15.0 > > Attachments: TableInputFormat.patch, TableInputFormat.take2.patch, TableInputFormat.take3.patch, TableInputFormat.take4.patch, TableInputFormat.take5.patch, TableInputFormat.take6.patch > > > TableInputFormat.TableRecordReader.next has the following: > if (m_endRow.getLength() > 0 && (tKey.getRow().compareTo(m_endRow) < 0)) > hasMore = false; > It should be: > if (m_endRow.getLength() > 0 && (tKey.getRow().compareTo(m_endRow) >= 0)) > hasMore = false; > TestTableMapReduce test passes because it tested map-reduce on a single-region table. > The problem only shows on a multi-region table. The patch includes changes to TestTableMapReduce > so map-reduce is tested on a multi-region table as well. The multi-region table is created > in a similar way as done in TestSplit. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.