Resolved: (HADOOP-403) close method in a Mapper should be provided with OutputCollector and a Reporter

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Resolved: (HADOOP-403) close method in a Mapper should be provided with OutputCollector and a Reporter

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/HADOOP-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milind Bhandarkar resolved HADOOP-403.
--------------------------------------

    Resolution: Won't Fix
      Assignee:     (was: Milind Bhandarkar)

The upcoming task context eliminates the need for this.

> close method in a Mapper should be provided with OutputCollector and a Reporter
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-403
>                 URL: https://issues.apache.org/jira/browse/HADOOP-403
>             Project: Hadoop
>          Issue Type: Improvement
>          Components: mapred
>    Affects Versions: 0.5.0
>         Environment: all
>            Reporter: Milind Bhandarkar
>
> 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 ?

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.