[
https://issues.apache.org/jira/browse/HADOOP-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12523731
]
Hadoop QA commented on HADOOP-1785:
-----------------------------------
+1
http://issues.apache.org/jira/secure/attachment/12364779/TableInputFormat.take8.patch
applied and successfully tested against trunk revision r570937.
Test results:
http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/648/testReport/
Console output:
http://lucene.zones.apache.org:8080/hudson/job/Hadoop-Patch/648/console
> [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.take7.patch, TableInputFormat.take8.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.