[ https://issues.apache.org/jira/browse/HBASE-4196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084482#comment-13084482 ]
Ted Yu commented on HBASE-4196: ------------------------------- +1 on patch version 2. Minor comment on formatting: indentation should increase for this.scanner.next(): {code} + restart(lastSuccessfulRow); this.scanner.next(); // skip presumed already mapped row + } {code} > 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, 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