Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-10465

Fix use of generics within SortedMapWritable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha1
    • None
    • None
    • Incompatible change, Reviewed
    • SortedMapWritable has changed to SortedMapWritable<K extends WritableComparable<? super K>>. That way user can declare the class by such as SortedMapWritable<Text>.

    Description

      SortedMapWritable could use Generics the right way so that there is no warning within the implementation and more important for the consumer.

      Attachments

        1. HADOOP-10465-4.patch
          12 kB
          Bertrand Dechoux
        2. HADOOP-10465-3.patch
          11 kB
          Bertrand Dechoux

        Issue Links

          Activity

            People

              bdechoux Bertrand Dechoux
              bdechoux Bertrand Dechoux
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: