hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Owen O'Malley" <omal...@apache.org>
Subject Re: custom Configuration values
Date Fri, 11 Jun 2010 14:43:43 GMT
On Fri, Jun 11, 2010 at 5:05 AM, Torsten Curdt <tcurdt@apache.org> wrote:
> I am setting some custom values on my job configuration:
>
>                Configuration conf = new Configuration();
>
>                conf.set("job.time.from", time_from);
>                conf.set("job.time.until", time_until);
>
>                Cluster cluster = new Cluster(conf);

Do:

Job job = new Job(conf);

and it will work.

-- Owen

Mime
View raw message