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

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: None
    • Component/s: io
    • Labels:
      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

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

              Dates

              • Created:
                Updated: