map代码:
package com.traffic;
import java.io.IOException;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;
public class MyTrafficMapper extends Mapper<LongWritable,Text,Text,Text> {
String[] title=new String[44];
@Override
protected void map(LongWritable key, Text value, Context context) throws IOException, InterruptedException {
String[] line=value.toString().split(",");
//字节偏移量
if