[ 
https://issues.apache.org/jira/browse/HADOOP-3261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590537#action_12590537
 ] 

Doug Cutting commented on HADOOP-3261:
--------------------------------------

What applications would benefit from this?

Also, wouldn't we want to implement this for partitioners, inputformats, 
outputformats, comparators, etc. too?

> Allow Mapper and Reducer classes to be created a Spring Beans
> -------------------------------------------------------------
>
>                 Key: HADOOP-3261
>                 URL: https://issues.apache.org/jira/browse/HADOOP-3261
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: mapred
>         Environment: All
>            Reporter: Dennis Kubes
>            Assignee: Dennis Kubes
>         Attachments: HADOOP-3261-1-20080415.patch, spring.jar
>
>
> This improvement abstracts the creation of Mappers and Reducers  in factory 
> classes and adds the ability to define a spring beans.xml file in the 
> classpath and have the Mapper and Reducer classes be created as spring beans. 
>  This is transparent to the rest of Hadoop but the benefit is that is allows 
> Mapper and Reducer classes to have their dependencies injected versus having 
> them hardcoded.  This will help in the ability to test various mapreduce jobs.

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

Reply via email to