You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2006/03/24 23:07:22 UTC

[jira] Created: (HADOOP-103) introduce a common parent class for Mapper and Reducer

introduce a common parent class for Mapper and Reducer
------------------------------------------------------

         Key: HADOOP-103
         URL: http://issues.apache.org/jira/browse/HADOOP-103
     Project: Hadoop
        Type: Improvement
  Components: mapred  
    Versions: 0.1    
    Reporter: Owen O'Malley
 Assigned to: Owen O'Malley 
    Priority: Minor
     Fix For: 0.1


I'd like to a base class that implements the default (empty) bodies for configure and close so that Mapper and Reducer classes that derive from it, which is optional, don't have to implement those methods.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HADOOP-103) introduce a common parent class for Mapper and Reducer

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-103?page=all ]

Owen O'Malley updated HADOOP-103:
---------------------------------

    Attachment: user-task-2.patch

Here is a new patch that renames the base class to MapReduceBase.


> introduce a common parent class for Mapper and Reducer
> ------------------------------------------------------
>
>          Key: HADOOP-103
>          URL: http://issues.apache.org/jira/browse/HADOOP-103
>      Project: Hadoop
>         Type: Improvement
>   Components: mapred
>     Versions: 0.1
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>     Priority: Minor
>      Fix For: 0.1
>  Attachments: user-task-2.patch, user-task.patch
>
> I'd like to a base class that implements the default (empty) bodies for configure and close so that Mapper and Reducer classes that derive from it, which is optional, don't have to implement those methods.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (HADOOP-103) introduce a common parent class for Mapper and Reducer

Posted by "Owen O'Malley (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-103?page=all ]

Owen O'Malley updated HADOOP-103:
---------------------------------

    Attachment: user-task.patch

This patch introduces a UserTask base class that will implement the trivial configure and close methods needed for Mapper and Reducer classes. It also modifies all of the examples and built-in map and reduce classes to use the new base class. (Note that this new base class is completely optional, user code does not need to change, but it removes a lot of null function bodies that would otherwise be needed.)

> introduce a common parent class for Mapper and Reducer
> ------------------------------------------------------
>
>          Key: HADOOP-103
>          URL: http://issues.apache.org/jira/browse/HADOOP-103
>      Project: Hadoop
>         Type: Improvement
>   Components: mapred
>     Versions: 0.1
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>     Priority: Minor
>      Fix For: 0.1
>  Attachments: user-task.patch
>
> I'd like to a base class that implements the default (empty) bodies for configure and close so that Mapper and Reducer classes that derive from it, which is optional, don't have to implement those methods.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (HADOOP-103) introduce a common parent class for Mapper and Reducer

Posted by "Doug Cutting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/HADOOP-103?page=all ]
     
Doug Cutting resolved HADOOP-103:
---------------------------------

    Resolution: Fixed

I just committed this.  Thanks, Owen!

> introduce a common parent class for Mapper and Reducer
> ------------------------------------------------------
>
>          Key: HADOOP-103
>          URL: http://issues.apache.org/jira/browse/HADOOP-103
>      Project: Hadoop
>         Type: Improvement
>   Components: mapred
>     Versions: 0.1
>     Reporter: Owen O'Malley
>     Assignee: Owen O'Malley
>     Priority: Minor
>      Fix For: 0.1
>  Attachments: user-task-2.patch, user-task.patch
>
> I'd like to a base class that implements the default (empty) bodies for configure and close so that Mapper and Reducer classes that derive from it, which is optional, don't have to implement those methods.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira