File inputFile,
Path input) throws IOException {
FileSystem hdfs = FileSystem.get(config);
OutputStream os = hdfs.create(input);
LzopCodec codec = new LzopCodec();
codec.setConf(config);
OutputStream lzopOutputStream = codec.createOutputStream(os);
ProtobufBlockWriter<Stock> writer =
new ProtobufBlockWriter<Stock>(
lzopOutputStream, Stock.class);