Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 2581 invoked from network); 17 Jun 2008 20:53:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Jun 2008 20:53:41 -0000 Received: (qmail 40985 invoked by uid 500); 17 Jun 2008 20:53:39 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 40970 invoked by uid 500); 17 Jun 2008 20:53: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 40953 invoked by uid 99); 17 Jun 2008 20:53:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2008 13:53:38 -0700 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; Tue, 17 Jun 2008 20:52:56 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 1E38F234C149 for ; Tue, 17 Jun 2008 13:52:45 -0700 (PDT) Message-ID: <450513004.1213735965122.JavaMail.jira@brutus> Date: Tue, 17 Jun 2008 13:52:45 -0700 (PDT) From: "Jim Kellerman (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Resolved: (HBASE-686) MemcacheScanner didn't return the first row(if it exists), cause HScannerInterface's output incorrect In-Reply-To: <1277787423.1213431225067.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/HBASE-686?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jim Kellerman resolved HBASE-686. --------------------------------- Resolution: Fixed Committed to both 0.1 branch and trunk. > MemcacheScanner didn't return the first row(if it exists), cause HScannerInterface's output incorrect > ----------------------------------------------------------------------------------------------------- > > Key: HBASE-686 > URL: https://issues.apache.org/jira/browse/HBASE-686 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.1.2, 0.2.0 > Reporter: LN > Assignee: Jim Kellerman > Fix For: 0.1.3, 0.2.0 > > Attachments: HBASE-686.patch, HBASE_686.java, HBASE_686.java, scanner-test-for.ver.0.2.0.dev.jar.jar, TestHMemcache.java > > > HTable.obtainScanner methods should return the start row if it exists, although HTable's javadoc didn't clearly desc. but i found the result of htable scanners sometimes contain the start row, sometimes not. > after more testing and code review, i found it should be a bug in HStore.Memcache.MemcacheScanner. in the constructor it set this.currentRow = firstRow, but when doing next(), there's a this.currentRow = getNextRow(this.currentRow) before fetch result. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.