hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: task statistics
Date Mon, 06 Dec 2010 21:22:17 GMT
We use the following in our client:
        JobClient jobClient = new JobClient(jobConf);
        TaskReport[] mapTaskReports =
jobClient.getMapTaskReports(job.getID());
        if (mapTaskReports != null) {
            for (TaskReport tr : mapTaskReports) {
                TIPStatus tips = tr.getCurrentStatus();
                if (tips == TIPStatus.FAILED || tips == TIPStatus.KILLED) {

FYI

On Mon, Dec 6, 2010 at 9:17 AM, nitin reddy <chintu.nitin@gmail.com> wrote:

> Hi
>
> I  am new to hadoop, I am trying to get the statistics for a task
> tracker like  , the task tracker id, the number of tasks submitted to
> it , the number of tasks were successfully run,may be the run time of
> the task , is there any way where i can get these results.
>
>
> Thanks
> Nitin
>

Mime
View raw message