问题: Type mismatch in key from map: expected org.apache.hadoop.io.Text, recieved org.apache.hadoop.io.LongWritable 解决方案

在Job中添加相应的输入类型,例如:

job.setMapOutputKeyClass(Text.class);
job.setMapOutputValueClass(IntWritable.class);
原文地址:https://www.cnblogs.com/booth/p/3274684.html