You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2009/08/02 06:32:14 UTC

[jira] Resolved: (HBASE-1725) Old TableMap interface's definitions are not generic enough

     [ https://issues.apache.org/jira/browse/HBASE-1725?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-1725.
--------------------------

    Resolution: Fixed

Committed 0.20.0 branch and TRUNK.  Thanks for patch Doğacan.

> Old TableMap interface's definitions are not generic enough
> -----------------------------------------------------------
>
>                 Key: HBASE-1725
>                 URL: https://issues.apache.org/jira/browse/HBASE-1725
>             Project: Hadoop HBase
>          Issue Type: Improvement
>    Affects Versions: 0.20.0
>            Reporter: Doğacan Güney
>            Priority: Minor
>             Fix For: 0.20.0
>
>         Attachments: mapred.patch
>
>
> In old mapred package, TableMap is defined like this:
> public interface TableMap<K extends WritableComparable<K>, V extends Writable>
> I think the "WritableComparable<K>" part is new, because some of my old code does not compile with hbase 0.20. Specifically, you can not output  a hadoop.io.Text from TableMap as Text implements WritableComparable<BinaryComparable> and not WritableComparable<Text>.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.