Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6822806B for ; Fri, 12 Aug 2011 22:09:51 +0000 (UTC) Received: (qmail 33356 invoked by uid 500); 12 Aug 2011 22:09:51 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 33298 invoked by uid 500); 12 Aug 2011 22:09:51 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 33290 invoked by uid 99); 12 Aug 2011 22:09:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 22:09:50 +0000 X-ASF-Spam-Status: No, hits=-2000.8 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Aug 2011 22:09:48 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 69E54B91ED for ; Fri, 12 Aug 2011 22:09:27 +0000 (UTC) Date: Fri, 12 Aug 2011 22:09:27 +0000 (UTC) From: "Ming Ma (JIRA)" To: issues@hbase.apache.org Message-ID: <1168425665.34800.1313186967430.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <187576217.32786.1313142867858.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-4196) TableRecordReader may skip first row of region 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-4196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ming Ma updated HBASE-4196: --------------------------- Attachment: HBASE-4196-trunk.patch Here is the fix. > TableRecordReader may skip first row of region > ---------------------------------------------- > > Key: HBASE-4196 > URL: https://issues.apache.org/jira/browse/HBASE-4196 > Project: HBase > Issue Type: Bug > Components: mapreduce > Affects Versions: 0.90.4 > Reporter: Jan Lukavsky > Assignee: Ming Ma > Attachments: HBASE-4196-trunk.patch > > > After the following scenario, the first record of region is skipped, without being sent to Mapper: > - the reader is initialized with TableRecordReader.init() > - then nextKeyValue is called, causing call to scanner.next() - here ScannerTimeoutException occurs > - the scanner is restarted by call to restart() and then *two* calls to scanner.next() occur, causing we have lost the first row -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira