### Question:
SequenceFileAccessor extends HdfsSplittableDataAccessor { public CompressionCodec getCodec() { return codec; } SequenceFileAccessor();   SequenceFileAccessor(ConfigurationFactory configurationFactory); @Override boolean openForWrite(); @Override boolean writeNextObject(OneRow onerow); @Override void closeForWrite(); CompressionType getCompressionType(); CompressionCodec getCodec();  }### Answer:
@Test public void compressCodec() throws Exception { prepareTest("org.apache.hadoop.io.compress.BZip2Codec", null); assertEquals(".bz2", accessor.getCodec().getDefaultExtension()); }