job tracker should keep a log of task completion and failure
------------------------------------------------------------

                 Key: HADOOP-801
                 URL: http://issues.apache.org/jira/browse/HADOOP-801
             Project: Hadoop
          Issue Type: Improvement
          Components: mapred
    Affects Versions: 0.9.1
            Reporter: Owen O'Malley
         Assigned To: Sanjay Dahiya
             Fix For: 0.10.0


The JobTracker should track a list of task completion events in JobInProgress.

So JobClientProtocol & InterTrackerProtocol should get a new method:

  TaskCompletionEvent[] getTaskCompletionEvents(String jobid, int fromEventId) 
throws IOException;

TaskCompletionEvent should have:
  int getEventId();
  String getTaskTrackerHttp();
  String getTaskId();
  static public enum Status {FAILED, SUCCEEDED};
  Status getTaskStatus();
}

The events will be stored in a List<TaskCompletionEvent> and the eventId is the 
position in the list.

These event logs will allow JobClient to display task output to the user as 
well as provide the start of the fix for HADOOP-248.

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

        

Reply via email to