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

Fix use of generics within SortedMapWritable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-alpha1
    • Fix Version/s: 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: