You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Doğacan Güney (JIRA)" <ji...@apache.org> on 2009/07/10 23:29:14 UTC
[jira] Updated: (HBASE-1644) Result.row is cached in getRow; this
breaks MapReduce
[ https://issues.apache.org/jira/browse/HBASE-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doğacan Güney updated HBASE-1644:
---------------------------------
Attachment: rownull.patch
Patch for the problem.
Also TableInputFormatBase#nextKeyValue reads Result into a temporary result variable then copies it into value field. AFAICS, there is no point in doing that. So this patch also removes the local result variable.
> Result.row is cached in getRow; this breaks MapReduce
> -----------------------------------------------------
>
> Key: HBASE-1644
> URL: https://issues.apache.org/jira/browse/HBASE-1644
> Project: Hadoop HBase
> Issue Type: Bug
> Affects Versions: 0.20.0
> Reporter: Doğacan Güney
> Attachments: rownull.patch
>
>
> In Result#getRow row field is computed (if row is null) and then is cached for further uses. But since MapReduce uses the same Result instance through different map()/reduce() calls, row field is not updated when Result instance changes.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.