Text.writeString(out, inputFormatClass.getName());
Text.writeString(out, inputSplit.getClass().getName());
SerializationFactory factory = new SerializationFactory(conf);
Serializer serializer = factory.getSerializer(inputSplit.getClass());
serializer.open((DataOutputStream) out);
serializer.serialize(inputSplit);
}
public Configuration getConf() {
return conf;
}