hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <ha...@cloudera.com>
Subject Re: Observation of MapReduce Task execution
Date Sun, 17 Apr 2011 13:52:47 GMT
Its available in the API as well:
http://hadoop.apache.org/common/docs/r0.20.2/api/org/apache/hadoop/mapred/TaskCompletionEvent.html#getTaskTrackerHttp()

On Sun, Apr 17, 2011 at 7:20 PM, Francesco De Luca <f.deluca86@gmail.com> wrote:
> Thank you Harsh.
> And there is a way to know on which node a task is submitted?
>
> 2011/4/17 Harsh J <harsh@cloudera.com>
>>
>> Hello,
>>
>> On Sun, Apr 17, 2011 at 3:48 PM, Francesco De Luca <f.deluca86@gmail.com>
>> wrote:
>> >
>> > Exists any notification mechanism to be notified of all task state
>> > changes
>> > (task failure,task completion ecc)?
>> >
>> > In particular i need to follow all the map and reduce task execution.
>>
>> You can loop over and request the TaskCompletionEvents from your
>> RunningJob instance:
>>
>> http://hadoop.apache.org/common/docs/r0.20.2/api/org/apache/hadoop/mapred/RunningJob.html#getTaskCompletionEvents(int)
>>
>> --
>> Harsh J
>
>



-- 
Harsh J

Mime
View raw message