[ 
https://issues.apache.org/jira/browse/HADOOP-801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462254
 ] 

Sanjay Dahiya commented on HADOOP-801:
--------------------------------------

This patch adds functionality to download task logs from respective 
tasktrackers in jobclient. Also it modifies tasklog.jsp to take an extra 
argument which produces plain text output for console display. Since the 
changes are in a few places so I have avoided adding a new jsp file for plain 
text output and added the checks in tasklog.jsp itself.

> job tracker should keep a log of task completion and failure
> ------------------------------------------------------------
>
>                 Key: HADOOP-801
>                 URL: https://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
>
>         Attachments: Hadoop-801.patch, Hadoop-801.patch
>
>
> 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: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to