Hi,
I'm a .NET programmer doing some Hadoop work in Java and I'm kind of lost here. In Hadoop I am trying to setup a Map-Reduce job where the output key of the Map job is of the type Tuple<IntWritable,Text>
. When I set the output key using setOutputKeyclass as follows
JobConf conf2 = new JobConf(OutputCounter.class);
conf2.setOutputKeyClass(Tuple<IntWritable,Text>.class);
I get a whole bunch of errors because generics and the ".class" notation don't seem to fly. The following works fine though
JobConf conf2 = new JobConf(OutputCounter.class);
conf2.setOutputKeyClass(IntWritable.class);
Anyone have any pointers on how to set the output key class?
Cheers, Jurgen