Text.class, Text.class, CompressionType.NONE, (CompressionCodec) null);
holder = new SequenceFileWriterHolder<SequenceFile.Writer>(writer, p);
}
else {
Class<?> clazz = ClassUtils.resolveClassName(codecInfo.getCodecClass(), getClass().getClassLoader());
CompressionCodec compressionCodec = (CompressionCodec) ReflectionUtils.newInstance(clazz,
getConfiguration());
writer = SequenceFile.createWriter(fs,
getConfiguration(), getResolvedPath(),
Text.class, Text.class, CompressionType.RECORD, compressionCodec);
holder = new SequenceFileWriterHolder<SequenceFile.Writer>(writer, p);