I have a Mapper whose Input/Output parameters are:
(LongWritable, Text, WordPair, IntWritable)
and the reducer with Input/Output Parameters are:
(WordPair, IntWritable, WordPair, DoubleWritable)
I have set the JobConf as:
conf.setOutputKeyClass(WordPair.class);
conf.setOutputValueClass(DoubleWritable.class);
conf.setMapOutputValueClass(IntWritable.class);
conf.setOutputFormat(TextOutputFormat.class);
But I am getting error that:
-Java IOException DoubleWritable is not a class
-Map Job Failed
Also the job is failing before going to reducer phase. Is this part of my configuration correct? I believe I am doing some mismatch over here with the parameters.
Do I need to provide more Information? I am doing relative frequency problem in which I need to output from reducer values of type Double & I am using Old Api's.