运行MapReduce程序时打印到下面的一句就卡住不动了

INFO mapred.JobClient: map 100% reduce 0%

但是运行其他的程序都正确,最后发现是这一个MapReduce作业写错了。

Mapper<Text,Text,Text,Text>和map(Object key, Text value, Context context),key的类型写错了和前面的不一致,最后改成map(Text key, Text value, Context context)可以正常运行。