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
            Priority: Minor


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.

-- 
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