hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lance Norskog <goks...@gmail.com>
Subject Re: migrating from 0.18 to 0.20
Date Thu, 16 Sep 2010 06:58:02 GMT
After this, if you add anything to the conf object, it does not get 
added to the job. This is a source of confusion.

Mark Kerzner wrote:
> Thanks!
> Mark
>
> On Wed, Sep 15, 2010 at 3:40 AM, Sanel Zukan<sanelz@gmail.com>  wrote:
>
>    
>> 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