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

hadoop should provide a common way to wrap instances with different types into one type

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0
    • Component/s: io
    • Labels:
      None
    • Environment:

      All environment

      Description

      When two sequence files, which have same Key type but different Value types, are mapped out to reduce, multiple Value types is not allowed. In this case, we need a way to wrap instances with different types into one class type to reduce.

      In current code, ObjectWritable is a sole choice. but it costs too many space, because the class declaration will be appended into output file as a string for every Key-value pair.

        Attachments

        1. HADOOP-689.patch
          4 kB
          Feng Jiang
        2. HADOOP-689.patch.new
          4 kB
          Feng Jiang

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fjiang Feng Jiang
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: