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

Allow other implementation's of java.util.Map in MapWritable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.0-alpha
    • None
    • io
    • None

    Description

      Current implementation of MapWritable uses HashMap as Map implementation. But in some of the use cases we need other implementations of Map like LinkedHashMap,SortedMap.This jira changes visibility of 'instance' in MapWritable from private to protected which allows us to inject custom Map implementation through sub classing MapWritable .

      Attachments

        1. HADOOP-8549.patch
          2 kB
          madhukara phatak

        Activity

          People

            phatak.dev madhukara phatak
            phatak.dev madhukara phatak
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: