public RecordOutputStream getOutputStream(FileSystem fs, Path path) throws IOException {
CompressionType type = TYPES.get(_typeArg);
CompressionCodec codec = CODECS.get(_codecArg);
if(type==null)
return new SequenceFileOutputStream(fs, path);
else
return new SequenceFileOutputStream(fs, path, type, codec);
}