Fwd: Type mismatch in value from map: expected org.apache.hadoop.io.Text, recieved org.apache.hadoop.io.IntWritable

2009-09-07 Thread Harshit Kumar
I get this error on WordCount program, originally copied from the examples folder in Hadoop-0.19.2. I dont understand why I get this error. Everything is set right. Please see the code and give feedback. import java.io.IOException; import java.util.*; import org.apache.hadoop.fs.Path; import org

Please interpret the output -please help - going mad

2009-09-07 Thread Harshit Kumar
Hi I am going mad, pulling my hairs now, past 2 days, trying to figure out the output by this map-reduce program. Please help or you can find me in asylum. in the map function below, output.collect(Text,Duo) - Duo is a custom input format, map functions trasnfers "hello, duo("hello,hello")" key-va