hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanel Zukan <san...@gmail.com>
Subject Re: migrating from 0.18 to 0.20
Date Wed, 15 Sep 2010 08:40:09 GMT
Configuration conf = new Configuration();
FileInputFormat.setInputPaths(conf, new Path(args[0]));
Job job = new Job(conf);

On Wed, Sep 15, 2010 at 6:48 AM, Mark Kerzner <markkerzner@gmail.com> wrote:
> Hi,
>
> in 0.18, it used to be
>
> main()....
>
>        JobConf conf = new JobConf(MyMR.class);
>        FileInputFormat.setInputPaths(conf, new Path(args[0]));
>
> but now these are all deprecated, what do I use instead?
>
> Thank you,
> Mark
>

Mime
View raw message