You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2009/10/07 08:02:31 UTC

[jira] Resolved: (MAPREDUCE-244) Duplicate code in JobHistory TaskAttempt's can be collapsed into super class.

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

Amareshwari Sriramadasu resolved MAPREDUCE-244.
-----------------------------------------------

    Resolution: Invalid

JobHistory code is refactored by MAPREDUCE-157

> Duplicate code in JobHistory TaskAttempt's can be collapsed into super class. 
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-244
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-244
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>
> There is a lot of common code for MapAttempt, ReduceAttempt. All the duplicate code can be moved to TaskAttempt class. The methods logFailed() and logKilled() methods differ only in one string. They can be collapased into a single method.

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