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
On Tue, Oct 11, 2011 at 9:18 AM, Keith Thompson <[EMAIL PROTECTED]> 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.