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

close method in a Mapper should be provided with OutputCollector and a Reporter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 0.5.0
    • None
    • None
    • None
    • all

    Description

      For mappers with side-effects, or mappers that work as aggregators (i.e. no output on individual key-value pairs, but an aggregate output at the end of all key-value pairs), output should be performed in the close method. For this purpose, we need to supply output collector and reporter to the close method of Mapper. This involves interface change, though. Thoughts ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            milindb Milind Barve
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: