private HadoopJobMapper mapper;
private Configuration conf;
public MockMapTask(InputSplit split, Configuration conf) throws IOException, InterruptedException
{
this.mapper = new HadoopJobMapper();
this.conf = conf;
this.split = (KafkaInputSplit) split;
info = this.split.getTopic() + "/" + this.split.getBrokerHost() +":" + this.split.getPartition();
realRecordReader = new KafkaInputRecordReader();
realRecordReader.initialize(split, conf);