public void map(LongWritable key, Text value,Context context)
LongWritable key :文件的行号
Text value:文件中每行的内容
Context context:hadoop上下文
public void map(Object key, Text value, OutputCollector<Text, Text> output, Reporter reporter)
如果设置读取文件的类是FileInputFormat,那么
Object key : 表示offset
Text value:文件中每行的内容
OutputCollector<Text, Text> output:map的输出,reduce的输入