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


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.

Reply via email to