Return-Path: Delivered-To: apmail-lucene-hadoop-dev-archive@locus.apache.org Received: (qmail 86024 invoked from network); 28 Aug 2007 16:13:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Aug 2007 16:13:53 -0000 Received: (qmail 8401 invoked by uid 500); 28 Aug 2007 16:13:48 -0000 Delivered-To: apmail-lucene-hadoop-dev-archive@lucene.apache.org Received: (qmail 8153 invoked by uid 500); 28 Aug 2007 16:13:47 -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 8144 invoked by uid 99); 28 Aug 2007 16:13:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Aug 2007 09:13:47 -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; Tue, 28 Aug 2007 16:13:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 53D8C714208 for ; Tue, 28 Aug 2007 09:13:31 -0700 (PDT) Message-ID: <16828571.1188317611341.JavaMail.jira@brutus> Date: Tue, 28 Aug 2007 09:13:31 -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.take5.patch Fix javadoc warnings > [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.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.