It gives both running and completed jobs. You can iterate over them and look at 
the state to see if it is completed or not.

On 11/12/10 12:28 PM, "Jaydeep Ayachit" <jaydeep_ayac...@persistent.co.in> 
wrote:

The JobClient provides getAllJobs() that returns only running jobs.
How do I get completed jobs?

Regards
Jaydeep

-----Original Message-----
From: Amareshwari Sri Ramadasu [mailto:amar...@yahoo-inc.com]
Sent: Friday, November 12, 2010 12:01 PM
To: common-user@hadoop.apache.org
Subject: Re: JobTracker API

You should use api from 
org.apache.hadoop.mapreduce.Cluster/org.apache.hadoop/mapreduce.Job in branch 
0.21 and later, or api from org.apache.hadoop.mapred.JobClient in branch 0.20.

On 11/12/10 11:54 AM, "Jaydeep Ayachit" <jaydeep_ayac...@persistent.co.in> 
wrote:

The JobTracker API to get completed jobs completedJobs() returns vector of 
org.apache.hadoop.mapred.JobInProgress
This class is only visible in package. I need to develop separate application 
to track the job status. Any pointers on using this would be helpful.

Thanks,

Regards
Jaydeep


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.


DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.

Reply via email to