-Re: How do I get a JobStatus object?
madhu phatak 2011-02-17, 06:34
Rather than running jobs by wait for completion you can use jobcontrol to
control the jobs . JobControl give access to the what all jobs are completed
,running and failed etc
On Thu, Feb 17, 2011 at 12:09 AM, Aaron Baff <[EMAIL PROTECTED]>wrote:
> I'm submitting jobs via JobClient.submitJob(JobConf), and then waiting
> until it completes with RunningJob.waitForCompletion(). I then want to get
> how long the entire MR takes, which appears to need the JobStatus since
> RunningJob doesn't provide anything I can use for that. The only way I can
> see how to do it right now is JobClient.getAllJobs(), which gives me an
> array of all the jobs that are submitted (currently running? all previous?).
> Anyone know how I could go about doing this?