@Override
public void initialize(InputSplit isplit, TaskAttemptContext tac) throws IOException, InterruptedException {
// TODO Auto-generated method stub
fsplit = (FileSplit) isplit;
params = new AvroColumnReader.Params(
new HadoopInput(fsplit.getPath(), tac.getConfiguration()));
Schema inputSchema = getInputAvroSchema();
System.err.printf("initializing RecordReader with schema %s\n", inputSchema);
params.setSchema(inputSchema);
reader = new AvroColumnReader<GenericData.Record>(params);
rows = reader.getRowCount();