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

Amareshwari Sriramadasu updated HADOOP-4122:
--------------------------------------------

      Description: 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.  (was: There is a lot of common code for 
MapAttempt, ReduceAttempt, CleanupAttempt (added in HADOOP-4112). 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.)
         Priority: Blocker  (was: Minor)
    Fix Version/s: 0.19.0
         Assignee: Amareshwari Sriramadasu

> Duplicate code in JobHistory TaskAttempt's can be collapsed into super class. 
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-4122
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4122
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: mapred
>            Reporter: Amareshwari Sriramadasu
>            Assignee: Amareshwari Sriramadasu
>            Priority: Blocker
>             Fix For: 0.19.0
>
>
> 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.

Reply via email to