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/30 18:03:15 UTC

[jira] Updated: (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 ]

Doğacan Güney updated HBASE-1725:
---------------------------------

    Attachment: mapred.patch

Simple patch that relaxes to WritableComparable<? super K>.

Sorry this is a git patch.

> 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
>         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.