Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-1725

Old TableMap interface's definitions are not generic enough

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.20.0
    • 0.20.0
    • None
    • None
    • Reviewed

    Description

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

      Attachments

        1. mapred.patch
          0.6 kB
          Dogacan Guney

        Activity

          People

            Unassigned Unassigned
            dogacan Dogacan Guney
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: