Is StreamInputFormat supported by Hadoop Job API?

janan76

New Member
I am trying to process xml files using Hadoop's StreamInputFormat. And I am using the newer API(Hadoop-0.20.205.0) for this.But, it seems Job doesn't support StreamInputFormat, as when I am trying to set the property through "job.setInputFormatClass(StreamInputFormat.class)", it is showing - \[code\]"The method setInputFormatClass(Class<? extends InputFormat>) in the type Job is not pplicable for the arguments (Class<StreamInputFormat>)"\[/code\]I have even downloaded "hadoop-streaming-0.20.205.0.jar" explicitly and imported the "org.apache.hadoop.streaming" package, still no luck.Any suggestions??
 
Back
Top