init(conf, schema);
}
private void init(Configuration conf, Schema schema) throws IOException {
HadoopSerialization hadoopSer = new HadoopSerialization(conf);
this.ser = new SimpleTupleSerializer(schema, hadoopSer, conf);
this.outputBuffer = new DataOutputBuffer();
ser.open(outputBuffer);
}