hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harsh J <qwertyman...@gmail.com>
Subject Re: JobClient equivalent in new mapreduce api
Date Sun, 09 Jan 2011 04:05:23 GMT
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

View raw message