While executing Hadoop streaming program, I am getting an error saying Type mismatch in key from Map.
java.lang.Exception: java.io.IOException: Type mismatch in key from map: expected org.apache.hadoop.io.Text, recieved org.apache.hadoop.io.LongWritable
Can anyone explain me what the is error is trying to say and how can I resolve it?