hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jignesh Patel <jign...@websoft.com>
Subject Re: updated example
Date Tue, 11 Oct 2011 17:16:59 GMT
Thea means old API is not integrated in 0.20.204.0??

When do you expect the release of 0.20.205?

-Jignesh
On Oct 11, 2011, at 12:32 PM, Tom White wrote:

> JobConf and the old API are no longer deprecated in the forthcoming
> 0.20.205 release, so you can continue to use it without issue.
> 
> The equivalent in the new API is setInputFormatClass() on
> org.apache.hadoop.mapreduce.Job.
> 
> Cheers,
> Tom
> 
> On Tue, Oct 11, 2011 at 9:18 AM, Keith Thompson <kthomps6@binghamton.edu> wrote:
>> I see that the JobConf class used in the WordCount tutorial is deprecated
>> for the Configuration class.  I am wanting to change the file input format
>> (to the StreamInputFormat for XML as in Hadoop: The Definitive Guide pp.
>> 212-213) but I don't see a setInputFormat method in the Configuration class
>> as there was in the JobConf class.  Is there an updated example using the
>> non-deprecated classes and methods?  I have searched but not found one.
>> 
>> Regards,
>> Keith
>> 


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