hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From madhu phatak <phatak....@gmail.com>
Subject Re: How do I get a JobStatus object?
Date Thu, 17 Feb 2011 06:34:52 GMT
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 <Aaron.Baff@telescope.tv>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?
> --Aaron

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message