hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Kerzner <markkerz...@gmail.com>
Subject Re: How to run a job?
Date Fri, 17 Sep 2010 04:57:44 GMT
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 <markkerzner@gmail.com>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
>

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