hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sarthak Dudhara <sarthak...@gmail.com>
Subject Re: JobClient equivalent in new mapreduce api
Date Sun, 09 Jan 2011 17:27:27 GMT
Hi Harsh,
Thanks for the reply...
I am currently using the job.submit(). Is there a way to track the job
status with that using the API? I thought JobClient used to provide that.

What can I use from my application to query the state of the jobs that were
submitted using the job.submit()?

I found the ClusterStatus class in 0.20.2 but not Cluster which is in 0.21.

The problem I am facing is that I used the new APIs in the mapreduce package
instead of the mapred package. I didnt know that it was incomplete. I guess
the old APIs should not be marked deprecated as it misguides users to not
use it.

Sarthak Dudhara

On Sat, Jan 8, 2011 at 8:05 PM, Harsh J <qwertymaniac@gmail.com> wrote:

> On Sun, Jan 9, 2011 at 3:29 AM, Sarthak Dudhara <sarthak.83@gmail.com>
> wrote:
> > Hi,
> >
> > I want to submit my mapreduce written with the new API specification as
> the
> > older ones are marked deprecated.
> To submit, just do Job.submit(); or Job.waitForCompletion(true) for a
> blocking submission.
> > I could not find a JobClient equivalent in the new API. Has anyone
> managed
> > to use a similar jobClient mechanism to track Map reduce jobs written
> with
> > the new API spec? Is there another way to submit jobs and monitor their
> > status in the new API?
> You're looking for the Cluster class.
> JobConf/JobClient -> Job/Cluster in Unstable API.
> --
> Harsh J
> www.harshj.com

View raw message