it seems the 0.21 documentation is updated:
// Submit the job, then poll for progress until the job is complete
try {
job.waitForCompletion(true);
} catch (Exception e) {
e.printStackTrace(System.out);
}
}
On Thu, Sep 16, 2010 at 11:53 PM, Mark Kerzner <[email protected]>wrote:
> Hi,
>
> the
> documentation<http://hadoop.apache.org/common/docs/r0.20.0/api/org/apache/hadoop/mapred/JobClient.html#runJob(org.apache.hadoop.mapred.JobConf)>says
> I should do this:
>
> JobClient.*runJob*(JobConf<http://hadoop.apache.org/common/docs/r0.20.0/api/org/apache/hadoop/mapred/JobConf.html>
> job)
>
> but JobConf is itself deprecated.
>
> Thank you,
> Mark
>