public CompressionOutputStream createPlainCompressionStream(OutputStream downStream,
      Compressor compressor) throws IOException {
      CompressionCodec codec = getCodec(conf);
      ((Configurable) codec).getConf().setInt("io.file.buffer.size", 32 * 1024);
      return codec.createOutputStream(downStream, compressor);
    }
Creates a compression stream without any additional wrapping into buffering streams.
hbase-common/src/main/java/org/apache/hadoop/hbase/io/compress/Compression.java